1{ lib 2, fetchPypi 3, buildPythonPackage 4, astropy 5, radio_beam 6, pytest }: 7 8buildPythonPackage rec { 9 pname = "spectral-cube"; 10 version = "0.4.3"; 11 12 doCheck = false; # the tests requires several pytest plugins that are not in nixpkgs 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "057g3mzlg5cy4wg2hh3p6gssn93rs6i7pswzhldvcq4k8m8hsl3b"; 17 }; 18 19 propagatedBuildInputs = [ astropy radio_beam pytest ]; 20 21 meta = { 22 description = "Library for reading and analyzing astrophysical spectral data cubes"; 23 homepage = http://radio-astro-tools.github.io; 24 license = lib.licenses.bsd3; 25 platforms = lib.platforms.all; 26 maintainers = with lib.maintainers; [ smaret ]; 27 }; 28} 29 30