python3Packages.reproject: 0.6 -> 0.7.1, fix build

This commit is contained in:
Jonathan Ringer 2020-06-20 15:30:32 -07:00 committed by Jon
parent b5453127da
commit 6647b4c99f

View file

@ -6,30 +6,26 @@
, astropy , astropy
, astropy-healpix , astropy-healpix
, astropy-helpers , astropy-helpers
, extension-helpers
, scipy , scipy
, pytest , pytest
, pytest-astropy , pytest-astropy
, setuptools_scm
, cython , cython
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "reproject"; pname = "reproject";
version = "0.6"; version = "0.7.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "484fde86d70d972d703038f138d7c2966ddf51171a6e79bd84e82ea270e27af3"; sha256 = "1jsc3ad518vyys5987fr1achq8qvnz8rm80zp5an9qxlwr4zmh4m";
}; };
propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ]; propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ];
nativeBuildInputs = [ astropy-helpers cython ]; nativeBuildInputs = [ astropy-helpers cython extension-helpers setuptools_scm ];
# 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 # Disable automatic update of the astropy-helper module
postPatch = '' postPatch = ''