From f9563d141d3f2cf9f08093a8d68d542fa88db98e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 27 Feb 2025 14:11:57 +0100 Subject: [PATCH 1/3] python312Packages.azure-ai-documentintelligence: init at 1.0.0 --- .../azure-ai-documentintelligence/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/azure-ai-documentintelligence/default.nix diff --git a/pkgs/development/python-modules/azure-ai-documentintelligence/default.nix b/pkgs/development/python-modules/azure-ai-documentintelligence/default.nix new file mode 100644 index 000000000000..faf767c4fe0c --- /dev/null +++ b/pkgs/development/python-modules/azure-ai-documentintelligence/default.nix @@ -0,0 +1,41 @@ +{ + lib, + azure-core, + buildPythonPackage, + fetchPypi, + isodate, + typing-extensions, + setuptools, +}: + +buildPythonPackage rec { + pname = "azure-ai-documentintelligence"; + version = "1.0.0"; + pyproject = true; + + src = fetchPypi { + pname = "azure_ai_documentintelligence"; + inherit version; + hash = "sha256-yLbvwPx+ZdeJLJWFz9JW99iz8rRs7PksdauC5inqwlM="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + azure-core + isodate + typing-extensions + ]; + + # Tests are not shipped + doCheck = false; + + pythonImportsCheck = [ "azure.ai.documentintelligence" ]; + + meta = { + description = "Azure AI Document Intelligence client library for Python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/documentintelligence/azure-ai-documentintelligence/azure/ai/documentintelligence"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fa6c77666d55..f658a7ee64d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1165,6 +1165,8 @@ self: super: with self; { ayla-iot-unofficial = callPackage ../development/python-modules/ayla-iot-unofficial { }; + azure-ai-documentintelligence = callPackage ../development/python-modules/azure-ai-documentintelligence { }; + azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { }; azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { }; From 851f239182261238c0d9cac9cc7fba745e111b9f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 27 Feb 2025 13:16:19 +0100 Subject: [PATCH 2/3] open-webui: 0.5.16 -> 0.5.17 Diff: https://github.com/open-webui/open-webui/compare/refs/tags/v0.5.16...0.5.17 Changelog: https://github.com/open-webui/open-webui/blob/v0.5.17/CHANGELOG.md --- pkgs/by-name/op/open-webui/package.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 120af966a15f..254c534c986a 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -7,19 +7,19 @@ }: let pname = "open-webui"; - version = "0.5.16"; + version = "0.5.17"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; tag = "v${version}"; - hash = "sha256-ki8Ac/xMs+wD5GWEgPTe+uIXrYnWtaOwLIxmxscz5sw="; + hash = "sha256-djQPe/MUgYqG993Q1XqmYymHRvvRCPSuOl7n9qxSFo4="; }; frontend = buildNpmPackage { inherit pname version src; - npmDepsHash = "sha256-e6pVy06h3QjFTSV62ZsaBrZO+atZbKGsBcCY/gQ2mQo="; + npmDepsHash = "sha256-kd2gxVJdOELGq0lk/TqnJ4ifT7HA1rLxyMUu0aRkM+4="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. @@ -74,8 +74,10 @@ python312.pkgs.buildPythonApplication rec { anthropic apscheduler argon2-cffi + asgiref async-timeout authlib + azure-ai-documentintelligence azure-identity azure-storage-blob bcrypt @@ -107,6 +109,7 @@ python312.pkgs.buildPythonApplication rec { langdetect langfuse ldap3 + loguru markdown moto nltk From 6d9c693d233a160fc8a460670f6074915a6f6bfc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 27 Feb 2025 21:28:10 +0100 Subject: [PATCH 3/3] open-webui: 0.5.17 -> 0.5.18 Diff: https://github.com/open-webui/open-webui/compare/refs/tags/v0.5.17...0.5.18 Changelog: https://github.com/open-webui/open-webui/blob/v0.5.18/CHANGELOG.md --- pkgs/by-name/op/open-webui/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 254c534c986a..2bf60ec111a2 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -7,19 +7,19 @@ }: let pname = "open-webui"; - version = "0.5.17"; + version = "0.5.18"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; tag = "v${version}"; - hash = "sha256-djQPe/MUgYqG993Q1XqmYymHRvvRCPSuOl7n9qxSFo4="; + hash = "sha256-SFw5bCzMSBuzIzZmhA+ylXXkouZ+OSsMBfc7QG7OSLU="; }; frontend = buildNpmPackage { inherit pname version src; - npmDepsHash = "sha256-kd2gxVJdOELGq0lk/TqnJ4ifT7HA1rLxyMUu0aRkM+4="; + npmDepsHash = "sha256-rEV68SizR7NyYsRzlndg/ulvr8BeiDq3MpiBmaCUn2M="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work.