Skip to content

Commit

Permalink
pythonPackages.reproject: fix tests
Browse files Browse the repository at this point in the history
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
  • Loading branch information
smaret and Jon committed Feb 26, 2020
1 parent 705afab commit a0f50fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/reproject/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, numpy
, astropy
, astropy-healpix
Expand All @@ -24,6 +25,12 @@ buildPythonPackage rec {

nativeBuildInputs = [ astropy-helpers cython ];

# Fix tests
patches = [ (fetchpatch {
url = "https://github.com/astropy/reproject/pull/218/commits/4661e075137424813ed77f1ebcbc251fee1b8467.patch";
sha256 = "13g3h824pqn2lgypzg1b87vkd44y7m302lhw3kh4rfww1dkzhm9v";
}) ];

# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
Expand Down

0 comments on commit a0f50fe

Please sign in to comment.