Unverified Commit 10d1334e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.microsoft-kiota-abstractions: migrate to finalAttrs

parent e547b025
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  gitUpdater,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "microsoft-kiota-abstractions";
  version = "1.10.1";
  pyproject = true;
@@ -20,11 +20,11 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "kiota-python";
    tag = "microsoft-kiota-abstractions-v${version}";
    tag = "microsoft-kiota-abstractions-v${finalAttrs.version}";
    hash = "sha256-KBCjVNZDPMh0wxWm8UVLsrfl2AYp3rKMjAT5c8F7+64=";
  };

  sourceRoot = "${src.name}/packages/abstractions/";
  sourceRoot = "${finalAttrs.src.name}/packages/abstractions/";

  build-system = [ poetry-core ];

@@ -57,8 +57,8 @@ buildPythonPackage rec {
  meta = {
    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/${src.tag}";
    changelog = "https://github.com/microsoft/kiota-python/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})