1 { lib, buildPythonPackage, fetchPypi, numpy, pytestCheckHook }:
3 buildPythonPackage rec {
9 sha256 = "sha256-SSkR6KTEeDB5GwO5oP/ff8ZfaF0cuzoXkLHqKIrn+uU=";
12 propagatedBuildInputs = [ numpy ];
14 # Weird import error, only happens in testing:
15 # File "/build/jplephem-2.17/jplephem/daf.py", line 10, in <module>
16 # from numpy import array as numpy_array, ndarray
17 # ImportError: cannot import name 'array' from 'sys' (unknown location)
20 pythonImportsCheck = [ "jplephem" ];
23 homepage = "https://github.com/brandon-rhodes/python-jplephem/";
24 description = "Python version of NASA DE4xx ephemerides, the basis for the Astronomical Alamanac";
25 license = licenses.mit;
26 maintainers = with maintainers; [ zane ];