nixpkgs/pkgs/tools/text/gnupatch/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

16 lines
416 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "gnupatch-2.5.4";
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/patch/patch-2.5.4.tar.gz;
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
};
# 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 [];
}