2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
2024-04-21 15:54:59 +00:00
|
|
|
, stdenv
|
2020-05-03 17:38:23 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, kwindowsystem
|
|
|
|
, liblxqt
|
|
|
|
, libqtxdg
|
|
|
|
, lxqt-build-tools
|
|
|
|
, qtbase
|
2024-04-21 15:54:59 +00:00
|
|
|
, qtsvg
|
2020-05-03 17:38:23 +00:00
|
|
|
, qttools
|
2024-04-21 15:54:59 +00:00
|
|
|
, qtwayland
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, gitUpdater
|
2020-05-03 17:38:23 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "qps";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-Jit1CdFZyhKOjNytTBH9T4NqqmhxoifXGgPUyVdzJ+4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
2023-11-16 04:20:00 +00:00
|
|
|
qttools
|
2024-04-21 15:54:59 +00:00
|
|
|
wrapQtAppsHook
|
2020-05-03 17:38:23 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [
|
|
|
|
kwindowsystem
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
|
|
|
qtbase
|
2024-04-21 15:54:59 +00:00
|
|
|
qtsvg
|
|
|
|
qtwayland
|
2020-05-03 17:38:23 +00:00
|
|
|
];
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/lxqt/qps";
|
2021-02-13 14:23:35 +00:00
|
|
|
description = "Qt based process manager";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qps";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-05-03 17:38:23 +00:00
|
|
|
platforms = with platforms; linux; # does not build on darwin
|
2022-04-27 09:35:20 +00:00
|
|
|
maintainers = teams.lxqt.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|