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