diff --git a/pkgs/development/python-modules/influxdb-client/default.nix b/pkgs/development/python-modules/influxdb-client/default.nix index b2480e4684b7..0c959277f31e 100644 --- a/pkgs/development/python-modules/influxdb-client/default.nix +++ b/pkgs/development/python-modules/influxdb-client/default.nix @@ -1,23 +1,24 @@ -{ lib -, aiohttp -, aiocsv -, buildPythonPackage -, certifi -, ciso8601 -, fetchFromGitHub -, numpy -, pandas -, python-dateutil -, pythonOlder -, reactivex -, setuptools -, urllib3 +{ + lib, + aiohttp, + aiocsv, + buildPythonPackage, + certifi, + ciso8601, + fetchFromGitHub, + numpy, + pandas, + python-dateutil, + pythonOlder, + reactivex, + setuptools, + urllib3, }: buildPythonPackage rec { pname = "influxdb-client"; - version = "1.42.0"; - format = "setuptools"; + version = "1.43.0"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -25,10 +26,12 @@ buildPythonPackage rec { owner = "influxdata"; repo = "influxdb-client-python"; rev = "refs/tags/v${version}"; - hash = "sha256-PY0GpwO1OG4DKutMR3MF9HtTJbLFRCWypeoqVoiRD4o="; + hash = "sha256-CwSqJj9MslcvTzYGaDRygskSxbSh80uCJQM2tNz743k="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ certifi python-dateutil reactivex @@ -41,9 +44,7 @@ buildPythonPackage rec { aiocsv aiohttp ]; - ciso = [ - ciso8601 - ]; + ciso = [ ciso8601 ]; extra = [ numpy pandas @@ -53,9 +54,7 @@ buildPythonPackage rec { # Requires influxdb server doCheck = false; - pythonImportsCheck = [ - "influxdb_client" - ]; + pythonImportsCheck = [ "influxdb_client" ]; meta = with lib; { description = "InfluxDB client library";