about summary refs log tree commit diff
path: root/pkgs/tools/misc/bash_unit
diff options
context:
space:
mode:
authorPamplemousse <xav.maso@gmail.com>2020-01-04 09:38:55 -0700
committerPamplemousse <xav.maso@gmail.com>2020-01-06 11:35:24 -0700
commit34441168b39e449c1b35eedba2846d17e8bf60f7 (patch)
tree83f21a9ea1fe966760f5cccb1a4626b5e5145c9e /pkgs/tools/misc/bash_unit
parent968afa4dd8b886bcd71c813f44152ecc4861a305 (diff)
bash_unit: init at 1.6.1
Diffstat (limited to 'pkgs/tools/misc/bash_unit')
-rw-r--r--pkgs/tools/misc/bash_unit/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bash_unit/default.nix b/pkgs/tools/misc/bash_unit/default.nix
new file mode 100644
index 0000000000000..f23ab45cfab55
--- /dev/null
+++ b/pkgs/tools/misc/bash_unit/default.nix
@@ -0,0 +1,27 @@
+{ fetchFromGitHub
+, stdenv
+}:
+
+stdenv.mkDerivation rec {
+  pname = "bash_unit";
+  version = "1.6.1";
+
+  src = fetchFromGitHub {
+    owner = "pgrange";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0jcjpcyf569b12vm4jrd53iqrrsjvr8sp9y29w2ls38fm8a16vr6";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp bash_unit $out/bin/
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Bash unit testing enterprise edition framework for professionals";
+    maintainers = with maintainers; [ pamplemousse ];
+    platforms = platforms.linux;
+    license = licenses.gpl3Plus;
+  };
+}