fishPlugins.fishtape_3: init at 3.0.1
Keeping fishtape 2.x and 3.x separate because they aren't compatible with each other and are still both being used to test different packages.
This commit is contained in:
@@ -6,7 +6,10 @@ lib.makeScope newScope (self: with self; {
|
||||
|
||||
clownfish = callPackage ./clownfish.nix { };
|
||||
|
||||
# Fishtape 2.x and 3.x aren't compatible,
|
||||
# but both versions are used in the tests of different other plugins.
|
||||
fishtape = callPackage ./fishtape.nix { };
|
||||
fishtape_3 = callPackage ./fishtape_3.nix { };
|
||||
|
||||
foreign-env = callPackage ./foreign-env { };
|
||||
|
||||
|
||||
25
pkgs/shells/fish/plugins/fishtape_3.nix
Normal file
25
pkgs/shells/fish/plugins/fishtape_3.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ 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 = with lib; {
|
||||
description = "100% pure-Fish test runner";
|
||||
homepage = "https://github.com/jorgebucaran/fishtape";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pacien ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user