python3Packages.microsoft-kiota-*: add passthru.updateScript and update (#433206)

authored by Fabian Affolter and committed by GitHub 47993bd2 1eff728e

+53 -18
+8 -3
pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix
··· 10 pytestCheckHook, 11 pythonOlder, 12 std-uritemplate, 13 }: 14 15 buildPythonPackage rec { 16 pname = "microsoft-kiota-abstractions"; 17 - version = "1.9.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-abstractions-v${version}"; 26 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 27 }; 28 29 sourceRoot = "${src.name}/packages/abstractions/"; ··· 52 # detects the wrong tag on the repo 53 passthru.skipBulkUpdate = true; 54 55 meta = with lib; { 56 description = "Abstractions library for Kiota generated Python clients"; 57 homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/"; 58 - changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-abstractions-${src.tag}"; 59 license = licenses.mit; 60 maintainers = with maintainers; [ fab ]; 61 };
··· 10 pytestCheckHook, 11 pythonOlder, 12 std-uritemplate, 13 + gitUpdater, 14 }: 15 16 buildPythonPackage rec { 17 pname = "microsoft-kiota-abstractions"; 18 + version = "1.9.5"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.9"; ··· 24 owner = "microsoft"; 25 repo = "kiota-python"; 26 tag = "microsoft-kiota-abstractions-v${version}"; 27 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 28 }; 29 30 sourceRoot = "${src.name}/packages/abstractions/"; ··· 53 # detects the wrong tag on the repo 54 passthru.skipBulkUpdate = true; 55 56 + passthru.updateScript = gitUpdater { 57 + rev-prefix = "microsoft-kiota-abstractions-v"; 58 + }; 59 + 60 meta = with lib; { 61 description = "Abstractions library for Kiota generated Python clients"; 62 homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/"; 63 + changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}"; 64 license = licenses.mit; 65 maintainers = with maintainers; [ fab ]; 66 };
+8 -3
pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix
··· 12 pytest-mock, 13 pytestCheckHook, 14 pythonOlder, 15 }: 16 17 buildPythonPackage rec { 18 pname = "microsoft-kiota-authentication-azure"; 19 - version = "1.9.3"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; ··· 24 src = fetchFromGitHub { 25 owner = "microsoft"; 26 repo = "kiota-python"; 27 - tag = "microsoft-kiota-serialization-text-v${version}"; 28 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 29 }; 30 31 sourceRoot = "${src.name}/packages/authentication/azure/"; ··· 47 ]; 48 49 pythonImportsCheck = [ "kiota_authentication_azure" ]; 50 51 meta = with lib; { 52 description = "Kiota Azure authentication provider";
··· 12 pytest-mock, 13 pytestCheckHook, 14 pythonOlder, 15 + gitUpdater, 16 }: 17 18 buildPythonPackage rec { 19 pname = "microsoft-kiota-authentication-azure"; 20 + version = "1.9.5"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 25 src = fetchFromGitHub { 26 owner = "microsoft"; 27 repo = "kiota-python"; 28 + tag = "microsoft-kiota-authentication-azure-v${version}"; 29 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 30 }; 31 32 sourceRoot = "${src.name}/packages/authentication/azure/"; ··· 48 ]; 49 50 pythonImportsCheck = [ "kiota_authentication_azure" ]; 51 + 52 + passthru.updateScript = gitUpdater { 53 + rev-prefix = "microsoft-kiota-authentication-azure-v"; 54 + }; 55 56 meta = with lib; { 57 description = "Kiota Azure authentication provider";
+9 -4
pkgs/development/python-modules/microsoft-kiota-http/default.nix
··· 12 pytestCheckHook, 13 pythonOlder, 14 urllib3, 15 }: 16 17 buildPythonPackage rec { 18 pname = "microsoft-kiota-http"; 19 - version = "1.9.4"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; ··· 24 src = fetchFromGitHub { 25 owner = "microsoft"; 26 repo = "kiota-python"; 27 - tag = "microsoft-kiota-serialization-text-v${version}"; 28 - hash = "sha256-59vuJc7Wb/6PsPA4taAFA2UK8bdz+raZ+NB4S8LahtM="; 29 }; 30 31 sourceRoot = "${src.name}/packages/http/httpx/"; ··· 49 50 pythonImportsCheck = [ "kiota_http" ]; 51 52 meta = with lib; { 53 description = "HTTP request adapter implementation for Kiota clients for Python"; 54 homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx"; 55 - changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-http-${src.tag}"; 56 license = licenses.mit; 57 maintainers = with maintainers; [ fab ]; 58 };
··· 12 pytestCheckHook, 13 pythonOlder, 14 urllib3, 15 + gitUpdater, 16 }: 17 18 buildPythonPackage rec { 19 pname = "microsoft-kiota-http"; 20 + version = "1.9.5"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 25 src = fetchFromGitHub { 26 owner = "microsoft"; 27 repo = "kiota-python"; 28 + tag = "microsoft-kiota-http-v${version}"; 29 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 30 }; 31 32 sourceRoot = "${src.name}/packages/http/httpx/"; ··· 50 51 pythonImportsCheck = [ "kiota_http" ]; 52 53 + passthru.updateScript = gitUpdater { 54 + rev-prefix = "microsoft-kiota-http-v"; 55 + }; 56 + 57 meta = with lib; { 58 description = "HTTP request adapter implementation for Kiota clients for Python"; 59 homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx"; 60 + changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}"; 61 license = licenses.mit; 62 maintainers = with maintainers; [ fab ]; 63 };
+7 -2
pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 }: 13 14 buildPythonPackage rec { 15 pname = "microsoft-kiota-serialization-form"; 16 - version = "1.9.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "microsoft"; 23 repo = "kiota-python"; 24 tag = "microsoft-kiota-serialization-form-v${version}"; 25 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 26 }; 27 28 sourceRoot = "${src.name}/packages/serialization/form/"; ··· 41 ]; 42 43 pythonImportsCheck = [ "kiota_serialization_form" ]; 44 45 meta = with lib; { 46 description = "Form serialization implementation for Kiota clients in Python";
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 + gitUpdater, 13 }: 14 15 buildPythonPackage rec { 16 pname = "microsoft-kiota-serialization-form"; 17 + version = "1.9.5"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-serialization-form-v${version}"; 26 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 27 }; 28 29 sourceRoot = "${src.name}/packages/serialization/form/"; ··· 42 ]; 43 44 pythonImportsCheck = [ "kiota_serialization_form" ]; 45 + 46 + passthru.updateScript = gitUpdater { 47 + rev-prefix = "microsoft-kiota-serialization-form-v"; 48 + }; 49 50 meta = with lib; { 51 description = "Form serialization implementation for Kiota clients in Python";
+7 -2
pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 }: 13 14 buildPythonPackage rec { 15 pname = "microsoft-kiota-serialization-json"; 16 - version = "1.9.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "microsoft"; 23 repo = "kiota-python"; 24 tag = "microsoft-kiota-serialization-json-v${version}"; 25 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 26 }; 27 28 sourceRoot = "${src.name}/packages/serialization/json/"; ··· 41 ]; 42 43 pythonImportsCheck = [ "kiota_serialization_json" ]; 44 45 meta = with lib; { 46 description = "JSON serialization implementation for Kiota clients in Python";
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 + gitUpdater, 13 }: 14 15 buildPythonPackage rec { 16 pname = "microsoft-kiota-serialization-json"; 17 + version = "1.9.5"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-serialization-json-v${version}"; 26 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 27 }; 28 29 sourceRoot = "${src.name}/packages/serialization/json/"; ··· 42 ]; 43 44 pythonImportsCheck = [ "kiota_serialization_json" ]; 45 + 46 + passthru.updateScript = gitUpdater { 47 + rev-prefix = "microsoft-kiota-serialization-json-v"; 48 + }; 49 50 meta = with lib; { 51 description = "JSON serialization implementation for Kiota clients in Python";
+7 -2
pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 }: 13 14 buildPythonPackage rec { 15 pname = "microsoft-kiota-serialization-multipart"; 16 - version = "1.9.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; ··· 22 owner = "microsoft"; 23 repo = "kiota-python"; 24 tag = "microsoft-kiota-serialization-multipart-v${version}"; 25 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 26 }; 27 28 sourceRoot = "${src.name}/packages/serialization/multipart/"; ··· 39 ]; 40 41 pythonImportsCheck = [ "kiota_serialization_multipart" ]; 42 43 meta = with lib; { 44 description = "Multipart serialization implementation for Kiota clients in Python";
··· 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 + gitUpdater, 13 }: 14 15 buildPythonPackage rec { 16 pname = "microsoft-kiota-serialization-multipart"; 17 + version = "1.9.5"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; ··· 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-serialization-multipart-v${version}"; 26 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 27 }; 28 29 sourceRoot = "${src.name}/packages/serialization/multipart/"; ··· 40 ]; 41 42 pythonImportsCheck = [ "kiota_serialization_multipart" ]; 43 + 44 + passthru.updateScript = gitUpdater { 45 + rev-prefix = "microsoft-kiota-serialization-multipart-v"; 46 + }; 47 48 meta = with lib; { 49 description = "Multipart serialization implementation for Kiota clients in Python";
+7 -2
pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix
··· 9 pytestCheckHook, 10 python-dateutil, 11 pythonOlder, 12 }: 13 14 buildPythonPackage rec { 15 pname = "microsoft-kiota-serialization-text"; 16 - version = "1.9.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "microsoft"; 23 repo = "kiota-python"; 24 tag = "microsoft-kiota-serialization-text-v${version}"; 25 - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; 26 }; 27 28 sourceRoot = "${src.name}/packages/serialization/text/"; ··· 41 ]; 42 43 pythonImportsCheck = [ "kiota_serialization_text" ]; 44 45 meta = with lib; { 46 description = "Text serialization implementation for Kiota generated clients in Python";
··· 9 pytestCheckHook, 10 python-dateutil, 11 pythonOlder, 12 + gitUpdater, 13 }: 14 15 buildPythonPackage rec { 16 pname = "microsoft-kiota-serialization-text"; 17 + version = "1.9.5"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-serialization-text-v${version}"; 26 + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; 27 }; 28 29 sourceRoot = "${src.name}/packages/serialization/text/"; ··· 42 ]; 43 44 pythonImportsCheck = [ "kiota_serialization_text" ]; 45 + 46 + passthru.updateScript = gitUpdater { 47 + rev-prefix = "microsoft-kiota-serialization-text-v"; 48 + }; 49 50 meta = with lib; { 51 description = "Text serialization implementation for Kiota generated clients in Python";