summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-06-10 18:13:28 -0500
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-07-17 11:40:37 +0200
commit830f3b6b557efea8fee3f9cb302d91acd6f57491 (patch)
tree5e4367b01605cab5898332c53c644adf7249707e /pkgs/tools/system
parent8233c1e67242908a745705a7234d64d1d2da322a (diff)
downloadnixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar.gz
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar.bz2
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar.lz
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar.xz
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.tar.zst
nixlib-830f3b6b557efea8fee3f9cb302d91acd6f57491.zip
efivar: Add derivation
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/efivar/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix
new file mode 100644
index 000000000000..618623146baa
--- /dev/null
+++ b/pkgs/tools/system/efivar/default.nix
@@ -0,0 +1,28 @@
+{ 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;
+  };
+}