2015-06-19 07:03:00 +02:00
|
|
|
{ stdenv, fetchFromGitHub, popt }:
|
2014-06-11 01:13:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "efivar-${version}";
|
2015-06-19 07:03:00 +02:00
|
|
|
version = "0.20";
|
2014-06-11 01:13:28 +02:00
|
|
|
|
2015-06-19 07:03:00 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rhinstaller";
|
|
|
|
repo = "efivar";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "14c8x9dhi4scj42n1cf513b551c1ccm8lwpaqx8h8ydpm2k35qi4";
|
2014-06-11 01:13:28 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ popt ];
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"libdir=$(out)/lib"
|
|
|
|
"mandir=$(out)/share/man"
|
|
|
|
"includedir=$(out)/include"
|
|
|
|
"bindir=$(out)/bin"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://github.com/vathpela/efivar;
|
|
|
|
description = "Tools and library to manipulate EFI variables";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|