2018-10-16 22:20:29 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "influxdb";
|
2019-09-28 09:49:45 +01:00
|
|
|
version = "5.2.3";
|
2018-10-16 22:20:29 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 09:49:45 +01:00
|
|
|
sha256 = "0dlddhbmd37qsdfyqn9w3xx4v07hladj6fvk9i15jxmz0iz6q9rh";
|
2018-10-16 22:20:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# ImportError: No module named tests
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ requests dateutil pytz six ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python client for InfluxDB";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/influxdb/influxdb-python";
|
2018-10-16 22:20:29 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|