Files
nixpkgs/pkgs/development/python-modules/astropy/default.nix
R. RyanTM 239f5e8376 python37Packages.astropy: 3.1.1 -> 3.1.2 (#57383)
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-03-23 12:05:56 +01:00

33 lines
773 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, numpy
, pytest }:
buildPythonPackage rec {
pname = "astropy";
version = "3.1.2";
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 = "1plyx3gcsff02g4yclvhlcdj8bh1lnm98d7h6wdabl36jvnahy2a";
};
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
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 ];
};
}