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