summary refs log tree commit diff
path: root/pkgs/development/interpreters/bats/default.nix
blob: 4eb86460be9a8e229a7657a6d933f10e91d96d3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
  };
}