diff --git a/pkgs/development/python-modules/drms/default.nix b/pkgs/development/python-modules/drms/default.nix index 561ec9a7a98..613d2444d73 100644 --- a/pkgs/development/python-modules/drms/default.nix +++ b/pkgs/development/python-modules/drms/default.nix @@ -4,13 +4,15 @@ , numpy , pandas , six -, pytest -, python +, astropy +, pytestCheckHook +, pytest-doctestplus }: buildPythonPackage rec { pname = "drms"; version = "0.6.0"; + format = "pyproject"; src = fetchPypi { inherit pname version; @@ -24,13 +26,11 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest + astropy + pytestCheckHook + pytest-doctestplus ]; - checkPhase = '' - ${python.interpreter} -m drms.tests - ''; - meta = with lib; { description = "Access HMI, AIA and MDI data with Python"; homepage = "https://github.com/sunpy/drms";