diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-06-07 18:22:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 18:22:56 +0200 |
commit | c6392ff135f68a3fa397771b3880aeb540834fe9 (patch) | |
tree | 57caf529b51ae208b012ab694ae5bc2049041cbf /pkgs/development | |
parent | 3ebcac8d8563d8e10fdcde86af8ca0568b32c18a (diff) | |
parent | 4d7019a4f34e0d8a9d2fd9e08ebf6d5d54ab715e (diff) | |
download | nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar.gz nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar.bz2 nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar.lz nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar.xz nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.tar.zst nixlib-c6392ff135f68a3fa397771b3880aeb540834fe9.zip |
Merge pull request #41562 from jluttine/init-pvlib-0.5.2
pythonPackages.pvlib: init at 0.5.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pvlib/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pvlib/default.nix b/pkgs/development/python-modules/pvlib/default.nix new file mode 100644 index 000000000000..296b20fac4a2 --- /dev/null +++ b/pkgs/development/python-modules/pvlib/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, numpy, pandas, pytz, six, pytest }: + +buildPythonPackage rec { + pname = "pvlib"; + version = "0.5.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1897v9qq97nk5n0hfm9089yz8pffd42795mnhcyq48g9bsyap1xi"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ numpy pandas pytz six ]; + + # Currently, the PyPI tarball doesn't contain the tests. When that has been + # fixed, enable testing. See: https://github.com/pvlib/pvlib-python/issues/473 + doCheck = false; + + meta = with stdenv.lib; { + homepage = http://pvlib-python.readthedocs.io; + description = "Simulate the performance of photovoltaic energy systems"; + license = licenses.bsd3; + maintainers = with maintainers; [ jluttine ]; + }; +} |