mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
Add Netlink library
svn path=/nixpkgs/trunk/; revision=24996
This commit is contained in:
parent
f3d4030979
commit
c87a2ea713
20
pkgs/os-specific/linux/libnl/default.nix
Normal file
20
pkgs/os-specific/linux/libnl/default.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;
|
||||
};
|
||||
}
|
@ -4577,6 +4577,11 @@ let
|
||||
|
||||
libcroup = callPackage ../os-specific/linux/libcg { };
|
||||
|
||||
libnl = callPackage ../os-specific/linux/libnl {
|
||||
flex = flex2535;
|
||||
bison = bison24;
|
||||
};
|
||||
|
||||
linuxHeaders = linuxHeaders_2_6_28;
|
||||
|
||||
linuxHeaders26Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user