2004-04-23 17:29:53 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-10-12 16:43:01 +01:00
|
|
|
name = "getopt-1.1.4";
|
2003-12-02 12:54:21 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2013-06-25 13:05:48 +01:00
|
|
|
url = http://tarballs.nixos.org/getopt-1.1.4.tar.gz;
|
2014-10-12 15:13:21 +01:00
|
|
|
sha256 = "1arvjfzw6p310zbgv629w5hkyslrj44imf3r3s2r4ry2jfcks221";
|
2003-12-02 12:54:21 +00:00
|
|
|
};
|
2014-08-23 07:51:25 +01:00
|
|
|
preBuild = ''
|
|
|
|
export buildFlags=CC="$CC" # for darwin
|
|
|
|
'';
|
2003-12-02 12:54:21 +00:00
|
|
|
}
|