mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
fishPlugins.done: include jq dependency
added self to maintainers
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildFishPlugin,
|
||||
fetchFromGitHub,
|
||||
fishtape,
|
||||
jq,
|
||||
}:
|
||||
|
||||
buildFishPlugin rec {
|
||||
@@ -16,6 +17,12 @@ buildFishPlugin rec {
|
||||
hash = "sha256-GZ1ZpcaEfbcex6XvxOFJDJqoD9C5out0W4bkkn768r0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace conf.d/done.fish \
|
||||
--replace-fail " jq " " ${lib.getExe jq} " \
|
||||
--replace-fail "and type -q jq" "and type -q ${lib.getExe jq}"
|
||||
'';
|
||||
|
||||
checkPlugins = [ fishtape ];
|
||||
checkPhase = ''
|
||||
fishtape test/done.fish
|
||||
@@ -25,6 +32,9 @@ buildFishPlugin rec {
|
||||
description = "Automatically receive notifications when long processes finish";
|
||||
homepage = "https://github.com/franciscolourenco/done";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.malo ];
|
||||
maintainers = with lib.maintainers; [
|
||||
malo
|
||||
rexies
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user