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