pkgs.python.astropy: init at 1.3.3

This commit is contained in:
James Kent 2017-06-07 17:02:42 +02:00 committed by Frederik Rietdijk
parent 50103e9c08
commit 3cb5d52dac
3 changed files with 35 additions and 0 deletions

View File

@ -269,6 +269,7 @@
kaiha = "Kai Harries <kai.harries@gmail.com>";
kamilchm = "Kamil Chmielewski <kamil.chm@gmail.com>";
kampfschlaefer = "Arnold Krille <arnold@arnoldarts.de>";
kentjames = "James Kent <jameschristopherkent@gmail.com";
kevincox = "Kevin Cox <kevincox@kevincox.ca>";
khumba = "Bryan Gardiner <bog@khumba.net>";
KibaFox = "Kiba Fox <kiba.fox@foxypossibilities.com>";

View File

@ -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 ];
};
}

View File

@ -141,6 +141,8 @@ in {
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
astropy = callPackage ../development/python-modules/astropy { };
automat = callPackage ../development/python-modules/automat { };
# packages defined elsewhere