Files
nixpkgs/pkgs/by-name/ks/kshutdown/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
926 B
Nix

{
stdenv,
lib,
fetchurl,
cmake,
unzip,
kdePackages,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kshutdown";
version = "6.0";
src = fetchurl {
url = "mirror://sourceforge/project/kshutdown/KShutdown/${finalAttrs.version}/kshutdown-source-${finalAttrs.version}.zip";
hash = "sha256-GXs0Cb1gtlPy8fxy3CJ10t97BENMWFsRJHij+104BLA=";
name = "kshutdown-source-${finalAttrs.version}.zip";
};
nativeBuildInputs = [
cmake
unzip
kdePackages.wrapQtAppsHook
];
buildInputs = with kdePackages; [
qtbase
kxmlgui
knotifyconfig
kidletime
kstatusnotifieritem
];
meta = with lib; {
homepage = "https://kshutdown.sourceforge.io/";
description = "Graphical shutdown utility for Linux and Windows";
mainProgram = "kshutdown";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ eymeric ];
platforms = platforms.linux;
};
})