python3Packages.influxdb-client: add format

This commit is contained in:
Fabian Affolter 2022-02-25 11:24:24 +01:00 committed by GitHub
parent c4032926fb
commit 82e1f86e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,13 +15,15 @@
buildPythonPackage rec {
pname = "influxdb-client";
version = "1.26.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "v${version}";
sha256 = "sha256-9MI6AgFTEw9dnBWdry3FnPERXnXZJhbYX4tXj9sGMkg=";
hash = "sha256-9MI6AgFTEw9dnBWdry3FnPERXnXZJhbYX4tXj9sGMkg=";
};
propagatedBuildInputs = [
@ -38,12 +40,14 @@ buildPythonPackage rec {
# requires influxdb server
doCheck = false;
pythonImportsCheck = [ "influxdb_client" ];
pythonImportsCheck = [
"influxdb_client"
];
meta = with lib; {
description = "InfluxDB 2.0 Python client library";
homepage = "https://github.com/influxdata/influxdb-client-python";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
maintainers = with maintainers; [ mic92 ];
};
}