8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46";
20 buildInputs = [ bash ];
21 makeFlags = [ "PREFIX=${placeholder "out"}" ];
24 ./shellspec --no-banner --task fixture:stat:prepare
25 ./shellspec --no-banner spec --jobs "$(nproc)"
28 # "Building" the script happens in Docker
32 description = "A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells";
33 homepage = "https://shellspec.info/";
34 changelog = "https://github.com/shellspec/shellspec/releases/tag/${version}";
35 license = licenses.mit;
36 maintainers = with maintainers; [ j0hax ];
37 platforms = platforms.unix;
38 mainProgram = "shellspec";