1{ 2 lib, 3 buildPythonPackage, 4 certifi, 5 fetchFromGitHub, 6 pyarrow, 7 pytestCheckHook, 8 python-dateutil, 9 pythonOlder, 10 reactivex, 11 setuptools, 12 urllib3, 13}: 14 15buildPythonPackage rec { 16 pname = "influxdb3-python"; 17 version = "0.5.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchFromGitHub { 23 owner = "InfluxCommunity"; 24 repo = "influxdb3-python"; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-vumKOvCLpcu0z1W/zmf3qsSo3a8FEbI+20/IMt6nCX4="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 certifi 33 pyarrow 34 python-dateutil 35 reactivex 36 urllib3 37 ]; 38 39 # Missing ORC support 40 # https://github.com/NixOS/nixpkgs/issues/212863 41 # nativeCheckInputs = [ 42 # pytestCheckHook 43 # ]; 44 # 45 # pythonImportsCheck = [ 46 # "influxdb_client_3" 47 # ]; 48 49 meta = with lib; { 50 description = "Python module that provides a simple and convenient way to interact with InfluxDB 3.0"; 51 homepage = "https://github.com/InfluxCommunity/influxdb3-python"; 52 changelog = "https://github.com/InfluxCommunity/influxdb3-python/releases/tag/v${version}"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}