python3Packages.graph-tool: fix dependency categories

This commit is contained in:
Martin Joerg
2025-11-28 13:59:16 +00:00
parent 04168995a1
commit a5a31d13fa
@@ -9,7 +9,6 @@
cairomm,
cgal,
expat,
gmp,
gobject-introspection,
gtk3,
llvmPackages,
@@ -22,6 +21,7 @@
python,
scipy,
sparsehash,
zstandard,
gitUpdater,
}:
@@ -74,26 +74,30 @@ buildPythonPackage rec {
enableParallelBuilding = true;
build-system = [ pkg-config ];
nativeBuildInputs = [ pkg-config ];
# https://graph-tool.skewed.de/installation.html#manual-compilation
dependencies = [
buildInputs = [
boost'
cairomm
cgal
expat
gmp
gobject-introspection
mpfr
sparsehash
]
++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
dependencies = [
gtk3
matplotlib
mpfr
numpy
pycairo
pygobject3
scipy
sparsehash
]
++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
zstandard
];
propagatedNativeBuildInputs = [ gobject-introspection ];
pythonImportsCheck = [ "graph_tool" ];