python3Packages.radio_beam: 0.3.3 -> 0.3.4

- Upgrade to the latest upstream
 - Fix checkInputs
 - Include tests that were skipped previously
This commit is contained in:
Sébastien Maret 2022-09-27 20:07:16 +02:00
parent 5f07258cac
commit 4de34f80ce

View file

@ -4,21 +4,22 @@
, setuptools-scm , setuptools-scm
, astropy , astropy
, numpy , numpy
, matplotlib
, scipy , scipy
, six , six
, pytestCheckHook , pytestCheckHook
, pytest-doctestplus , pytest-astropy
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "radio_beam"; pname = "radio_beam";
version = "0.3.3"; version = "0.3.4";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "radio-beam"; pname = "radio-beam";
sha256 = "e34902d91713ccab9f450b9d3e82317e292cf46a30bd42f9ad3c9a0519fcddcd"; sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,14 +35,10 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytest-doctestplus matplotlib
pytest-astropy
]; ];
# Tests must be run in the build directory
preCheck = ''
cd build/lib
'';
meta = { meta = {
description = "Tools for Beam IO and Manipulation"; description = "Tools for Beam IO and Manipulation";
homepage = "http://radio-astro-tools.github.io"; homepage = "http://radio-astro-tools.github.io";