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
614 B
Nix
Raw Normal View History

2021-04-13 01:56:46 +00:00
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
buildFishPlugin rec {
pname = "done";
version = "1.17.0";
2021-04-13 01:56:46 +00:00
src = fetchFromGitHub {
owner = "franciscolourenco";
repo = "done";
rev = version;
hash = "sha256-H+PVoZZ0JdGPcQBib600dzaymlU6rPCSEi8VZXyi/Xc=";
2021-04-13 01:56:46 +00: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 ];
};
}