aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/astropy
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-20 14:30:01 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-20 17:32:48 +0100
commit3d989e3d7a27c0c01f97ee5817f5dd1223f13f93 (patch)
treed5b0a687ab29fec15f279a38d4a9210a8c213a58 /pkgs/development/python-modules/astropy
parentb34af91889356f815156adf9dd13263ded5ab773 (diff)
pythonPackages.astropy: disable for python 2
Diffstat (limited to 'pkgs/development/python-modules/astropy')
-rw-r--r--pkgs/development/python-modules/astropy/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix
index ccf988fc56db..4ff4841cf5f9 100644
--- a/pkgs/development/python-modules/astropy/default.nix
+++ b/pkgs/development/python-modules/astropy/default.nix
@@ -1,16 +1,18 @@
{ lib
, fetchPypi
, buildPythonPackage
+, isPy3k
, numpy
, pytest }:
buildPythonPackage rec {
-
pname = "astropy";
version = "3.0";
- name = "${pname}-${version}";
+ 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 = "9e0ad19b9d6d227bdf0932bbe64a8c5dd4a47d4ec078586cf24bf9f0c61d9ecf";
@@ -18,7 +20,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
-
meta = {
description = "Astronomy/Astrophysics library for Python";
homepage = http://www.astropy.org;