567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
617 B
Nix
30 lines
617 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildFishPlugin rec {
|
|
pname = "fishtape";
|
|
version = "3.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jorgebucaran";
|
|
repo = "fishtape";
|
|
rev = version;
|
|
sha256 = "072a3qbk1lpxw53bxp91drsffylx8fbywhss3x0jbnayn9m8i7aa";
|
|
};
|
|
|
|
checkFunctionDirs = [ "./functions" ]; # fishtape is introspective
|
|
checkPhase = ''
|
|
fishtape tests/*.fish
|
|
'';
|
|
|
|
meta = {
|
|
description = "100% pure-Fish test runner";
|
|
homepage = "https://github.com/jorgebucaran/fishtape";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ euxane ];
|
|
};
|
|
}
|