libnl: 3.7.0 -> 3.8.0

This commit is contained in:
Maciej Krüger 2023-11-29 00:58:48 +01:00
parent 2c5b11db23
commit 1f98a82849
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

View File

@ -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