Merge pull request #24997 from romildo/upd.efibootmgr

efibootmgr: 13 -> 15
This commit is contained in:
Michael Raskin 2017-05-01 13:22:28 +02:00 committed by GitHub
commit 5ef193446e

View file

@ -1,26 +1,29 @@
{ stdenv, fetchFromGitHub, perl, efivar, pciutils, zlib, popt }:
{ stdenv, fetchFromGitHub, pkgconfig, efivar, popt }:
stdenv.mkDerivation rec {
name = "efibootmgr-${version}";
version = "13";
version = "15";
buildInputs = [ perl efivar pciutils zlib popt ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ efivar popt ];
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efibootmgr";
rev = version;
sha256 = "1kwmvx111c3a5783kx3az76mkhpr1nsdx0yv09gp4k0hgzqlqj96";
sha256 = "0z7h1dirp8za6lbbf4f3dzn7l1px891rdymhkbqc10yj6gi1jpqp";
};
NIX_CFLAGS_COMPILE = "-I${efivar}/include/efivar";
NIX_LDFLAGS = "-lefiboot -lefivar -lpopt";
makeFlags = [ "EFIDIR=nixos" ];
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/;
homepage = https://github.com/rhinstaller/efibootmgr;
license = licenses.gpl2;
platforms = platforms.linux;
};