python3Packages.eigenpy: clean

This commit is contained in:
Guilhem Saurel
2025-09-24 19:04:53 +02:00
parent 3b0f4e48b2
commit 42d1ec4afb

View File

@@ -1,14 +1,16 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
writableTmpDirAsHomeHook,
fontconfig,
# nativeBuildInputs
cmake,
doxygen,
graphviz,
pkg-config,
scipy,
# buildInputs
@@ -18,7 +20,6 @@
eigen,
jrl-cmakemodules,
numpy,
}:
buildPythonPackage rec {
@@ -47,9 +48,6 @@ buildPythonPackage rec {
strictDeps = true;
# Fontconfig error: No writable cache directories
preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
# Fontconfig error: Cannot load default config file: No such file: (null)
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
@@ -57,7 +55,9 @@ buildPythonPackage rec {
cmake
doxygen
graphviz
pkg-config
scipy
writableTmpDirAsHomeHook
];
buildInputs = [ boost ];
@@ -68,7 +68,9 @@ buildPythonPackage rec {
numpy
];
preInstallCheck = "make test";
preInstallCheck = ''
make test
'';
pythonImportsCheck = [ "eigenpy" ];