1{
2 lib,
3 buildFishPlugin,
4 fetchFromGitHub,
5}:
6
7buildFishPlugin rec {
8 pname = "fishtape";
9 version = "3.0.1";
10
11 src = fetchFromGitHub {
12 owner = "jorgebucaran";
13 repo = "fishtape";
14 rev = version;
15 sha256 = "072a3qbk1lpxw53bxp91drsffylx8fbywhss3x0jbnayn9m8i7aa";
16 };
17
18 checkFunctionDirs = [ "./functions" ]; # fishtape is introspective
19 checkPhase = ''
20 fishtape tests/*.fish
21 '';
22
23 meta = with lib; {
24 description = "100% pure-Fish test runner";
25 homepage = "https://github.com/jorgebucaran/fishtape";
26 license = licenses.mit;
27 maintainers = with maintainers; [ euxane ];
28 };
29}