updated version to 1.20.1

This commit is contained in:
Rakesh Gupta 2020-01-22 20:20:35 +11:00 committed by Emery Hemingway
parent d62e410ccd
commit f82528a92b

View file

@ -1,11 +1,9 @@
{ stdenv, lib, fetchgit, perl, cdrkit, syslinux, xz, openssl, gnu-efi, mtools { stdenv, lib, fetchFromGitHub, perl, cdrkit, syslinux, xz, openssl, gnu-efi, mtools
, embedScript ? null , embedScript ? null
, additionalTargets ? {} , additionalTargets ? {}
}: }:
let let
date = "20190318";
rev = "ebf2eaf515e46abd43bc798e7e4ba77bfe529218";
targets = additionalTargets // lib.optionalAttrs stdenv.isx86_64 { targets = additionalTargets // lib.optionalAttrs stdenv.isx86_64 {
"bin-x86_64-efi/ipxe.efi" = null; "bin-x86_64-efi/ipxe.efi" = null;
"bin-x86_64-efi/ipxe.efirom" = null; "bin-x86_64-efi/ipxe.efirom" = null;
@ -19,15 +17,17 @@ let
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "ipxe-${date}-${builtins.substring 0 7 rev}"; pname = "ipxe";
version = "1.20.1";
nativeBuildInputs = [ perl cdrkit syslinux xz openssl gnu-efi mtools ]; nativeBuildInputs = [ perl cdrkit syslinux xz openssl gnu-efi mtools ];
src = fetchgit { src = fetchFromGitHub {
url = https://git.ipxe.org/ipxe.git; owner = "ipxe";
sha256 = "0if3m8h1nfxy4n37cwlfbc5kand52290v80m4zvjppc81im3nr5g"; repo = "ipxe";
inherit rev; rev = "v${version}";
sha256 = "0w7h7y97gj9nqvbmsg1zp6zj5mpbbpckqbbx7bpp6k3ahy5fk8zp";
}; };
# not possible due to assembler code # not possible due to assembler code