mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
efivar: 0.21 -> 0.23
This commit is contained in:
parent
41de2cacb8
commit
95aab50e81
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue