1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/python-modules/astropy/default.nix

32 lines
764 B
Nix
Raw Normal View History

2017-06-07 16:02:42 +01:00
{ lib
, fetchPypi
, buildPythonPackage
, numpy
2017-09-06 16:15:30 +01:00
, pytest }:
2017-06-07 16:02:42 +01:00
buildPythonPackage rec {
pname = "astropy";
2017-12-30 11:21:40 +00:00
version = "2.0.3";
2017-06-07 16:02:42 +01:00
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;
2017-12-30 11:21:40 +00:00
sha256 = "fdfc0248f6250798ed6d1327be609cb901db89ae01fc768cfbc9e263bdf56f4f";
2017-06-07 16:02:42 +01:00
};
2017-09-06 16:15:30 +01:00
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
2017-06-07 16:02:42 +01:00
meta = {
description = "Astronomy/Astrophysics library for Python";
homepage = http://www.astropy.org;
2017-06-07 16:02:42 +01:00
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ kentjames ];
};
}