Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 916 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 kwindowsystem, 7 liblxqt, 8 libqtxdg, 9 lxqt-build-tools, 10 qtbase, 11 qtsvg, 12 qttools, 13 qtwayland, 14 wrapQtAppsHook, 15 gitUpdater, 16}: 17 18stdenv.mkDerivation rec { 19 pname = "qps"; 20 version = "2.11.1"; 21 22 src = fetchFromGitHub { 23 owner = "lxqt"; 24 repo = pname; 25 rev = version; 26 hash = "sha256-uWKTcFO5CoTU5jXB9x5tQ0goEvUpMaeUlMlTG2/xvYg="; 27 }; 28 29 nativeBuildInputs = [ 30 cmake 31 lxqt-build-tools 32 qttools 33 wrapQtAppsHook 34 ]; 35 36 buildInputs = [ 37 kwindowsystem 38 liblxqt 39 libqtxdg 40 qtbase 41 qtsvg 42 qtwayland 43 ]; 44 45 passthru.updateScript = gitUpdater { }; 46 47 meta = with lib; { 48 homepage = "https://github.com/lxqt/qps"; 49 description = "Qt based process manager"; 50 mainProgram = "qps"; 51 license = licenses.gpl2Plus; 52 platforms = with platforms; linux; # does not build on darwin 53 teams = [ teams.lxqt ]; 54 }; 55}