python3Packages.ossapi: use finalAttrs

This commit is contained in:
Wulpey
2026-04-12 23:13:07 +03:00
parent 94ac7d2842
commit 77b90c2e17
@@ -10,7 +10,7 @@
typing-utils,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "ossapi";
version = "5.3.4";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Liam-DeVoe";
repo = "ossapi";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Favez9YcEHgAPNxJg9L4J8BpEUYIx9IFhSeNToT7sv4=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "Python wrapper for the osu! API";
homepage = "https://github.com/Liam-DeVoe/ossapi";
changelog = "https://github.com/Liam-DeVoe/ossapi/releases/tag/${src.tag}";
changelog = "https://github.com/Liam-DeVoe/ossapi/releases/tag/v${finalAttrs.version}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ wulpine ];
};
}
})