2018-10-16 22:20:29 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "influxdb";
|
2018-10-24 17:06:38 +01:00
|
|
|
version = "5.2.0";
|
2018-10-16 22:20:29 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 17:06:38 +01:00
|
|
|
sha256 = "0fqnshmsgifvp79pd4g9a1kyfxvpa9vczv0dv8x2jr2c5m1mi99v";
|
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";
|
|
|
|
homepage = https://github.com/influxdb/influxdb-python;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|