Unverified Commit 47993bd2 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parents 1eff728e 6a4b4553
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -10,11 +10,12 @@
  pytestCheckHook,
  pythonOlder,
  std-uritemplate,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-abstractions";
  version = "1.9.3";
  version = "1.9.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-abstractions-v${version}";
    hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8=";
    hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU=";
  };

  sourceRoot = "${src.name}/packages/abstractions/";
@@ -52,10 +53,14 @@ buildPythonPackage rec {
  # detects the wrong tag on the repo
  passthru.skipBulkUpdate = true;

  passthru.updateScript = gitUpdater {
    rev-prefix = "microsoft-kiota-abstractions-v";
  };

  meta = with lib; {
    description = "Abstractions library for Kiota generated Python clients";
    homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/";
    changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-abstractions-${src.tag}";
    changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
+8 −3
Original line number Diff line number Diff line
@@ -12,11 +12,12 @@
  pytest-mock,
  pytestCheckHook,
  pythonOlder,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-authentication-azure";
  version = "1.9.3";
  version = "1.9.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -24,8 +25,8 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-serialization-text-v${version}";
    hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8=";
    tag = "microsoft-kiota-authentication-azure-v${version}";
    hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU=";
  };

  sourceRoot = "${src.name}/packages/authentication/azure/";
@@ -48,6 +49,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "kiota_authentication_azure" ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "microsoft-kiota-authentication-azure-v";
  };

  meta = with lib; {
    description = "Kiota Azure authentication provider";
    homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/authentication/azure";
+9 −4
Original line number Diff line number Diff line
@@ -12,11 +12,12 @@
  pytestCheckHook,
  pythonOlder,
  urllib3,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-http";
  version = "1.9.4";
  version = "1.9.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -24,8 +25,8 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-serialization-text-v${version}";
    hash = "sha256-59vuJc7Wb/6PsPA4taAFA2UK8bdz+raZ+NB4S8LahtM=";
    tag = "microsoft-kiota-http-v${version}";
    hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU=";
  };

  sourceRoot = "${src.name}/packages/http/httpx/";
@@ -49,10 +50,14 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "kiota_http" ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "microsoft-kiota-http-v";
  };

  meta = with lib; {
    description = "HTTP request adapter implementation for Kiota clients for Python";
    homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx";
    changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-http-${src.tag}";
    changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
+7 −2
Original line number Diff line number Diff line
@@ -9,11 +9,12 @@
  pytest-mock,
  pytestCheckHook,
  pythonOlder,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-serialization-form";
  version = "1.9.3";
  version = "1.9.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -22,7 +23,7 @@ buildPythonPackage rec {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-serialization-form-v${version}";
    hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8=";
    hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU=";
  };

  sourceRoot = "${src.name}/packages/serialization/form/";
@@ -42,6 +43,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "kiota_serialization_form" ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "microsoft-kiota-serialization-form-v";
  };

  meta = with lib; {
    description = "Form serialization implementation for Kiota clients in Python";
    homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/form";
+7 −2
Original line number Diff line number Diff line
@@ -9,11 +9,12 @@
  pytest-mock,
  pytestCheckHook,
  pythonOlder,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-serialization-json";
  version = "1.9.3";
  version = "1.9.5";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -22,7 +23,7 @@ buildPythonPackage rec {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-serialization-json-v${version}";
    hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8=";
    hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU=";
  };

  sourceRoot = "${src.name}/packages/serialization/json/";
@@ -42,6 +43,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "kiota_serialization_json" ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "microsoft-kiota-serialization-json-v";
  };

  meta = with lib; {
    description = "JSON serialization implementation for Kiota clients in Python";
    homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/json";
Loading