2018-10-16 21:20:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "influxdb";
|
2020-06-06 06:47:13 +00:00
|
|
|
version = "5.3.0";
|
2018-10-16 21:20:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 06:47:13 +00:00
|
|
|
sha256 = "9bcaafd57ac152b9824ab12ed19f204206ef5df8af68404770554c5b55b475f6";
|
2018-10-16 21:20:29 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/influxdb/influxdb-python";
|
2018-10-16 21:20:29 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|