diff --git a/pkgs/development/python-modules/amazon-ion/default.nix b/pkgs/development/python-modules/amazon-ion/default.nix index a7569cd5d06a..0d4a9bd1578b 100644 --- a/pkgs/development/python-modules/amazon-ion/default.nix +++ b/pkgs/development/python-modules/amazon-ion/default.nix @@ -6,7 +6,7 @@ fetchFromGitHub, jsonconversion, pytestCheckHook, - pythonOlder, + pytest_7, setuptools, six, tabulate, @@ -17,8 +17,6 @@ buildPythonPackage rec { version = "0.13.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "amazon-ion"; repo = "ion-python"; @@ -33,9 +31,9 @@ buildPythonPackage rec { --replace "'pytest-runner'," "" ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ jsonconversion six ]; @@ -43,7 +41,7 @@ buildPythonPackage rec { nativeCheckInputs = [ cbor2 docopt - pytestCheckHook + (pytestCheckHook.override { pytest = pytest_7; }) tabulate ];