1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

efibootmgr: 13 -> 15

- Update to efibootmgr 15
- Add dependency on pkgconfig (listed as required in INSTALL)
- Remove dependency on perl, pciutils and zlib
- Set EFIDIR to 'nixos' (the same used in fwupdate)
- Update homepage
This commit is contained in:
romildo 2017-04-18 11:48:23 -03:00
parent 8d491ec6c6
commit 86b853e275

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;
};