From 39df1e526dc17f4a05a1619de0f5dcfefb9282a2 Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Mon, 28 Dec 2020 13:23:44 -0500 Subject: [PATCH] python3Packages.drms: unbreak --- pkgs/development/python-modules/drms/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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";