9a9db29d75
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.6-astropy/versions
32 lines
773 B
Nix
32 lines
773 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, numpy
|
|
, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "astropy";
|
|
version = "3.0.5";
|
|
|
|
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 = "0xldn6mh97pnkq915bacj8my9gy2kx58rrdm44496qla5i1gzlc2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|
|
|