nixpkgs/pkgs/tools/system/efivar/default.nix

29 lines
665 B
Nix
Raw Normal View History

2014-06-11 01:13:28 +02:00
{ stdenv, fetchgit, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
2015-05-11 16:25:17 +02:00
version = "0.15";
2014-06-11 01:13:28 +02:00
src = fetchgit {
2015-05-11 16:25:17 +02:00
url = "git://github.com/rhinstaller/efivar.git";
2014-06-11 01:13:28 +02:00
rev = "refs/tags/${version}";
2015-05-11 16:25:17 +02:00
sha256 = "1k5krjghb2r04wv6kxnhs1amqwzk7khzm7bsh0wnbsz7qn92masr";
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;
};
}