1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 21:39:21 +03:00
nixpkgs/pkgs/development/python-modules/aplpy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1 KiB
Nix
Raw Normal View History

2019-02-13 16:22:16 +01:00
{ lib
, astropy
, astropy-helpers
, buildPythonPackage
, cython
, fetchpatch
, fetchPypi
2019-02-13 16:22:16 +01:00
, matplotlib
, numpy
, pillow
2019-02-13 16:22:16 +01:00
, pyavm
, pyregion
, pytest-astropy
, pytestCheckHook
, pythonOlder
, reproject
2019-02-13 16:22:16 +01:00
, scikitimage
, shapely
}:
buildPythonPackage rec {
pname = "aplpy";
2022-04-01 19:52:18 +11:00
version = "2.1.0";
2020-12-28 14:50:25 -05:00
format = "pyproject";
2019-02-13 16:22:16 +01:00
disabled = pythonOlder "3.6";
2019-02-13 16:22:16 +01:00
src = fetchPypi {
2022-04-01 19:52:18 +11:00
pname = "aplpy";
2019-02-13 16:22:16 +01:00
inherit version;
hash = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4=";
2019-02-13 16:22:16 +01:00
};
nativeBuildInputs = [
astropy-helpers
];
2019-02-13 16:22:16 +01:00
propagatedBuildInputs = [
astropy
cython
2019-02-13 16:22:16 +01:00
matplotlib
numpy
pillow
2019-02-13 16:22:16 +01:00
pyavm
pyregion
reproject
2019-02-13 16:22:16 +01:00
scikitimage
shapely
];
checkInputs = [
pytest-astropy
pytestCheckHook
];
2019-07-23 12:50:21 +02:00
preCheck = ''
OPENMP_EXPECTED=0
2019-07-23 12:50:21 +02:00
'';
pythonImportsCheck = [
"aplpy"
];
2019-02-13 16:22:16 +01:00
meta = with lib; {
description = "The Astronomical Plotting Library in Python";
homepage = "http://aplpy.github.io";
2019-02-13 16:22:16 +01:00
license = licenses.mit;
maintainers = with maintainers; [ smaret ];
2019-02-13 16:22:16 +01:00
};
}