2006-10-25 00:05:12 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2004-02-13 14:42:28 +00:00
|
|
|
name = "gnupatch-2.5.4";
|
|
|
|
src = fetchurl {
|
2005-08-22 09:39:27 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/patch-2.5.4.tar.gz;
|
2004-02-13 14:42:28 +00:00
|
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
|
|
};
|
2006-10-25 00:05:12 +01:00
|
|
|
|
|
|
|
# Hack around ancient configure script: doesn't build on many newer
|
|
|
|
# platforms unless a platform is specified.
|
|
|
|
configureFlags = "dummy";
|
|
|
|
|
|
|
|
patches = if stdenv.isDarwin then [./setmode.patch] else [];
|
|
|
|
}
|