Unverified Commit 75acbc19 authored by Zane van Iperen's avatar Zane van Iperen
Browse files

python3Packages.skyfield: work-around broken tests on aarch64

parent 34ed5eaa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13,6 +13,13 @@ buildPythonPackage rec {
    hash = "sha256-kZrXNVE+JGPGiVsd6CTwOqfciYLsD2A4pTS3FpqO+Dk=";
  };

  # Fix broken tests on "exotic" platforms.
  # https://github.com/skyfielders/python-skyfield/issues/582#issuecomment-822033858
  postPatch = ''
    substituteInPlace skyfield/tests/test_planetarylib.py \
      --replace "if IS_32_BIT" "if True"
  '';

  propagatedBuildInputs = [ certifi numpy sgp4 jplephem ];

  nativeCheckInputs = [ pandas ipython matplotlib assay ];