1 { lib, stdenv, buildPackages, fetchurl, pciutils
4 stdenv.mkDerivation rec {
9 url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2";
10 sha256 = "sha256-kxole5xcG6Zf9Rnxg3PEOKJoJfLbeGaxY+ltGxaPIOo=";
13 buildInputs = [ pciutils ];
15 hardeningDisable = [ "stackprotector" ];
19 "HOSTCC=${buildPackages.stdenv.cc.targetPrefix}cc"
20 "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
24 substituteInPlace Make.defaults \
25 --replace "-Werror" ""
28 passthru.updateScript = gitUpdater {
29 # No nicer place to find latest release.
30 url = "https://git.code.sf.net/p/gnu-efi/code";
34 description = "GNU EFI development toolchain";
35 homepage = "https://sourceforge.net/projects/gnu-efi/";
36 license = licenses.bsd3;
37 platforms = platforms.linux;
38 maintainers = with maintainers; [ ];