Merge pull request #119280 from malob/add-fish-plugin
This commit is contained in:
commit
227fecc2e7
@ -6012,6 +6012,12 @@
|
|||||||
githubId = 115218;
|
githubId = 115218;
|
||||||
name = "Felix Richter";
|
name = "Felix Richter";
|
||||||
};
|
};
|
||||||
|
malo = {
|
||||||
|
email = "mbourgon@gmail.com";
|
||||||
|
github = "malob";
|
||||||
|
githubId = 2914269;
|
||||||
|
name = "Malo Bourgon";
|
||||||
|
};
|
||||||
malyn = {
|
malyn = {
|
||||||
email = "malyn@strangeGizmo.com";
|
email = "malyn@strangeGizmo.com";
|
||||||
github = "malyn";
|
github = "malyn";
|
||||||
|
@ -6,6 +6,8 @@ lib.makeScope newScope (self: with self; {
|
|||||||
|
|
||||||
clownfish = callPackage ./clownfish.nix { };
|
clownfish = callPackage ./clownfish.nix { };
|
||||||
|
|
||||||
|
done = callPackage ./done.nix { };
|
||||||
|
|
||||||
# Fishtape 2.x and 3.x aren't compatible,
|
# Fishtape 2.x and 3.x aren't compatible,
|
||||||
# but both versions are used in the tests of different other plugins.
|
# but both versions are used in the tests of different other plugins.
|
||||||
fishtape = callPackage ./fishtape.nix { };
|
fishtape = callPackage ./fishtape.nix { };
|
||||||
|
25
pkgs/shells/fish/plugins/done.nix
Normal file
25
pkgs/shells/fish/plugins/done.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lib, buildFishPlugin, fetchFromGitHub, fishtape }:
|
||||||
|
|
||||||
|
buildFishPlugin rec {
|
||||||
|
pname = "done";
|
||||||
|
version = "1.16.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "franciscolourenco";
|
||||||
|
repo = "done";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "NFysKzRZgDXXZW/sUlZNu7ZpMCKwbjAhIfspSK3UqCY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user