mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
libnl: 3.7.0 -> 3.8.0
This commit is contained in:
parent
2c5b11db23
commit
1f98a82849
@ -1,23 +1,48 @@
|
||||
{ stdenv, file, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkg-config
|
||||
, pythonSupport ? false, swig ? null, python ? null}:
|
||||
{ stdenv
|
||||
, file
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, bison
|
||||
, flex
|
||||
, pkg-config
|
||||
, doxygen
|
||||
, graphviz
|
||||
, mscgen
|
||||
, asciidoc
|
||||
, sourceHighlight
|
||||
, pythonSupport ? false
|
||||
, swig ? null
|
||||
, python ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libnl";
|
||||
version = "3.7.0";
|
||||
version = "3.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "libnl";
|
||||
owner = "thom311";
|
||||
rev = "libnl${lib.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "sha256-Ty9NdWKWB29MTRfG5OJlSE0mSTN3Wy+sR4KtuExXcB4=";
|
||||
hash = "sha256-zVpoRlB5xDfo6wJkCJGGptuCXkNkriudtZF2Job9YD4=";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" ] ++ lib.optional pythonSupport "py";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook bison flex pkg-config file ]
|
||||
++ lib.optional pythonSupport swig;
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
bison
|
||||
flex
|
||||
pkg-config
|
||||
file
|
||||
doxygen
|
||||
graphviz
|
||||
mscgen
|
||||
asciidoc
|
||||
sourceHighlight
|
||||
] ++ lib.optional pythonSupport swig;
|
||||
|
||||
postBuild = lib.optionalString (pythonSupport) ''
|
||||
cd python
|
||||
|
Loading…
Reference in New Issue
Block a user