2021-04-13 01:56:46 +00:00
|
|
|
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
|
|
|
|
|
|
|
|
buildFishPlugin rec {
|
|
|
|
pname = "done";
|
2023-09-28 00:27:33 +00:00
|
|
|
version = "1.17.0";
|
2021-04-13 01:56:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "franciscolourenco";
|
|
|
|
repo = "done";
|
|
|
|
rev = version;
|
2023-09-28 00:27:33 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|