1{ lib 2, fetchPypi 3, buildPythonPackage 4, numpy 5, cython 6, h5py 7, scipy }: 8 9buildPythonPackage rec { 10 11 pname = "astropy"; 12 version = "2.0.1"; 13 14 name = "${pname}-${version}"; 15 doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook. 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e"; 19 }; 20 propagatedBuildInputs = [ numpy cython h5py scipy ]; 21 22 23 meta = { 24 description = "Astronomy/Astrophysics library for Python"; 25 homepage = http://www.astropy.org; 26 license = lib.licenses.bsd3; 27 platforms = lib.platforms.all; 28 maintainers = with lib.maintainers; [ kentjames ]; 29 }; 30} 31 32