3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/efibootmgr/default.nix
obadz 15b07f4b8e efibootmgr: 0.12 -> 13
Fixes glib 2.24 build issues
2016-08-21 12:02:36 +01:00

28 lines
776 B
Nix

{ stdenv, fetchFromGitHub, perl, efivar, pciutils, zlib, popt }:
stdenv.mkDerivation rec {
name = "efibootmgr-${version}";
version = "13";
buildInputs = [ perl efivar pciutils zlib popt ];
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efibootmgr";
rev = version;
sha256 = "1kwmvx111c3a5783kx3az76mkhpr1nsdx0yv09gp4k0hgzqlqj96";
};
NIX_CFLAGS_COMPILE = "-I${efivar}/include/efivar";
NIX_LDFLAGS = "-lefiboot -lefivar -lpopt";
installFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
homepage = http://linux.dell.com/efibootmgr/;
license = licenses.gpl2;
platforms = platforms.linux;
};
}