python3Packages.graph-tool: perform more import checks

This commit is contained in:
Martin Joerg
2025-11-28 13:59:16 +00:00
parent a5a31d13fa
commit 3692a637e7
@@ -9,6 +9,7 @@
cairomm,
cgal,
expat,
fontconfig,
gobject-introspection,
gtk3,
llvmPackages,
@@ -99,7 +100,14 @@ buildPythonPackage rec {
propagatedNativeBuildInputs = [ gobject-introspection ];
pythonImportsCheck = [ "graph_tool" ];
preInstallCheck =
# avoid warnings about Matplotlib and Fontconfig configuration issues
''
export HOME=$(mktemp -d)
export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf
'';
pythonImportsCheck = [ "graph_tool.all" ];
passthru.updateScript = gitUpdater {
url = "https://git.skewed.de/count0/graph-tool";