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