2021-04-22 02:08:21 +00:00
|
|
|
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
|
|
|
|
|
|
|
|
buildFishPlugin rec {
|
|
|
|
pname = "done";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "1.16.3";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "franciscolourenco";
|
|
|
|
repo = "done";
|
|
|
|
rev = version;
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "Xld66z9vVp3kxikndZ9k/zlNvP0YSoSCNTBkJ8rT3uo=";
|
2021-04-22 02:08:21 +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 ];
|
|
|
|
};
|
|
|
|
}
|