summary refs log tree commit diff
path: root/pkgs/development/tools/misc/argbash/default.nix
blob: b8e3ff4a9dfe9e8911b38151cf57394815aa4526 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ];
  };
}