1 { lib, stdenv, buildPackages, fetchurl, pciutils
6 stdenv.mkDerivation rec {
11 url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2";
12 sha256 = "sha256-kxole5xcG6Zf9Rnxg3PEOKJoJfLbeGaxY+ltGxaPIOo=";
15 buildInputs = [ pciutils ];
17 hardeningDisable = [ "stackprotector" ];
21 "HOSTCC=${buildPackages.stdenv.cc.targetPrefix}cc"
22 "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
25 passthru.updateScript = gitUpdater {
26 # No nicer place to find latest release.
27 url = "https://git.code.sf.net/p/gnu-efi/code";
31 description = "GNU EFI development toolchain";
32 homepage = "https://sourceforge.net/projects/gnu-efi/";
33 license = licenses.bsd3;
34 platforms = platforms.linux;