nixpkgs/pkgs/os-specific/linux/libnl/default.nix
2015-10-28 10:23:01 +01:00

25 lines
667 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
let version = "3.2.26"; in
stdenv.mkDerivation {
name = "libnl-${version}";
src = fetchFromGitHub {
sha256 = "1cbqdhirn6hxmv8xkm8xp3n6ayyxw7sbi15fym167rdz0h9rkhmm";
rev = "libnl3_2_26";
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;
};
}