2018-10-16 21:20:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "influxdb";
|
2019-04-02 13:33:49 +00:00
|
|
|
version = "5.2.2";
|
2018-10-16 21:20:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 13:33:49 +00:00
|
|
|
sha256 = "0hriag4d4gx4bsqisiz29478sj54b215p6xzmshlw6x9af4z5vxg";
|
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";
|
|
|
|
homepage = https://github.com/influxdb/influxdb-python;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|