summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libnl
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2011-06-07 21:50:42 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2011-06-07 21:50:42 +0000
commit5fb0953680692ee3e256cd31e6e53b807bdf83a7 (patch)
treec471c03ac225b04d96baf89f6068a8e766e3e080 /pkgs/os-specific/linux/libnl
parent1c4b8e4886615ccea7b9ba4903e67297d630a4b6 (diff)
downloadnixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar.gz
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar.bz2
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar.lz
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar.xz
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.tar.zst
nixpkgs-5fb0953680692ee3e256cd31e6e53b807bdf83a7.zip
Add libnl-3.0
svn path=/nixpkgs/trunk/; revision=27385
Diffstat (limited to 'pkgs/os-specific/linux/libnl')
-rw-r--r--pkgs/os-specific/linux/libnl/default.nix5
-rw-r--r--pkgs/os-specific/linux/libnl/v2.nix20
2 files changed, 22 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/libnl/default.nix b/pkgs/os-specific/linux/libnl/default.nix
index cbe938d2ee4..35f05e9d009 100644
--- a/pkgs/os-specific/linux/libnl/default.nix
+++ b/pkgs/os-specific/linux/libnl/default.nix
@@ -1,15 +1,14 @@
 {stdenv, fetchurl, bison, flex}:
 
 stdenv.mkDerivation rec {
-  name = "libnl-2.0";
+  name = "libnl-3.0";
 
   src = fetchurl {
     url = "${meta.homepage}files/${name}.tar.gz";
-    sha256 = "173sr25xpsakdvjcg62790v6kwcgxj5r0js2lx6hg89w7n8dqh2s";
+    sha256 = "1vac10m3w0m5lsypjcrhs2dzwng82nkbzqz8g8kyzkxb3qz5ql3s";
   };
 
   buildInputs = [ bison flex ];
-  postConfigure = "type -tp flex";
 
   meta = {
     homepage = "http://www.infradead.org/~tgr/libnl/";
diff --git a/pkgs/os-specific/linux/libnl/v2.nix b/pkgs/os-specific/linux/libnl/v2.nix
new file mode 100644
index 00000000000..cbe938d2ee4
--- /dev/null
+++ b/pkgs/os-specific/linux/libnl/v2.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;
+  };
+}