mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
5dc0c774fb
* argbash: init at 2.8.1 * changed name to pname * updated sha256 hash
28 lines
645 B
Nix
28 lines
645 B
Nix
{ 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 ];
|
|
};
|
|
}
|