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