about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libnl/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-12-11 12:47:00 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-12-11 12:47:00 +0000
commitee04ffcb550809f7d97d709ff4ec709a21b30ab9 (patch)
tree470bdb3f97b0ab18d3abeec3e1f59db7a4af34ed /pkgs/os-specific/linux/libnl/default.nix
parent3f1a32c266f792290cb08c45ab40f22a43cb13cb (diff)
parent97d4a54698a4dea4b57ec4124591d75a740ee44e (diff)
downloadnixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar.gz
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar.bz2
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar.lz
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar.xz
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.tar.zst
nixlib-ee04ffcb550809f7d97d709ff4ec709a21b30ab9.zip
Updating from trunk. I resolved simple conflicts.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25061
Diffstat (limited to 'pkgs/os-specific/linux/libnl/default.nix')
-rw-r--r--pkgs/os-specific/linux/libnl/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/libnl/default.nix b/pkgs/os-specific/linux/libnl/default.nix
new file mode 100644
index 000000000000..cbe938d2ee41
--- /dev/null
+++ b/pkgs/os-specific/linux/libnl/default.nix
@@ -0,0 +1,20 @@
+{stdenv, fetchurl, bison, flex}:
+
+stdenv.mkDerivation rec {
+  name = "libnl-2.0";
+
+  src = fetchurl {
+    url = "${meta.homepage}files/${name}.tar.gz";
+    sha256 = "173sr25xpsakdvjcg62790v6kwcgxj5r0js2lx6hg89w7n8dqh2s";
+  };
+
+  buildInputs = [ bison flex ];
+  postConfigure = "type -tp flex";
+
+  meta = {
+    homepage = "http://www.infradead.org/~tgr/libnl/";
+    description = "Linux NetLink interface library";
+    maintainers = [ stdenv.lib.maintainers.urkud ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}