blob: 081f1a547d69d03b4197f34e2792c519e727bd4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
name = "bats-${version}";
version = "1.1.0";
src = fetchzip {
url = "https://github.com/bats-core/bats-core/archive/v${version}.tar.gz";
sha256 = "1kkh0j2alql3xiyhw9wsvcc3xclv52g0ivgyk8h85q9fn3qdqakz";
};
patchPhase = "patchShebangs ./install.sh";
installPhase = "./install.sh $out";
meta = with stdenv.lib; {
homepage = https://github.com/bats-core/bats-core;
description = "Bash Automated Testing System";
maintainers = [ maintainers.lnl7 ];
license = licenses.mit;
platforms = platforms.unix;
};
}
|