diff options
author | James Kent <jameschristopherkent@gmail.com> | 2017-06-07 17:02:42 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-08 17:50:22 +0200 |
commit | 3cb5d52dacba10121f7a20dbbd18a856f849a3a7 (patch) | |
tree | d9a4c36c6e2828e14e79dfd647abcf8a4d61d7ce /pkgs/development/python-modules/astropy | |
parent | 50103e9c0874e66af13b8b7a76b6be588a215419 (diff) |
pkgs.python.astropy: init at 1.3.3
Diffstat (limited to 'pkgs/development/python-modules/astropy')
-rw-r--r-- | pkgs/development/python-modules/astropy/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix new file mode 100644 index 0000000000000..6e3e66167f1d6 --- /dev/null +++ b/pkgs/development/python-modules/astropy/default.nix @@ -0,0 +1,32 @@ +{ lib +, fetchPypi +, buildPythonPackage +, numpy +, cython +, h5py +, scipy }: + +buildPythonPackage rec { + + pname = "astropy"; + version = "1.3.3"; + + name = "${pname}-${version}"; + doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook. + src = fetchPypi { + inherit pname version; + sha256 = "ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99"; + }; + propagatedBuildInputs = [ numpy cython h5py scipy ]; + + + meta = { + description = "Astronomy/Astrophysics library for Python"; + homepage = "http://www.astropy.org"; + license = lib.licenses.bsd3; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ kentjames ]; + }; +} + + |