13 lines
289 B
Nix
13 lines
289 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "getopt-1.1.4";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://tarballs.nixos.org/getopt-1.1.4.tar.gz;
|
|
md5 = "02188ca68da27c4175d6e9f3da732101";
|
|
};
|
|
preBuild = ''
|
|
export buildFlags=CC="$CC" # for darwin
|
|
'';
|
|
}
|