2018-10-16 21:20:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "influxdb";
|
2018-12-25 00:25:35 +00:00
|
|
|
version = "5.2.1";
|
2018-10-16 21:20:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-25 00:25:35 +00:00
|
|
|
sha256 = "1dp3fakzp0fqdajf6xsfmisdwj1avk4lvxjmw5k9wkhdbpi6vnbm";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|