|
|
|
@ -1,21 +1,22 @@ |
|
|
|
|
{ lib |
|
|
|
|
, aiohttp |
|
|
|
|
, aiocsv |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, rx |
|
|
|
|
, certifi |
|
|
|
|
, six |
|
|
|
|
, ciso8601 |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, numpy |
|
|
|
|
, pandas |
|
|
|
|
, python-dateutil |
|
|
|
|
, pythonOlder |
|
|
|
|
, reactivex |
|
|
|
|
, setuptools |
|
|
|
|
, urllib3 |
|
|
|
|
, ciso8601 |
|
|
|
|
, pytz |
|
|
|
|
, pythonOlder |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "influxdb-client"; |
|
|
|
|
version = "1.31.0"; |
|
|
|
|
version = "1.33.0"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
@ -24,29 +25,32 @@ buildPythonPackage rec { |
|
|
|
|
owner = "influxdata"; |
|
|
|
|
repo = "influxdb-client-python"; |
|
|
|
|
rev = "refs/tags/v${version}"; |
|
|
|
|
hash = "sha256-gTJgY4vFgmFDn2WYUKEbvbu7hjxcw2QGI+blensS5BI="; |
|
|
|
|
hash = "sha256-RhUIdIwLYJwlpLtyrXO9GCvKY6OLDJl7Aop5acgTHN0="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
rx |
|
|
|
|
certifi |
|
|
|
|
six |
|
|
|
|
python-dateutil |
|
|
|
|
reactivex |
|
|
|
|
setuptools |
|
|
|
|
urllib3 |
|
|
|
|
pytz |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
passthru.optional-dependencies = { |
|
|
|
|
async = [ |
|
|
|
|
aiocsv |
|
|
|
|
aiohttp |
|
|
|
|
]; |
|
|
|
|
ciso = [ |
|
|
|
|
ciso8601 |
|
|
|
|
]; |
|
|
|
|
extra = [ |
|
|
|
|
numpy |
|
|
|
|
pandas |
|
|
|
|
]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# requires influxdb server |
|
|
|
|
# Requires influxdb server |
|
|
|
|
doCheck = false; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
@ -54,7 +58,7 @@ buildPythonPackage rec { |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "InfluxDB 2.0 Python client library"; |
|
|
|
|
description = "InfluxDB client library"; |
|
|
|
|
homepage = "https://github.com/influxdata/influxdb-client-python"; |
|
|
|
|
license = licenses.mit; |
|
|
|
|
maintainers = with maintainers; [ mic92 ]; |
|
|
|
|