@@ -1,23 +1,26 @@
1−{ stdenv, fetchurl, nasm, perl, libuuid }:
1+{ stdenv, fetchFromGitHub, nasm, perl, python, libuuid }:
22
33stdenv.mkDerivation rec {
4− name = "syslinux-6.03";
4+ name = "syslinux-2015-11-09";
55
6− src = fetchurl {
7− url = "mirror://kernel/linux/utils/boot/syslinux/${name}.tar.xz";
8− sha256 = "03l5iifwlg1wyb4yh98i0b7pd4j55a1c9y74q1frs47a5dnrilr6";
6+ src = fetchFromGitHub {
7+ owner = "geneC";
8+ repo = "syslinux";
9+ rev = "0cc9a99e560a2f52bcf052fd85b1efae35ee812f";
10+ sha256 = "0wk3r5ki4lc334f9jpml07wpl8d0bnxi9h1l4h4fyf9a0d7n4kmw";
911 };
1012
1113 patches = [ ./perl-deps.patch ];
1214
13− buildInputs = [ nasm perl libuuid ];
15+ nativeBuildInputs = [ nasm perl python ];
16+ buildInputs = [ libuuid ];
1417
1518 enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
1619
1720 preBuild = ''
1821 substituteInPlace Makefile --replace /bin/pwd $(type -P pwd)
1922 substituteInPlace gpxe/src/Makefile.housekeeping --replace /bin/echo $(type -P echo)
20− substituteInPlace gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
23+ substituteInPlace utils/ppmtolss16 gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
2124 '';
2225
2326 stripDebugList = "bin sbin share/syslinux/com32";