@@ -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+}