3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/reproject/default.nix
R. RyanTM 0a7624484d python37Packages.reproject: 0.4 -> 0.5.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-reproject/versions
2019-09-28 14:05:58 -07:00

36 lines
792 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, astropy
, astropy-healpix
, astropy-helpers
, scipy
}:
buildPythonPackage rec {
pname = "reproject";
version = "0.5.1";
doCheck = false; # tests require pytest-astropy
src = fetchPypi {
inherit pname version;
sha256 = "069rha55cbm8vsi1qf8zydds42lgkcc97sd57hmjw1mgiz025xrp";
};
propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
meta = with lib; {
description = "Reproject astronomical images";
homepage = https://reproject.readthedocs.io;
license = licenses.bsd3;
maintainers = [ maintainers.smaret ];
};
}