2006-10-25 01:05:12 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2004-02-13 15:42:28 +01:00
|
|
|
name = "gnupatch-2.5.4";
|
|
|
|
src = fetchurl {
|
2005-08-22 10:39:27 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/patch-2.5.4.tar.gz;
|
2004-02-13 15:42:28 +01:00
|
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
|
|
};
|
2006-10-25 01:05:12 +02: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 [];
|
|
|
|
}
|