at 24.05-pre 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, h5py 5, numpy 6, pandas 7, pytestCheckHook 8, pytest-mock 9, pytest-remotedata 10, pytest-rerunfailures 11, pytest-timeout 12, pythonOlder 13, pytz 14, requests 15, requests-mock 16, scipy 17, setuptools 18, setuptools-scm 19, wheel 20}: 21 22buildPythonPackage rec { 23 pname = "pvlib"; 24 version = "0.10.2"; 25 format = "pyproject"; 26 27 disabled = pythonOlder "3.7"; 28 29 src = fetchPypi{ 30 inherit pname version; 31 hash = "sha256-gCOFP2heAtzpe38j1ljOz1yR1P8pRZ0eILVK8Kd3tFc="; 32 }; 33 34 nativeBuildInputs = [ 35 setuptools 36 setuptools-scm 37 wheel 38 ]; 39 40 propagatedBuildInputs = [ 41 h5py 42 numpy 43 pandas 44 pytz 45 requests 46 scipy 47 ]; 48 49 nativeCheckInputs = [ 50 pytestCheckHook 51 pytest-mock 52 pytest-remotedata 53 pytest-rerunfailures 54 pytest-timeout 55 requests-mock 56 ]; 57 58 pythonImportsCheck = [ 59 "pvlib" 60 ]; 61 62 meta = with lib; { 63 homepage = "https://pvlib-python.readthedocs.io"; 64 description = "Simulate the performance of photovoltaic energy systems"; 65 changelog = "https://pvlib-python.readthedocs.io/en/v${version}/whatsnew.html"; 66 license = licenses.bsd3; 67 maintainers = with maintainers; [ jluttine ]; 68 }; 69}