1{ fetchFromGitHub
2, lib, stdenv
3}:
4
5stdenv.mkDerivation rec {
6 pname = "bash_unit";
7 version = "2.1.0";
8
9 src = fetchFromGitHub {
10 owner = "pgrange";
11 repo = pname;
12 rev = "v${version}";
13 sha256 = "sha256-c1C+uBo5PSH07VjulCxkmvfj7UYm6emdDAaN00uvAcg=";
14 };
15
16 installPhase = ''
17 mkdir -p $out/bin
18 cp bash_unit $out/bin/
19 '';
20
21 meta = with lib; {
22 description = "Bash unit testing enterprise edition framework for professionals";
23 maintainers = with maintainers; [ pamplemousse ];
24 platforms = platforms.all;
25 license = licenses.gpl3Plus;
26 };
27}