diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-02 10:07:52 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-02 10:07:52 +0200 |
commit | c5ce8636b9002076acf56e9092ea0b1123ce13be (patch) | |
tree | a7bf6b8dc8c12a47c76524dc3eebadef0d1ebdba | |
parent | 354ac74a614d58f87b9fdbcc677467538538cc69 (diff) | |
download | nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar.gz nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar.bz2 nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar.lz nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar.xz nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.tar.zst nixlib-c5ce8636b9002076acf56e9092ea0b1123ce13be.zip |
python312Packages.chromadb: format with nixfmt
-rw-r--r-- | pkgs/development/python-modules/chromadb/default.nix | 107 |
1 files changed, 51 insertions, 56 deletions
diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index a279df3b0672..2042758efd8a 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -1,50 +1,51 @@ -{ lib -, stdenv -, bcrypt -, build -, buildPythonPackage -, cargo -, chroma-hnswlib -, darwin -, fastapi -, fetchFromGitHub -, grpcio -, hypothesis -, importlib-resources -, kubernetes -, mmh3 -, numpy -, onnxruntime -, openssl -, opentelemetry-api -, opentelemetry-exporter-otlp-proto-grpc -, opentelemetry-instrumentation-fastapi -, opentelemetry-sdk -, orjson -, overrides -, pkg-config -, posthog -, protobuf -, pulsar-client -, pydantic -, pypika -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, pyyaml -, requests -, rustc -, rustPlatform -, setuptools -, setuptools-scm -, tenacity -, tokenizers -, tqdm -, typer -, typing-extensions -, uvicorn -, zstd +{ + lib, + stdenv, + bcrypt, + build, + buildPythonPackage, + cargo, + chroma-hnswlib, + darwin, + fastapi, + fetchFromGitHub, + grpcio, + hypothesis, + importlib-resources, + kubernetes, + mmh3, + numpy, + onnxruntime, + openssl, + opentelemetry-api, + opentelemetry-exporter-otlp-proto-grpc, + opentelemetry-instrumentation-fastapi, + opentelemetry-sdk, + orjson, + overrides, + pkg-config, + posthog, + protobuf, + pulsar-client, + pydantic, + pypika, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + pyyaml, + requests, + rustc, + rustPlatform, + setuptools, + setuptools-scm, + tenacity, + tokenizers, + tqdm, + typer, + typing-extensions, + uvicorn, + zstd, }: buildPythonPackage rec { @@ -67,9 +68,7 @@ buildPythonPackage rec { hash = "sha256-zyiFv/gswGupm7Y8BhviklqJzM914v0QyUsRwbGKZ48="; }; - pythonRelaxDeps = [ - "orjson" - ]; + pythonRelaxDeps = [ "orjson" ]; nativeBuildInputs = [ cargo @@ -85,9 +84,7 @@ buildPythonPackage rec { buildInputs = [ openssl zstd - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; + ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; propagatedBuildInputs = [ bcrypt @@ -126,9 +123,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "chromadb" - ]; + pythonImportsCheck = [ "chromadb" ]; env = { ZSTD_SYS_USE_PKG_CONFIG = true; |