lol

bats: 0.10.0 -> 0.11.0

Also conditionally excludes pkill from resolution on macOS, since the
procps package should contain pkill on other platforms.

+9 -2
+9 -2
pkgs/development/interpreters/bats/default.nix
··· 27 27 28 28 resholve.mkDerivation rec { 29 29 pname = "bats"; 30 - version = "1.10.0"; 30 + version = "1.11.0"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "bats-core"; 34 34 repo = "bats-core"; 35 35 rev = "v${version}"; 36 - sha256 = "sha256-gy4dyoKRlf2WFmH1/mSNwhVR3df92BgpT4TjTpV4FyQ="; 36 + hash = "sha256-goHIhbBoCf1eb1N8xIHdVvAURofvLDgEDXofhDHrr7Y="; 37 37 }; 38 38 39 39 patchPhase = '' ··· 69 69 external = [ 70 70 "greadlink" 71 71 "shlock" 72 + ] ++ lib.optionals stdenv.isDarwin [ 72 73 "pkill" # procps doesn't supply this on darwin 73 74 ]; 74 75 }; 75 76 fix = { 76 77 "$BATS_ROOT" = [ "${placeholder "out"}" ]; 78 + "$BATS_LIBDIR" = [ "lib" ]; 77 79 "$BATS_LIBEXEC" = [ "${placeholder "out"}/libexec/bats-core" ]; 78 80 }; 79 81 keep = { ··· 99 101 "$BATS_LINE_REFERENCE_FORMAT" = "comma_line"; 100 102 "$BATS_LOCKING_IMPLEMENTATION" = "${flock}/bin/flock"; 101 103 "$parallel_binary_name" = "${parallel}/bin/parallel"; 104 + "${placeholder "out"}/libexec/bats-core/bats-preprocess" = true; 102 105 }; 103 106 execer = [ 104 107 /* ··· 115 118 # these do exec, but other internal files 116 119 "cannot:libexec/bats-core/bats-exec-file" 117 120 "cannot:libexec/bats-core/bats-exec-suite" 121 + "cannot:libexec/bats-core/bats-gather-tests" 122 + ] ++ lib.optionals (!stdenv.isDarwin) [ 123 + # checked invocations for exec 124 + "cannot:${procps}/bin/pkill" 118 125 ]; 119 126 }; 120 127 };