about summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorEric Ren <546296+rencire@users.noreply.github.com>2019-11-07 14:19:42 -0800
committerMatthew Bauer <mjbauer95@gmail.com>2019-11-07 17:19:42 -0500
commit5dc0c774fb992add493dbb48655822c2ea1b6073 (patch)
tree443546d48cdb7fe0c049bcafdc193e7adda7b3a2 /pkgs/development/tools/misc
parent01ce3ce897a19cba2f1d1b3b37418992529332b9 (diff)
downloadnixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar.gz
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar.bz2
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar.lz
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar.xz
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.tar.zst
nixlib-5dc0c774fb992add493dbb48655822c2ea1b6073.zip
argbash: init at 2.8.1 (#70489)
* argbash: init at 2.8.1

* changed name to pname

* updated sha256 hash
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/argbash/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/argbash/default.nix b/pkgs/development/tools/misc/argbash/default.nix
new file mode 100644
index 000000000000..b8e3ff4a9dfe
--- /dev/null
+++ b/pkgs/development/tools/misc/argbash/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, autoconf }:
+
+stdenv.mkDerivation rec {
+  pname = "argbash";
+
+  version = "2.8.1";
+
+  src = fetchFromGitHub {
+    owner = "matejak";
+    repo = "argbash";
+    rev = "${version}";
+    sha256 = "0zara7v3pnwiwkpb0x0g37pxhmim4425q4gba712f6djj115r1mr";
+  };
+
+  sourceRoot = "${src}/resources";
+
+  nativeBuildInputs = [ autoconf ];
+
+  makeFlags = [ "PREFIX=$(out)" ];
+
+  meta = with stdenv.lib; {
+    description = "Bash argument parsing code generator";
+    homepage = "https://argbash.io/";
+    license = licenses.free; # custom license.  See LICENSE in source repo.
+    maintainers = with maintainers; [ rencire ];
+  };
+}