mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
plasma-applet-commandoutput: init at 13
This commit is contained in:
parent
be1ddb6c4a
commit
a843d10d76
40
pkgs/by-name/pl/plasma-applet-commandoutput/package.nix
Normal file
40
pkgs/by-name/pl/plasma-applet-commandoutput/package.nix
Normal 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
|
||||
];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user