nixpkgs/pkgs/os-specific/linux/libnl/default.nix
2016-05-03 16:15:20 +02:00

26 lines
667 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
let version = "3.2.27"; in
stdenv.mkDerivation {
name = "libnl-${version}";
src = fetchFromGitHub {
sha256 = "1rc8plgl2ijq2pwlzinpfr06kiggjyx71r3lw505m6rvxvdac82r";
rev = "libnl3_2_27";
repo = "libnl";
owner = "thom311";
};
outputs = [ "dev" "bin" "out" "man" ];
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
meta = {
inherit version;
homepage = "http://www.infradead.org/~tgr/libnl/";
description = "Linux NetLink interface library";
maintainers = [ stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.linux;
};
}