forked from mirrors/nixpkgs
Add libnl-3.0
svn path=/nixpkgs/trunk/; revision=27385
This commit is contained in:
parent
1c4b8e4886
commit
5fb0953680
|
@ -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/";
|
||||
|
|
20
pkgs/os-specific/linux/libnl/v2.nix
Normal file
20
pkgs/os-specific/linux/libnl/v2.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue