mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
python3Packages.microsoft-kiota-http: migrate to finalAttrs
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "microsoft-kiota-http";
|
||||
version = "1.10.2";
|
||||
pyproject = true;
|
||||
@@ -22,11 +22,11 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "kiota-python";
|
||||
tag = "microsoft-kiota-http-v${version}";
|
||||
tag = "microsoft-kiota-http-v${finalAttrs.version}";
|
||||
hash = "sha256-rj0NpuXvqS5rB6TrD3FyuMWb7Dl8/SIBcW/Lzj4cY6I=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/packages/http/httpx/";
|
||||
sourceRoot = "${finalAttrs.src.name}/packages/http/httpx/";
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -54,8 +54,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
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/${src.tag}";
|
||||
changelog = "https://github.com/microsoft/kiota-python/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user