mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
c0f88f637f
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
33 lines
771 B
Nix
33 lines
771 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, numpy
|
|
, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "astropy";
|
|
version = "3.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 = "1ldmdwfp0g8293k4gyp962nv7ik4zw83p1khkq8jqkzmk7qf040y";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|
|
|