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