mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
597b9502cb
Small release. Most interesting chage is support for binutils-2.39 (non-executable GNU stack marking). 4 changes in this release: Handle __mips64 Bump revision to VERSION = 3.0.15 lib/Makefile: add .o file dependency on libsubdirs targets */*.S: add non-executable GNU stack marking on ELF-linux
38 lines
899 B
Nix
38 lines
899 B
Nix
{ lib, stdenv, buildPackages, fetchurl, pciutils
|
|
, gitUpdater }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnu-efi";
|
|
version = "3.0.15";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-kxole5xcG6Zf9Rnxg3PEOKJoJfLbeGaxY+ltGxaPIOo=";
|
|
};
|
|
|
|
buildInputs = [ pciutils ];
|
|
|
|
hardeningDisable = [ "stackprotector" ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=\${out}"
|
|
"HOSTCC=${buildPackages.stdenv.cc.targetPrefix}cc"
|
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
inherit pname version;
|
|
# No nicer place to find latest release.
|
|
url = "https://git.code.sf.net/p/gnu-efi/code";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "GNU EFI development toolchain";
|
|
homepage = "https://sourceforge.net/projects/gnu-efi/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|