2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, kwindowsystem
|
|
|
|
, liblxqt
|
|
|
|
, libqtxdg
|
|
|
|
, lxqt-build-tools
|
|
|
|
, lxqtUpdateScript
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qps";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "0jg7sfhdm5xsahzcw8hc2vpp5p3sqzdqwp4my65nj85i7wzgxmva";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [
|
|
|
|
kwindowsystem
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Qt based process manager";
|
|
|
|
homepage = "https://github.com/lxqt/qps";
|
|
|
|
license = licenses.gpl2;
|
2020-05-03 17:38:23 +00:00
|
|
|
platforms = with platforms; linux; # does not build on darwin
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|