nixpkgs/pkgs/desktops/lxqt/qps/default.nix
2020-04-29 16:12:26 -03:00

44 lines
802 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtx11extras
, qttools
, lxqt-build-tools
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "qps";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "03rl59yk3b24j0y0k8dpdpb3yi4f1l642zn5pp5br3s2vwx1vzkg";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
qtx11extras
qttools
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
description = "Qt based process manager";
homepage = "https://github.com/lxqt/qps";
license = licenses.gpl2;
platforms = with platforms; linux; # does not build on darwin
maintainers = with maintainers; [ romildo ];
};
}