summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/manifest-ml/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/manifest-ml/default.nix')
-rw-r--r--pkgs/development/python-modules/manifest-ml/default.nix65
1 files changed, 30 insertions, 35 deletions
diff --git a/pkgs/development/python-modules/manifest-ml/default.nix b/pkgs/development/python-modules/manifest-ml/default.nix
index 4465066682c9..8b1dcaf5a090 100644
--- a/pkgs/development/python-modules/manifest-ml/default.nix
+++ b/pkgs/development/python-modules/manifest-ml/default.nix
@@ -1,29 +1,30 @@
-{ lib
-, accelerate
-, aiohttp
-, buildPythonPackage
-, fastapi
-, fetchFromGitHub
-, flask
-, numpy
-, pg8000
-, pillow
-, pydantic
-, pytestCheckHook
-, pythonOlder
-, pythonRelaxDepsHook
-, redis
-, requests
-, sentence-transformers
-, setuptools
-, sqlalchemy
-, sqlitedict
-, tenacity
-, tiktoken
-, torch
-, transformers
-, uvicorn
-, xxhash
+{
+ lib,
+ accelerate,
+ aiohttp,
+ buildPythonPackage,
+ fastapi,
+ fetchFromGitHub,
+ flask,
+ numpy,
+ pg8000,
+ pillow,
+ pydantic,
+ pytestCheckHook,
+ pythonOlder,
+ pythonRelaxDepsHook,
+ redis,
+ requests,
+ sentence-transformers,
+ setuptools,
+ sqlalchemy,
+ sqlitedict,
+ tenacity,
+ tiktoken,
+ torch,
+ transformers,
+ uvicorn,
+ xxhash,
}:
buildPythonPackage rec {
@@ -42,9 +43,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
- pythonRelaxDeps = [
- "pydantic"
- ];
+ pythonRelaxDeps = [ "pydantic" ];
build-system = [
pythonRelaxDepsHook
@@ -77,9 +76,7 @@ buildPythonPackage rec {
fastapi
uvicorn
];
- diffusers = [
- pillow
- ];
+ diffusers = [ pillow ];
gcp = [
pg8000
# cloud-sql-python-connector
@@ -116,9 +113,7 @@ buildPythonPackage rec {
"test_timing"
];
- pythonImportsCheck = [
- "manifest"
- ];
+ pythonImportsCheck = [ "manifest" ];
meta = with lib; {
description = "Manifest for Prompting Foundation Models";