nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
2
3buildFishPlugin rec {
4 pname = "done";
5 version = "1.19.3";
6
7 src = fetchFromGitHub {
8 owner = "franciscolourenco";
9 repo = "done";
10 rev = version;
11 hash = "sha256-DMIRKRAVOn7YEnuAtz4hIxrU93ULxNoQhW6juxCoh4o=";
12 };
13
14 checkPlugins = [ fishtape ];
15 checkPhase = ''
16 fishtape test/done.fish
17 '';
18
19 meta = with lib; {
20 description = "Automatically receive notifications when long processes finish";
21 homepage = "https://github.com/franciscolourenco/done";
22 license = licenses.mit;
23 maintainers = [ maintainers.malo ];
24 };
25}