2015-06-03 01:45:26 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
|
2010-12-06 12:04:36 +00:00
|
|
|
|
2016-04-13 00:11:00 +01:00
|
|
|
let version = "3.2.27"; 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-04-13 00:11:00 +01:00
|
|
|
sha256 = "1rc8plgl2ijq2pwlzinpfr06kiggjyx71r3lw505m6rvxvdac82r";
|
|
|
|
rev = "libnl3_2_27";
|
2015-06-03 01:45:26 +01:00
|
|
|
repo = "libnl";
|
|
|
|
owner = "thom311";
|
2010-12-06 12:04:36 +00:00
|
|
|
};
|
|
|
|
|
2015-10-18 19:49:41 +01:00
|
|
|
outputs = [ "dev" "bin" "out" "man" ];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|