nixpkgs/pkgs/desktops/lxqt/qps/default.nix
2021-11-05 14:35:02 -03:00

50 lines
886 B
Nix

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