mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
0a7624484d
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
36 lines
792 B
Nix
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 ];
|
|
};
|
|
}
|