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