nix-config/pkgs/zsh-done/default.nix

35 lines
768 B
Nix
Raw Permalink Normal View History

2023-08-13 16:31:43 +02:00
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "zsh-done";
2024-02-15 17:32:37 +01:00
version = "0.1.1";
2023-08-13 16:31:43 +02:00
src = fetchFromGitHub {
owner = "ambroisie";
repo = "zsh-done";
rev = "v${version}";
2024-02-15 17:32:37 +01:00
hash = "sha256-dyhPhoMrAfDWtrBX5TA+B3G7QZ7gBhoDGNOEqGsCBQU=";
2023-08-13 16:31:43 +02:00
};
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
'';
2024-03-28 21:20:41 +01:00
homepage = "https://git.belanyi.fr/ambroisie/zsh-done";
2023-08-13 16:31:43 +02:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ ambroisie ];
};
}