about summary refs log tree commit diff
diff options
context:
space:
mode:
authoreymeric <eymericdechelette@gmail.com>2024-03-24 21:43:02 +0100
committerPeter Hoeg <peter@hoeg.com>2024-04-02 11:39:56 -0700
commit87fba89f7b2e857929feebc790bd7f5a8858fa9b (patch)
treec9cad2a8f4a6164a5c2791c0f6c794f2e98df639
parent49c65248fd9ffbbf83053266ff859dc3f5f524f2 (diff)
kshutdown: init at 5.91-beta
-rw-r--r--pkgs/by-name/ks/kshutdown/package.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/ks/kshutdown/package.nix b/pkgs/by-name/ks/kshutdown/package.nix
new file mode 100644
index 0000000000000..a184c5eaef1c9
--- /dev/null
+++ b/pkgs/by-name/ks/kshutdown/package.nix
@@ -0,0 +1,32 @@
+{ stdenv
+, lib
+, fetchurl
+, extra-cmake-modules
+, unzip
+, libsForQt5
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "kshutdown";
+  version = "5.91-beta";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/project/kshutdown/KShutdown/${finalAttrs.version}/kshutdown-source-${finalAttrs.version}.zip";
+    hash = "sha256-gWXpVBhoZ57kaQV1C+xCBYc2gZjzJfFViD/SI9D+BRc=";
+    name = "kshutdown-source-${finalAttrs.version}.zip";
+  };
+
+  nativeBuildInputs = [ extra-cmake-modules unzip libsForQt5.wrapQtAppsHook ];
+
+  buildInputs = with libsForQt5; [ qtbase kxmlgui knotifyconfig kidletime ];
+
+  meta = with lib; {
+    homepage = "https://kshutdown.sourceforge.io/";
+    description = "A graphical shutdown utility for Linux and Windows";
+    mainProgram = "kshutdown";
+    license = with licenses; [ gpl3 ];
+    maintainers = with maintainers ; [ eymeric ];
+    platforms = platforms.linux;
+  };
+})
+