1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/system/efivar/default.nix
William A. Kennington III 830f3b6b55 efivar: Add derivation
2014-07-17 11:40:37 +02:00

29 lines
662 B
Nix

{ stdenv, fetchgit, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
version = "0.10";
src = fetchgit {
url = "git://github.com/vathpela/efivar.git";
rev = "refs/tags/${version}";
sha256 = "04fznbmrf860b4d4i8rshx3mgwbx06v187wf1rddvxxnpkq8920w";
};
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;
};
}