igraph: 0.9.10 -> 0.10.2
https://github.com/igraph/igraph/blob/0.10.2/CHANGELOG.md
This commit is contained in:
parent
e37d7ea412
commit
b6ab99e519
|
@ -17,7 +17,6 @@
|
||||||
, plfit
|
, plfit
|
||||||
, python3
|
, python3
|
||||||
, sourceHighlight
|
, sourceHighlight
|
||||||
, suitesparse
|
|
||||||
, xmlto
|
, xmlto
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -27,22 +26,17 @@ assert (blas.isILP64 == lapack.isILP64 &&
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "igraph";
|
pname = "igraph";
|
||||||
version = "0.9.10";
|
version = "0.10.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "igraph";
|
owner = "igraph";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-prDadHsNhDRkNp1i0niKIYxE0g85Zs0ngvUy6uK8evk=";
|
hash = "sha256-6zX9hyz/8H7r+wzpVwz8jDMfd3nqit3pT+wlP0C40Rg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo "${version}" > IGRAPH_VERSION
|
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" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
@ -68,7 +62,6 @@ stdenv.mkDerivation rec {
|
||||||
lapack
|
lapack
|
||||||
libxml2
|
libxml2
|
||||||
plfit
|
plfit
|
||||||
suitesparse
|
|
||||||
] ++ lib.optionals stdenv.cc.isClang [
|
] ++ lib.optionals stdenv.cc.isClang [
|
||||||
llvmPackages.openmp
|
llvmPackages.openmp
|
||||||
];
|
];
|
||||||
|
@ -78,7 +71,6 @@ stdenv.mkDerivation rec {
|
||||||
"-DIGRAPH_USE_INTERNAL_LAPACK=OFF"
|
"-DIGRAPH_USE_INTERNAL_LAPACK=OFF"
|
||||||
"-DIGRAPH_USE_INTERNAL_ARPACK=OFF"
|
"-DIGRAPH_USE_INTERNAL_ARPACK=OFF"
|
||||||
"-DIGRAPH_USE_INTERNAL_GLPK=OFF"
|
"-DIGRAPH_USE_INTERNAL_GLPK=OFF"
|
||||||
"-DIGRAPH_USE_INTERNAL_CXSPARSE=OFF"
|
|
||||||
"-DIGRAPH_USE_INTERNAL_GMP=OFF"
|
"-DIGRAPH_USE_INTERNAL_GMP=OFF"
|
||||||
"-DIGRAPH_USE_INTERNAL_PLFIT=OFF"
|
"-DIGRAPH_USE_INTERNAL_PLFIT=OFF"
|
||||||
"-DIGRAPH_GLPK_SUPPORT=ON"
|
"-DIGRAPH_GLPK_SUPPORT=ON"
|
||||||
|
@ -101,7 +93,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The network analysis package";
|
description = "C library for complex network analysis and graph theory";
|
||||||
homepage = "https://igraph.org/";
|
homepage = "https://igraph.org/";
|
||||||
changelog = "https://github.com/igraph/igraph/blob/${src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/igraph/igraph/blob/${src.rev}/CHANGELOG.md";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
|
Loading…
Reference in a new issue