mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
8cc761c606
http://frodo.looijaard.name/project/getopt/release/1-1-6 http://frodo.looijaard.name/project/getopt/release/1-1-5 * don't rely on tarballs.nixos.org * no need for custom builder
22 lines
457 B
Nix
22 lines
457 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;
|
|
};
|
|
}
|