2015-06-03 01:45:26 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
|
2010-12-06 12:04:36 +00:00
|
|
|
|
2016-08-25 00:14:18 +01:00
|
|
|
let version = "3.2.28"; in
|
2015-06-03 01:45:26 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libnl-${version}";
|
2010-12-06 12:04:36 +00:00
|
|
|
|
2015-06-03 01:45:26 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-08-25 00:14:18 +01:00
|
|
|
sha256 = "02cm57z4h7rhjlxza07zhk02924acfz6m5gbmm5lbkkp6qh81328";
|
|
|
|
rev = "libnl3_2_28";
|
2015-06-03 01:45:26 +01:00
|
|
|
repo = "libnl";
|
|
|
|
owner = "thom311";
|
2010-12-06 12:04:36 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
2015-10-18 19:49:41 +01:00
|
|
|
|
2015-06-03 01:45:26 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
|
2010-12-06 12:04:36 +00:00
|
|
|
|
|
|
|
meta = {
|
2015-06-03 01:45:26 +01:00
|
|
|
inherit version;
|
2010-12-06 12:04:36 +00:00
|
|
|
homepage = "http://www.infradead.org/~tgr/libnl/";
|
|
|
|
description = "Linux NetLink interface library";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|