Use a still-available Debian patch...

This commit is contained in:
Michael Raskin 2014-08-09 16:08:57 +04:00
parent 5ebc4d829b
commit fa907fce31

View File

@ -1,5 +1,5 @@
x@{builderDefsPackage
, readline, tcp_wrappers, pcre
, readline, tcp_wrappers, pcre, runCommand
, ...}:
builderDefsPackage
(a :
@ -29,11 +29,15 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
debianPatch = a.fetchurl {
url = http://patch-tracker.debian.org/patch/nondebian/dl/atftp/0.7.dfsg-10;
sha256 = "0vannjp0wxvk10xxlr3hirgf0g57n9dr4vhmsyfd8x4cwgxwfgsa";
debianPatchGz = a.fetchurl {
url = ftp://ftp.ru.debian.org/pub/debian/pool/main/a/atftp/atftp_0.7.dfsg-11.diff.gz;
sha256 = "07g4qbmp0lnscg2dkj6nsj657jaghibvfysdm1cdxcn215n3zwqd";
};
debianPatch = a.runCommand "atftp-0.7.dfsg-11" {} ''
gunzip < "${debianPatchGz}" > "$out"
'';
patches = [debianPatch];
meta = {