python3Packages.atomman: relax dependency

This commit is contained in:
Lein Matsumaru
2022-11-27 12:16:30 +00:00
parent c32deeb053
commit 77cfcd4940
@@ -20,6 +20,7 @@
, setuptools
, toolz
, xmltodict
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
@@ -38,6 +39,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
setuptools
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@@ -54,6 +56,8 @@ buildPythonPackage rec {
xmltodict
];
pythonRelaxDeps = [ "potentials" ];
preCheck = ''
# By default, pytestCheckHook imports atomman from the current directory
# instead of from where `pip` installs it and fails due to missing Cython