python312Packages.medpy: refactor

This commit is contained in:
Fabian Affolter 2024-04-03 21:44:47 +02:00 committed by GitHub
parent 755d71835b
commit 6fd31398c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,11 +24,11 @@ buildPythonPackage rec {
hash = "sha256-kzOTYBcXAAEYoe/m/BjWNaQX4ljG17NxndevAt5KxjQ=";
};
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
boost
numpy
scipy
@ -38,6 +38,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
unittestCheckHook
];
preCheck = ''
rm -r medpy/ # prevent importing from build directory at test time
rm -r tests/graphcut_ # SIGILL at test time