Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 764 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, numpy 5, pytest }: 6 7buildPythonPackage rec { 8 9 pname = "astropy"; 10 version = "2.0.1"; 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 = "25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e"; 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