summary refs log tree commit diff
path: root/pkgs/os-specific/linux/syslinux
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-11-11 01:30:17 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-11-14 12:38:56 -0800
commit6e18a33183006514021f63baebb78a502bdff8aa (patch)
tree633680060b9e9f3a8ca33fe77ff56cf1a33282a0 /pkgs/os-specific/linux/syslinux
parent4ead61ca39206de1b6f696426df6c7a33b5808fb (diff)
downloadnixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar.gz
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar.bz2
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar.lz
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar.xz
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.tar.zst
nixpkgs-6e18a33183006514021f63baebb78a502bdff8aa.zip
syslinux: 6.03 -> 2015-11-09
Diffstat (limited to 'pkgs/os-specific/linux/syslinux')
-rw-r--r--pkgs/os-specific/linux/syslinux/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/syslinux/default.nix b/pkgs/os-specific/linux/syslinux/default.nix
index 631bee80d94..5ebcef39e47 100644
--- a/pkgs/os-specific/linux/syslinux/default.nix
+++ b/pkgs/os-specific/linux/syslinux/default.nix
@@ -1,23 +1,26 @@
-{ stdenv, fetchurl, nasm, perl, libuuid }:
+{ stdenv, fetchFromGitHub, nasm, perl, python, libuuid }:
 
 stdenv.mkDerivation rec {
-  name = "syslinux-6.03";
+  name = "syslinux-2015-11-09";
 
-  src = fetchurl {
-    url = "mirror://kernel/linux/utils/boot/syslinux/${name}.tar.xz";
-    sha256 = "03l5iifwlg1wyb4yh98i0b7pd4j55a1c9y74q1frs47a5dnrilr6";
+  src = fetchFromGitHub {
+    owner = "geneC";
+    repo = "syslinux";
+    rev = "0cc9a99e560a2f52bcf052fd85b1efae35ee812f";
+    sha256 = "0wk3r5ki4lc334f9jpml07wpl8d0bnxi9h1l4h4fyf9a0d7n4kmw";
   };
 
   patches = [ ./perl-deps.patch ];
 
-  buildInputs = [ nasm perl libuuid ];
+  nativeBuildInputs = [ nasm perl python ];
+  buildInputs = [ libuuid ];
 
   enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
 
   preBuild = ''
     substituteInPlace Makefile --replace /bin/pwd $(type -P pwd)
     substituteInPlace gpxe/src/Makefile.housekeeping --replace /bin/echo $(type -P echo)
-    substituteInPlace gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
+    substituteInPlace utils/ppmtolss16 gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
   '';
 
   stripDebugList = "bin sbin share/syslinux/com32";