This commit is contained in:
parent
254eb0cb2d
commit
a87429b067
|
@ -39,4 +39,6 @@ pkgs.lib.makeScope pkgs.newScope (pkgs: {
|
||||||
volantes-cursors = pkgs.callPackage ./volantes-cursors { };
|
volantes-cursors = pkgs.callPackage ./volantes-cursors { };
|
||||||
|
|
||||||
wifi-qr = pkgs.callPackage ./wifi-qr { };
|
wifi-qr = pkgs.callPackage ./wifi-qr { };
|
||||||
|
|
||||||
|
zsh-done = pkgs.callPackage ./zsh-done { };
|
||||||
})
|
})
|
||||||
|
|
34
pkgs/zsh-done/default.nix
Normal file
34
pkgs/zsh-done/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib, fetchFromGitHub, stdenvNoCC }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "zsh-done";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ambroisie";
|
||||||
|
repo = "zsh-done";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-DC7urJDXPP9vBYABrJF5KZ4HfMbrpHIVogSmEB8PWLA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
plugindir="$out/share/zsh/site-functions"
|
||||||
|
|
||||||
|
mkdir -p $plugindir
|
||||||
|
cp $src/done.plugin.zsh $plugindir/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = ''
|
||||||
|
A zsh plug-in to receive notifications when long processes finish
|
||||||
|
'';
|
||||||
|
homepage = "https://gitea.belanyi.fr/ambroisie/zsh-done";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue