diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2016-02-07 12:11:31 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2016-02-07 14:53:54 +0100 |
commit | 4b4d5c96c8ef976384fd00e67d1e21a1bb818fe7 (patch) | |
tree | c4dc16a3f426964008ea91d0914d06663270b126 /pkgs/development/interpreters/bats | |
parent | 6205f17ea43fd74e4aff14a24a5734ec33415fd7 (diff) |
bats: init at 4.0.4
Diffstat (limited to 'pkgs/development/interpreters/bats')
-rw-r--r-- | pkgs/development/interpreters/bats/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/bats/default.nix b/pkgs/development/interpreters/bats/default.nix new file mode 100644 index 0000000000000..4eb86460be9a8 --- /dev/null +++ b/pkgs/development/interpreters/bats/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchzip }: + +stdenv.mkDerivation rec { + name = "bats-${version}"; + version = "0.4.0"; + + src = fetchzip { + url = "https://github.com/sstephenson/bats/archive/v${version}.tar.gz"; + sha256 = "05xpvfm0xky1532i3hd2l3wznxzh99bv2hxgykwdpxh18h6jr6jm"; + }; + + installPhase = "./install.sh $out"; + + meta = with stdenv.lib; { + homepage = https://github.com/sstephenson/bats; + description = "Bash Automated Testing System"; + maintainers = [ maintainers.lnl7 ]; + license = licenses.mit; + platforms = platforms.unix; + }; +} |