2006-10-24 23:05:12 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2009-07-23 22:07:45 +00:00
|
|
|
stdenv.mkDerivation ( {
|
2004-02-13 14:42:28 +00:00
|
|
|
name = "gnupatch-2.5.4";
|
|
|
|
src = fetchurl {
|
2007-08-27 13:42:00 +00:00
|
|
|
url = mirror://gnu/patch/patch-2.5.4.tar.gz;
|
2004-02-13 14:42:28 +00:00
|
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
|
|
};
|
2006-10-24 23:05:12 +00:00
|
|
|
|
|
|
|
# Hack around ancient configure script: doesn't build on many newer
|
|
|
|
# platforms unless a platform is specified.
|
|
|
|
configureFlags = "dummy";
|
2009-07-23 22:07:45 +00:00
|
|
|
|
2006-10-24 23:05:12 +00:00
|
|
|
patches = if stdenv.isDarwin then [./setmode.patch] else [];
|
2009-07-23 22:07:45 +00:00
|
|
|
} // (if stdenv.isDarwin then { ac_cv_exeext = "" ; } else {} ) )
|