fishPlugins.done: include jq dependency

added self to maintainers
This commit is contained in:
Rexiel Scarlet
2026-06-13 12:51:47 +04:00
parent 87c14e67d0
commit 7efec6ef94

View File

@@ -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
];
};
}