pythonPackages.aplpy: init at 2.0.3

This commit is contained in:
Sébastien Maret 2019-02-13 16:22:16 +01:00
parent 646eb81a37
commit 16fbffa6df
No known key found for this signature in database
GPG Key ID: 86E30E5A0F5FC59C
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, astropy
, astropy-helpers
, matplotlib
, reproject
, pyavm
, pyregion
, pillow
, scikitimage
, shapely
}:
buildPythonPackage rec {
pname = "aplpy";
version = "2.0.3";
doCheck = false; # tests require pytest-astropy
src = fetchPypi {
pname = "APLpy";
inherit version;
sha256 = "239f3d83635ca4251536aeb577df7c60df77fc4d658097b92094719739aec3f3";
};
propagatedBuildInputs = [
numpy
astropy
astropy-helpers
matplotlib
reproject
pyavm
pyregion
pillow
scikitimage
shapely
];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
meta = with lib; {
description = "The Astronomical Plotting Library in Python";
homepage = http://aplpy.github.io;
license = licenses.mit;
maintainers = [ maintainers.smaret ];
};
}

View File

@ -178,6 +178,8 @@ in {
ansicolor = callPackage ../development/python-modules/ansicolor { }; ansicolor = callPackage ../development/python-modules/ansicolor { };
aplpy = callPackage ../development/python-modules/aplpy { };
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { }; argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };
asana = callPackage ../development/python-modules/asana { }; asana = callPackage ../development/python-modules/asana { };