nixpkgs/pkgs/desktops/lxqt/screengrab/default.nix

39 lines
905 B
Nix
Raw Normal View History

2019-02-06 00:14:54 +01:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }:
stdenv.mkDerivation rec {
2019-02-06 00:14:54 +01:00
pname = "screengrab";
version = "1.100";
2017-11-02 03:09:14 +01:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-06 00:14:54 +01:00
repo = pname;
rev = version;
2019-02-06 00:14:54 +01:00
sha256 = "1iqrmf581x9ab6zzjxm2509gg6fkn7hwril4v0aki7n7dgxw1c4g";
};
2019-02-06 00:14:54 +01:00
nativeBuildInputs = [
cmake
pkgconfig
autoPatchelfHook # fix libuploader.so and libextedit.so not found
];
buildInputs = [
2017-02-25 16:44:29 +01:00
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
libqtxdg
xorg.libpthreadstubs
xorg.libXdmcp
];
meta = with stdenv.lib; {
description = "Crossplatform tool for fast making screenshots";
homepage = https://github.com/lxqt/screengrab;
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}