python310Packages.influxdb-client: add extra dependencies

- update disabled
This commit is contained in:
Fabian Affolter 2022-08-20 09:55:58 +02:00 committed by GitHub
parent c40f411195
commit 1abc195e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, rx
@ -17,7 +18,7 @@ buildPythonPackage rec {
version = "1.31.0";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "influxdata";
@ -33,10 +34,18 @@ buildPythonPackage rec {
python-dateutil
setuptools
urllib3
ciso8601
pytz
];
passthru.optional-dependencies = {
async = [
aiohttp
];
ciso = [
ciso8601
];
};
# requires influxdb server
doCheck = false;