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