17 buildPythonPackage rec {
22 src = fetchFromGitHub {
23 owner = "skyfielders";
24 repo = "python-skyfield";
26 hash = "sha256-PZ63sohdfpop3nYQr2RIMjPbrL9jdfincEhw5D8NZ+Y=";
29 # Fix broken tests on "exotic" platforms.
30 # https://github.com/skyfielders/python-skyfield/issues/582#issuecomment-822033858
32 substituteInPlace skyfield/tests/test_planetarylib.py \
33 --replace-fail "if IS_32_BIT" "if True"
36 build-system = [ setuptools ];
56 assay --batch skyfield.tests
61 pythonImportsCheck = [ "skyfield" ];
64 homepage = "https://github.com/skyfielders/python-skyfield";
65 description = "Elegant astronomy for Python";
66 license = licenses.mit;
67 maintainers = with maintainers; [ zane ];