Files
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

41 lines
963 B
Nix

{
fetchFromGitHub,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "plasma-applet-commandoutput";
version = "13";
src = fetchFromGitHub {
owner = "Zren";
repo = "plasma-applet-commandoutput";
tag = "v${finalAttrs.version}";
hash = "sha256-Tjnm26EYKXtBM9JBHKI73AMvOW/rQ3qOw2JDYey7EfQ=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plasma/plasmoids
cp -r package $out/share/plasma/plasmoids/com.github.zren.commandoutput
runHook postInstall
'';
meta = {
changelog = "https://github.com/Zren/plasma-applet-commandoutput/blob/${finalAttrs.src.rev}/Changelog.md";
description = "Run a command periodically and render its output";
homepage = "https://github.com/Zren/plasma-applet-commandoutput";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
matthiasbeyer
oliver-ni
];
};
})