Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 25 lines 781 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, numpy, pandas, pytz, six, pytest }: 2 3buildPythonPackage rec { 4 pname = "pvlib"; 5 version = "0.6.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "56e70747add2e50846dd8bbef9a4735e82c1224ce630d1db7590b96bd59dd3f7"; 10 }; 11 12 checkInputs = [ pytest ]; 13 propagatedBuildInputs = [ numpy pandas pytz six ]; 14 15 # Currently, the PyPI tarball doesn't contain the tests. When that has been 16 # fixed, enable testing. See: https://github.com/pvlib/pvlib-python/issues/473 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 homepage = http://pvlib-python.readthedocs.io; 21 description = "Simulate the performance of photovoltaic energy systems"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ jluttine ]; 24 }; 25}