mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
55 lines
909 B
Nix
55 lines
909 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, kwindowsystem
|
|
, liblxqt
|
|
, libqtxdg
|
|
, lxqt-build-tools
|
|
, qtbase
|
|
, qtsvg
|
|
, qttools
|
|
, qtwayland
|
|
, wrapQtAppsHook
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qps";
|
|
version = "2.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-Jit1CdFZyhKOjNytTBH9T4NqqmhxoifXGgPUyVdzJ+4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
kwindowsystem
|
|
liblxqt
|
|
libqtxdg
|
|
qtbase
|
|
qtsvg
|
|
qtwayland
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/qps";
|
|
description = "Qt based process manager";
|
|
mainProgram = "qps";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; linux; # does not build on darwin
|
|
maintainers = teams.lxqt.members;
|
|
};
|
|
}
|