diff --git a/pkgs/development/python-modules/unstructured-client/default.nix b/pkgs/development/python-modules/unstructured-client/default.nix index f6fb1b8cce11..afec345dacc8 100644 --- a/pkgs/development/python-modules/unstructured-client/default.nix +++ b/pkgs/development/python-modules/unstructured-client/default.nix @@ -19,16 +19,16 @@ typing-inspection, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { 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="; + tag = "v${finalAttrs.version}"; + hash = "sha256-BXHJOkTZdAnpf38WdHugcwYyWuURylbYTjaKoPt7O5A="; }; preBuild = '' @@ -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 ]; }; -} +})