mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.expression: init at 5.6.0, add to litellm proxy dependency (#555030)
This commit is contained in:
39
pkgs/development/python-modules/expression/default.nix
Normal file
39
pkgs/development/python-modules/expression/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
typing-extensions,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "expression";
|
||||
version = "5.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
sha256 = "sha256-RU9v4Tg0cZSkPH+HjZWO/puEucx3DkYgEMelLhgFgGU=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ typing-extensions ];
|
||||
|
||||
optional-dependencies = {
|
||||
pydantic = [ pydantic ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"expression"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Functional programming for Python";
|
||||
homepage = "https://github.com/dbrattli/Expression";
|
||||
changelog = "https://github.com/dbrattli/Expression/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ happysalada ];
|
||||
};
|
||||
})
|
||||
@@ -13,6 +13,7 @@
|
||||
buildPythonPackage,
|
||||
click,
|
||||
cryptography,
|
||||
expression,
|
||||
fastapi,
|
||||
fastapi-sso,
|
||||
fastuuid,
|
||||
@@ -120,6 +121,7 @@ buildPythonPackage rec {
|
||||
backoff
|
||||
boto3
|
||||
cryptography
|
||||
expression
|
||||
fastapi
|
||||
fastapi-sso
|
||||
gunicorn
|
||||
|
||||
@@ -5739,6 +5739,8 @@ self: super: with self; {
|
||||
|
||||
explorerscript = callPackage ../development/python-modules/explorerscript { };
|
||||
|
||||
expression = callPackage ../development/python-modules/expression { };
|
||||
|
||||
exrex = callPackage ../development/python-modules/exrex { };
|
||||
|
||||
extension-helpers = callPackage ../development/python-modules/extension-helpers { };
|
||||
|
||||
Reference in New Issue
Block a user