1{ lib 2, fetchPypi 3, buildPythonPackage 4, setuptools-scm 5, astropy 6, numpy 7, matplotlib 8, scipy 9, six 10, pytestCheckHook 11, pytest-astropy 12}: 13 14buildPythonPackage rec { 15 pname = "radio-beam"; 16 version = "0.3.6"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-U+IjOTt7x9uzUl7IcQRu2s+MBKF/OR+sLddvHmp9hqU="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools-scm 26 ]; 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 = [ 42 "radio_beam" 43 ]; 44 45 meta = with lib; { 46 description = "Tools for Beam IO and Manipulation"; 47 homepage = "http://radio-astro-tools.github.io"; 48 changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}"; 49 license = licenses.bsd3; 50 maintainers = with maintainers; [ smaret ]; 51 }; 52} 53 54