3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pvlib/default.nix

26 lines
769 B
Nix
Raw Normal View History

2018-06-06 11:22:37 +01:00
{ stdenv, buildPythonPackage, fetchPypi, numpy, pandas, pytz, six, pytest }:
buildPythonPackage rec {
pname = "pvlib";
2018-10-02 17:52:27 +01:00
version = "0.6.0";
2018-06-06 11:22:37 +01:00
src = fetchPypi {
inherit pname version;
2018-10-02 17:52:27 +01:00
sha256 = "1j2p6w41hv7k604jbcpxvs5f04y8dsfdvd3d202l60ks0fc0agyj";
2018-06-06 11:22:37 +01:00
};
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 ];
};
}