1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools-scm, 6 astropy, 7 numpy, 8 matplotlib, 9 scipy, 10 six, 11 pytestCheckHook, 12 pytest-astropy, 13}: 14 15buildPythonPackage rec { 16 pname = "radio-beam"; 17 version = "0.3.9"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit version; 22 pname = "radio_beam"; # Tarball was uploaded with an underscore in this version 23 hash = "sha256-m1/qe8ybJlQyE3hGM7MugWMMnAhVB3t6v0tGz42E5kQ="; 24 }; 25 26 nativeBuildInputs = [ setuptools-scm ]; 27 28 propagatedBuildInputs = [ 29 astropy 30 numpy 31 scipy 32 six 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 matplotlib 38 pytest-astropy 39 ]; 40 41 pythonImportsCheck = [ "radio_beam" ]; 42 43 meta = with lib; { 44 description = "Tools for Beam IO and Manipulation"; 45 homepage = "http://radio-astro-tools.github.io"; 46 changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}"; 47 license = licenses.bsd3; 48 maintainers = with maintainers; [ smaret ]; 49 }; 50}