depot/third_party/nixpkgs/pkgs/development/python-modules/influxdb3-python/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

56 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
certifi,
fetchFromGitHub,
pyarrow,
pytestCheckHook,
python-dateutil,
pythonOlder,
reactivex,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "influxdb3-python";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "InfluxCommunity";
repo = "influxdb3-python";
rev = "refs/tags/v${version}";
hash = "sha256-xu1uWVhZCFIjyOjE144X0JFtYY/nIoBHp/eHtysARYc=";
};
build-system = [ setuptools ];
dependencies = [
certifi
pyarrow
python-dateutil
reactivex
urllib3
];
# Missing ORC support
# https://github.com/NixOS/nixpkgs/issues/212863
# nativeCheckInputs = [
# pytestCheckHook
# ];
#
# pythonImportsCheck = [
# "influxdb_client_3"
# ];
meta = with lib; {
description = "Python module that provides a simple and convenient way to interact with InfluxDB 3.0";
homepage = "https://github.com/InfluxCommunity/influxdb3-python";
changelog = "https://github.com/InfluxCommunity/influxdb3-python/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}