python3Packages.mediafile: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-06 20:58:31 +02:00
parent 5b24fd1104
commit c7af90de58
@@ -8,7 +8,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "mediafile";
version = "0.16.0";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "beetbox";
repo = "mediafile";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-GKEm2LKR3F9uy3FdhvpLPE9Auca8+40Zp53yaLk45XE=";
};
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = {
description = "Python interface to the metadata tags for many audio file formats";
homepage = "https://github.com/beetbox/mediafile";
changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}";
changelog = "https://github.com/beetbox/mediafile/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lovesegfault ];
};
}
})