mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
bfc2a38651
svn path=/nixpkgs/trunk/; revision=25365
28 lines
675 B
Nix
28 lines
675 B
Nix
{stdenv, fetchurl, bison, flex}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libnl-1.1";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}files/${name}.tar.gz";
|
|
sha256 = "1hzd48z8h8abkclq90wb7cciynpg3pwgyd0gzb5g12ndnv7s9kim";
|
|
};
|
|
|
|
buildInputs = [ bison flex ];
|
|
postConfigure = "type -tp flex";
|
|
|
|
patches = [
|
|
./libnl-1.1-flags.patch
|
|
./libnl-1.1-glibc-2.8-ULONG_MAX.patch
|
|
./libnl-1.1-minor-leaks.patch
|
|
./libnl-1.1-vlan-header.patch
|
|
];
|
|
|
|
meta = {
|
|
homepage = "http://www.infradead.org/~tgr/libnl/";
|
|
description = "Linux NetLink interface library";
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|