From eeb61923fe9b829cb7c734cd64b1a430b7b32be8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Jan 2026 23:40:56 +0000 Subject: [PATCH 1/2] python3Packages.unstructured-client: 0.42.6 -> 0.42.8 --- .../python-modules/unstructured-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/unstructured-client/default.nix b/pkgs/development/python-modules/unstructured-client/default.nix index f6fb1b8cce11..6c3a2e2ebd5f 100644 --- a/pkgs/development/python-modules/unstructured-client/default.nix +++ b/pkgs/development/python-modules/unstructured-client/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "unstructured-client"; - version = "0.42.6"; + version = "0.42.8"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-python-client"; tag = "v${version}"; - hash = "sha256-94d4OBaQTMacbOaRniNlaDVE3jZ+g28Hl3xbTmvY8L8="; + hash = "sha256-BXHJOkTZdAnpf38WdHugcwYyWuURylbYTjaKoPt7O5A="; }; preBuild = '' From 007e592930caca876146fe3372446e353c9331c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Jan 2026 01:39:32 +0100 Subject: [PATCH 2/2] python313Packages.unstructured-client: migrate to finalAttrs --- .../python-modules/unstructured-client/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/unstructured-client/default.nix b/pkgs/development/python-modules/unstructured-client/default.nix index 6c3a2e2ebd5f..afec345dacc8 100644 --- a/pkgs/development/python-modules/unstructured-client/default.nix +++ b/pkgs/development/python-modules/unstructured-client/default.nix @@ -19,7 +19,7 @@ typing-inspection, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "unstructured-client"; version = "0.42.8"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-python-client"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-BXHJOkTZdAnpf38WdHugcwYyWuURylbYTjaKoPt7O5A="; }; @@ -66,15 +66,16 @@ buildPythonPackage rec { enabledTestPaths = [ "_test_unstructured_client" ]; + enabledTests = [ "unit" ]; meta = { - changelog = "https://github.com/Unstructured-IO/unstructured-python-client/blob/${src.tag}/RELEASES.md"; + changelog = "https://github.com/Unstructured-IO/unstructured-python-client/blob/${finalAttrs.src.tag}/RELEASES.md"; description = "Python Client SDK for Unstructured API"; homepage = "https://github.com/Unstructured-IO/unstructured-python-client"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})