3
0
Fork 0
forked from mirrors/nixpkgs

efivar: 0.21 -> 0.23

This commit is contained in:
Tobias Geerinckx-Rice 2016-05-03 03:50:13 +02:00
parent 41de2cacb8
commit 95aab50e81
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -1,21 +1,21 @@
{ stdenv, fetchFromGitHub, popt }:
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
version = "0.21";
version = "0.23";
src = fetchFromGitHub {
owner = "rhinstaller";
repo = "efivar";
rev = version;
sha256 = "0iakv8prvl61mb2wnll02sxlg3kfzh3d4qb41d0bklmnljjkqr8p";
sha256 = "1fdqi053v335pjwj1i3yi9f1kasdzg3agfcp36bxsbhqjp4imlid";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];
# 0.21 Has build warnings so disable -Werror
postPatch = ''
sed -i 's,-Werror,,g' Make.defaults
substituteInPlace src/Makefile --replace "-static" ""
'';
installFlags = [
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
homepage = http://github.com/vathpela/efivar;
inherit (src.meta) homepage;
description = "Tools and library to manipulate EFI variables";
platforms = platforms.linux;
license = licenses.lgpl21;