Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 72 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ lib, buildPythonPackage, certifi, fetchFromGitHub, pyarrow, python-dateutil, pythonOlder, reactivex, setuptools, pandas, polars, urllib3,}:
buildPythonPackage rec { pname = "influxdb3-python"; version = "0.10.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "InfluxCommunity"; repo = "influxdb3-python"; rev = "refs/tags/v${version}"; hash = "sha256-b+AxR6TFHrejSeU6el5beCFscKIsyaonMDC8jZWShRM="; };
postPatch = '' # Upstream falls back to a default version if not in a GitHub Actions substituteInPlace setup.py \ --replace-fail "version=get_version()," "version = '${version}'," '';
build-system = [ setuptools ];
dependencies = [ certifi pyarrow python-dateutil reactivex urllib3 ];
optional-dependencies = { pandas = [ pandas ]; polars = [ polars ]; dataframe = [ pandas polars ]; };
# 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 ]; };}