My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/influxdb-client/default.nix

53 lines
926 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, rx
, certifi
, six
, python-dateutil
, setuptools
, urllib3
, ciso8601
, pytz
, pythonOlder
}:
buildPythonPackage rec {
pname = "influxdb-client";
version = "1.27.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "v${version}";
hash = "sha256-M0Ob3HjIhlYSIWXGM54NXiEMSCmZzNLLNsCRyxAcjMc=";
};
propagatedBuildInputs = [
rx
certifi
six
python-dateutil
setuptools
urllib3
ciso8601
pytz
];
# 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";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
};
}