diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-12-06 12:04:36 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-12-06 12:04:36 +0000 |
commit | c87a2ea7134713baaa97949716097ffe05e6e5d3 (patch) | |
tree | 74be4bfd813ed298b3379cd383427a2db709db59 /pkgs/os-specific/linux/libnl | |
parent | f3d403097944331d14411f1841d53a788cb1f50f (diff) |
Add Netlink library
svn path=/nixpkgs/trunk/; revision=24996
Diffstat (limited to 'pkgs/os-specific/linux/libnl')
-rw-r--r-- | pkgs/os-specific/linux/libnl/default.nix | 20 |
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 0000000000000..cbe938d2ee411 --- /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; + }; +} |