plasma-applet-commandoutput: init at 13 (#341426)

This commit is contained in:
Robert Schütz 2024-09-16 23:05:04 -07:00 committed by GitHub
commit 06bfe4681a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -15529,6 +15529,12 @@
githubId = 39134647;
name = "Oliver Koss";
};
oliver-ni = {
email = "nixos@oliver.ni";
github = "oliver-ni";
githubId = 20295134;
name = "Oliver Ni";
};
ollieB = {
github = "oliverbunting";
githubId = 1237862;

View File

@ -0,0 +1,40 @@
{
fetchFromGitHub,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "plasma-applet-commandoutput";
version = "13";
src = fetchFromGitHub {
owner = "Zren";
repo = "plasma-applet-commandoutput";
rev = "refs/tags/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
];
};
})