8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
23 lines
588 B
Nix
23 lines
588 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "getopt";
|
|
version = "1.1.6";
|
|
src = fetchurl {
|
|
url = "http://frodo.looijaard.name/system/files/software/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "1zn5kp8ar853rin0ay2j3p17blxy16agpp8wi8wfg4x98b31vgyh";
|
|
};
|
|
|
|
makeFlags = [
|
|
"WITHOUT_GETTEXT=1"
|
|
"LIBCGETOPT=0"
|
|
"prefix=${placeholder "out"}"
|
|
"CC:=$(CC)"
|
|
];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.unix;
|
|
homepage = "http://frodo.looijaard.name/project/getopt";
|
|
description = "Parses command-line arguments from shell scripts";
|
|
};
|
|
}
|