python313Packages.meilisearch: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-19 21:57:20 +01:00
committed by GitHub
parent 12f5f063f5
commit fc628449dd
@@ -7,7 +7,7 @@
requests,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "meilisearch";
version = "0.40.0";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "meilisearch";
repo = "meilisearch-python";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-mxIE2/gZhV8geE0UJ2ModGKs0TPjJLyp38Wvcs59wz8=";
};
@@ -35,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "Client for the Meilisearch API";
homepage = "https://github.com/meilisearch/meilisearch-python";
changelog = "https://github.com/meilisearch/meilisearch-python/releases/tag/${src.tag}";
changelog = "https://github.com/meilisearch/meilisearch-python/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})