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