From d66dc0ef3066a3534c6f9e67cdbef5da5a604c93 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Wed, 29 Jan 2025 10:17:09 +0100 Subject: [PATCH] python312Packages.microsoft-kiota-http: 1.3.4 -> 1.9.1 --- .../microsoft-kiota-http/default.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/microsoft-kiota-http/default.nix b/pkgs/development/python-modules/microsoft-kiota-http/default.nix index 5d2cda9ae63a..2d65e6882021 100644 --- a/pkgs/development/python-modules/microsoft-kiota-http/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-http/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - flit-core, + poetry-core, httpx, microsoft-kiota-abstractions, opentelemetry-api, @@ -16,19 +16,21 @@ buildPythonPackage rec { pname = "microsoft-kiota-http"; - version = "1.3.4"; + version = "1.9.1"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "microsoft"; - repo = "kiota-http-python"; - tag = "v${version}"; - hash = "sha256-0hntB9GSDE05l/ghWTzMrX1MAPdWNHJVIQFpskraDV8="; + repo = "kiota-python"; + tag = "microsoft-kiota-http-v${version}"; + hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw="; }; - build-system = [ flit-core ]; + sourceRoot = "source/packages/http/httpx/"; + + build-system = [ poetry-core ]; dependencies = [ httpx @@ -48,8 +50,8 @@ buildPythonPackage rec { meta = with lib; { description = "HTTP request adapter implementation for Kiota clients for Python"; - homepage = "https://github.com/microsoft/kiota-http-python"; - changelog = "https://github.com/microsoft/kiota-http-python/blob/${version}/CHANGELOG.md"; + homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx"; + changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-http-v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };