mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
26 lines
610 B
Nix
26 lines
610 B
Nix
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
|
|
|
|
buildFishPlugin rec {
|
|
pname = "done";
|
|
version = "1.19.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "franciscolourenco";
|
|
repo = "done";
|
|
rev = version;
|
|
hash = "sha256-BGHfwKoMfOZUsa05kEt8W2luc1aC3Su/OyaGmcb4UiI=";
|
|
};
|
|
|
|
checkPlugins = [ fishtape ];
|
|
checkPhase = ''
|
|
fishtape test/done.fish
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Automatically receive notifications when long processes finish";
|
|
homepage = "https://github.com/franciscolourenco/done";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.malo ];
|
|
};
|
|
}
|