From 77cfcd49406196294b5aebb20f6167377f94aace Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Sun, 27 Nov 2022 12:16:30 +0000 Subject: [PATCH] python3Packages.atomman: relax dependency --- pkgs/development/python-modules/atomman/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/atomman/default.nix b/pkgs/development/python-modules/atomman/default.nix index ca2075cab7a3..f7255f5483fa 100644 --- a/pkgs/development/python-modules/atomman/default.nix +++ b/pkgs/development/python-modules/atomman/default.nix @@ -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