mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
python3Packages.influxdb-client: 1.15.0 -> 1.17.0
This commit is contained in:
parent
b096b6d308
commit
517e76b5c2
@ -14,22 +14,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "influxdb-client";
|
||||
version = "1.15.0";
|
||||
|
||||
disabled = pythonOlder "3.6"; # requires python version >=3.6
|
||||
version = "1.17.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "influxdata";
|
||||
repo = "influxdb-client-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "1b2xh78v965rgafyj7cdbjm2p96d74f7ifsqllc7242n9wv3k53q";
|
||||
sha256 = "1xxg8z9zambbhr7nmxhmvmiwkd4578zxr6rl2vhdh2w77idsw29z";
|
||||
};
|
||||
|
||||
# makes test not reproducible
|
||||
postPatch = ''
|
||||
sed -i -e '/randomize/d' test-requirements.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rx
|
||||
certifi
|
||||
@ -44,6 +38,8 @@ buildPythonPackage rec {
|
||||
# requires influxdb server
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "influxdb_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "InfluxDB 2.0 Python client library";
|
||||
homepage = "https://github.com/influxdata/influxdb-client-python";
|
||||
|
Loading…
Reference in New Issue
Block a user