nixpkgs/pkgs/shells/fish/plugins/done.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
609 B
Nix
Raw Normal View History

2021-04-13 03:56:46 +02:00
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
buildFishPlugin rec {
pname = "done";
2021-10-04 21:35:28 +02:00
version = "1.16.5";
2021-04-13 03:56:46 +02:00
src = fetchFromGitHub {
owner = "franciscolourenco";
repo = "done";
rev = version;
2021-10-04 21:35:28 +02:00
sha256 = "E0wveeDw1VzEH2kzn63q9hy1xkccfxQHBV2gVpu2IdQ=";
2021-04-13 03:56:46 +02:00
};
checkPlugins = [ fishtape ];
checkPhase = ''
fishtape test/done.fish
'';
meta = {
description = "Automatically receive notifications when long processes finish";
homepage = "https://github.com/franciscolourenco/done";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ malo ];
};
}