igraph: 0.9.10 -> 0.10.2

https://github.com/igraph/igraph/blob/0.10.2/CHANGELOG.md
This commit is contained in:
Robert Schütz 2022-11-10 10:23:05 -08:00 committed by Robert Schütz
parent e37d7ea412
commit b6ab99e519

View file

@ -17,7 +17,6 @@
, plfit
, python3
, sourceHighlight
, suitesparse
, xmlto
}:
@ -27,22 +26,17 @@ assert (blas.isILP64 == lapack.isILP64 &&
stdenv.mkDerivation rec {
pname = "igraph";
version = "0.9.10";
version = "0.10.2";
src = fetchFromGitHub {
owner = "igraph";
repo = pname;
rev = version;
hash = "sha256-prDadHsNhDRkNp1i0niKIYxE0g85Zs0ngvUy6uK8evk=";
hash = "sha256-6zX9hyz/8H7r+wzpVwz8jDMfd3nqit3pT+wlP0C40Rg=";
};
postPatch = ''
echo "${version}" > IGRAPH_VERSION
'' + lib.optionalString stdenv.isAarch64 ''
# https://github.com/igraph/igraph/issues/1694
substituteInPlace tests/CMakeLists.txt \
--replace "igraph_scg_grouping3" "" \
--replace "igraph_scg_semiprojectors2" ""
'';
outputs = [ "out" "dev" "doc" ];
@ -68,7 +62,6 @@ stdenv.mkDerivation rec {
lapack
libxml2
plfit
suitesparse
] ++ lib.optionals stdenv.cc.isClang [
llvmPackages.openmp
];
@ -78,7 +71,6 @@ stdenv.mkDerivation rec {
"-DIGRAPH_USE_INTERNAL_LAPACK=OFF"
"-DIGRAPH_USE_INTERNAL_ARPACK=OFF"
"-DIGRAPH_USE_INTERNAL_GLPK=OFF"
"-DIGRAPH_USE_INTERNAL_CXSPARSE=OFF"
"-DIGRAPH_USE_INTERNAL_GMP=OFF"
"-DIGRAPH_USE_INTERNAL_PLFIT=OFF"
"-DIGRAPH_GLPK_SUPPORT=ON"
@ -101,7 +93,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
description = "The network analysis package";
description = "C library for complex network analysis and graph theory";
homepage = "https://igraph.org/";
changelog = "https://github.com/igraph/igraph/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl2Plus;