python3Packages.eigenpy: clean
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
fontconfig,
|
fontconfig,
|
||||||
|
|
||||||
# nativeBuildInputs
|
# nativeBuildInputs
|
||||||
cmake,
|
cmake,
|
||||||
doxygen,
|
doxygen,
|
||||||
graphviz,
|
graphviz,
|
||||||
|
pkg-config,
|
||||||
scipy,
|
scipy,
|
||||||
|
|
||||||
# buildInputs
|
# buildInputs
|
||||||
@@ -18,7 +20,6 @@
|
|||||||
eigen,
|
eigen,
|
||||||
jrl-cmakemodules,
|
jrl-cmakemodules,
|
||||||
numpy,
|
numpy,
|
||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -47,9 +48,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
strictDeps = true;
|
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)
|
# Fontconfig error: Cannot load default config file: No such file: (null)
|
||||||
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||||
|
|
||||||
@@ -57,7 +55,9 @@ buildPythonPackage rec {
|
|||||||
cmake
|
cmake
|
||||||
doxygen
|
doxygen
|
||||||
graphviz
|
graphviz
|
||||||
|
pkg-config
|
||||||
scipy
|
scipy
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ boost ];
|
buildInputs = [ boost ];
|
||||||
@@ -68,7 +68,9 @@ buildPythonPackage rec {
|
|||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
preInstallCheck = "make test";
|
preInstallCheck = ''
|
||||||
|
make test
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "eigenpy" ];
|
pythonImportsCheck = [ "eigenpy" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user