2016-08-20 07:04:56 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
|
2014-06-10 16:13:28 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "efivar-${version}";
|
2018-04-12 08:22:44 -07:00
|
|
|
version = "35";
|
2014-06-10 16:13:28 -07:00
|
|
|
|
2015-06-18 22:03:00 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rhinstaller";
|
|
|
|
repo = "efivar";
|
|
|
|
rev = version;
|
2018-04-12 08:22:44 -07:00
|
|
|
sha256 = "0hc7l5z0hw5472bm6p4d9n24bbggv9lgw7px1hqrdkfjghqfnlxh";
|
2014-06-10 16:13:28 -07:00
|
|
|
};
|
|
|
|
|
2016-05-02 18:50:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-05-15 10:30:39 -07:00
|
|
|
buildInputs = [ popt ];
|
2014-06-10 16:13:28 -07:00
|
|
|
|
2017-12-17 00:08:05 -08:00
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
2014-06-10 16:13:28 -07:00
|
|
|
"libdir=$(out)/lib"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-05-02 18:50:13 -07:00
|
|
|
inherit (src.meta) homepage;
|
2014-06-10 16:13:28 -07:00
|
|
|
description = "Tools and library to manipulate EFI variables";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|