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