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