From 4de34f80ce957282489f489e27ad9176c360e2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maret?= Date: Tue, 27 Sep 2022 20:07:16 +0200 Subject: [PATCH] python3Packages.radio_beam: 0.3.3 -> 0.3.4 - Upgrade to the latest upstream - Fix checkInputs - Include tests that were skipped previously --- .../python-modules/radio_beam/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/radio_beam/default.nix b/pkgs/development/python-modules/radio_beam/default.nix index bcb099887695..aa56e223237b 100644 --- a/pkgs/development/python-modules/radio_beam/default.nix +++ b/pkgs/development/python-modules/radio_beam/default.nix @@ -4,21 +4,22 @@ , setuptools-scm , astropy , numpy +, matplotlib , scipy , six , pytestCheckHook -, pytest-doctestplus +, pytest-astropy }: buildPythonPackage rec { pname = "radio_beam"; - version = "0.3.3"; + version = "0.3.4"; format = "pyproject"; src = fetchPypi { inherit version; pname = "radio-beam"; - sha256 = "e34902d91713ccab9f450b9d3e82317e292cf46a30bd42f9ad3c9a0519fcddcd"; + sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309"; }; nativeBuildInputs = [ @@ -34,14 +35,10 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook - pytest-doctestplus + matplotlib + pytest-astropy ]; - # Tests must be run in the build directory - preCheck = '' - cd build/lib - ''; - meta = { description = "Tools for Beam IO and Manipulation"; homepage = "http://radio-astro-tools.github.io";