diff --git a/pkgs/development/python-modules/hickle/default.nix b/pkgs/development/python-modules/hickle/default.nix index 7298102fea84..ec802955c0d3 100644 --- a/pkgs/development/python-modules/hickle/default.nix +++ b/pkgs/development/python-modules/hickle/default.nix @@ -1,20 +1,22 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pythonOlder -, h5py -, numpy -, dill -, astropy -, scipy -, pandas -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchPypi, + pythonOlder, + h5py, + numpy, + dill, + astropy, + scipy, + pandas, + pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "hickle"; version = "5.0.3"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.5"; @@ -25,10 +27,12 @@ buildPythonPackage rec { postPatch = '' substituteInPlace tox.ini \ - --replace "--cov=./hickle" "" + --replace-fail "--cov=./hickle" "" ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ dill h5py numpy @@ -41,9 +45,7 @@ buildPythonPackage rec { scipy ]; - pythonImportsCheck = [ - "hickle" - ]; + pythonImportsCheck = [ "hickle" ]; disabledTests = [ # broken in 5.0.2 with recent NumPy