at 24.05-pre 1.1 kB view raw
1{ lib 2, astropy 3, buildPythonPackage 4, fetchpatch 5, fetchPypi 6, matplotlib 7, numpy 8, pillow 9, pyavm 10, pyregion 11, pytest-astropy 12, pytestCheckHook 13, pythonOlder 14, reproject 15, scikit-image 16, setuptools 17, setuptools-scm 18, shapely 19, wheel 20}: 21 22buildPythonPackage rec { 23 pname = "aplpy"; 24 version = "2.1.0"; 25 format = "pyproject"; 26 27 disabled = pythonOlder "3.6"; 28 29 src = fetchPypi { 30 pname = "aplpy"; 31 inherit version; 32 hash = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4="; 33 }; 34 35 nativeBuildInputs = [ 36 setuptools 37 setuptools-scm 38 wheel 39 ]; 40 41 propagatedBuildInputs = [ 42 astropy 43 matplotlib 44 numpy 45 pillow 46 pyavm 47 pyregion 48 reproject 49 scikit-image 50 shapely 51 ]; 52 53 nativeCheckInputs = [ 54 pytest-astropy 55 pytestCheckHook 56 ]; 57 58 preCheck = '' 59 OPENMP_EXPECTED=0 60 ''; 61 62 pythonImportsCheck = [ 63 "aplpy" 64 ]; 65 66 meta = with lib; { 67 description = "The Astronomical Plotting Library in Python"; 68 homepage = "http://aplpy.github.io"; 69 license = licenses.mit; 70 maintainers = with maintainers; [ smaret ]; 71 }; 72}