1{ stdenv, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
2
3let version = "3.3.0"; in
4stdenv.mkDerivation {
5 name = "libnl-${version}";
6
7 src = fetchFromGitHub {
8 repo = "libnl";
9 owner = "thom311";
10 rev = "libnl${lib.replaceStrings ["."] ["_"] version}";
11 sha256 = "1796kyq2lkhz2802v9kp32vlxf8ynlyqgyw9nhmry3qh5d0ahcsv";
12 };
13
14 outputs = [ "bin" "dev" "out" "man" ];
15
16 nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
17
18 meta = with lib; {
19 inherit version;
20 homepage = http://www.infradead.org/~tgr/libnl/;
21 description = "Linux Netlink interface library suite";
22 license = licenses.lgpl21;
23 maintainers = with maintainers; [ fpletz ];
24 platforms = platforms.linux;
25 };
26}