git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitd7145807ada972df1ba22dba54a1fc4e4f23fd47 authorpacien <pacien.trangirard@pacien.net> dateTue 9 Mar 2021, 13:10 (6 years ago) parent97b64bd
2 files changed+28
pkgs/shells/fish/plugins/default.nix+3 pkgs/shells/fish/plugins/fishtape_3.nix+25
pkgs/shells/fish/plugins/default.nix+3
@@ -6,7 +6,10 @@ lib.makeScope newScope (self: with self; {
66
77 clownfish = callPackage ./clownfish.nix { };
88
9+ # Fishtape 2.x and 3.x aren't compatible,
10+ # but both versions are used in the tests of different other plugins.
911 fishtape = callPackage ./fishtape.nix { };
12+ fishtape_3 = callPackage ./fishtape_3.nix { };
1013
1114 foreign-env = callPackage ./foreign-env { };
1215
pkgs/shells/fish/plugins/fishtape_3.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildFishPlugin, fetchFromGitHub }:
2+
3+buildFishPlugin rec {
4+ pname = "fishtape";
5+ version = "3.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "jorgebucaran";
9+ repo = "fishtape";
10+ rev = version;
11+ sha256 = "072a3qbk1lpxw53bxp91drsffylx8fbywhss3x0jbnayn9m8i7aa";
12+ };
13+
14+ checkFunctionDirs = [ "./functions" ]; # fishtape is introspective
15+ checkPhase = ''
16+ fishtape tests/*.fish
17+ '';
18+
19+ meta = with lib; {
20+ description = "100% pure-Fish test runner";
21+ homepage = "https://github.com/jorgebucaran/fishtape";
22+ license = licenses.mit;
23+ maintainers = with maintainers; [ pacien ];
24+ };
25+}