3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/astropy/default.nix
R. RyanTM 956aace12d
python37Packages.astropy: 3.1.2 -> 3.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-astropy/versions
2019-06-19 21:42:06 -05:00

33 lines
786 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, numpy
, pytest }:
buildPythonPackage rec {
pname = "astropy";
version = "3.2.1";
disabled = !isPy3k; # according to setup.py
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 = "706c0457789c78285e5464a5a336f5f0b058d646d60f4e5f5ba1f7d5bf424b28";
};
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
meta = {
description = "Astronomy/Astrophysics library for Python";
homepage = https://www.astropy.org;
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ kentjames ];
};
}