3
0
Fork 0
forked from mirrors/nixpkgs

Add libnl-3.0

svn path=/nixpkgs/trunk/; revision=27385
This commit is contained in:
Yury G. Kudryashov 2011-06-07 21:50:42 +00:00
parent 1c4b8e4886
commit 5fb0953680
3 changed files with 24 additions and 3 deletions

View file

@ -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/";

View file

@ -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;
};
}

View file

@ -4990,6 +4990,8 @@ let
libnl = callPackage ../os-specific/linux/libnl { };
libnl2 = callPackage ../os-specific/linux/libnl/v2.nix { };
libnl1 = callPackage ../os-specific/linux/libnl/v1.nix { };
linuxHeaders = linuxHeaders_2_6_32;