python3Packages.ohme: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-26 20:01:02 +02:00
committed by GitHub
parent 148d943b97
commit deee547d41
@@ -6,7 +6,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "ohme";
version = "1.8.0";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "dan-r";
repo = "ohmepy";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-MJNudqNTWuYp/lq7DLDRnVcRtBQwbhR9uMlTK2Oq3Tk=";
};
@@ -30,8 +30,8 @@ buildPythonPackage rec {
meta = {
description = "Module for interacting with the Ohme API";
homepage = "https://github.com/dan-r/ohmepy";
changelog = "https://github.com/dan-r/ohmepy/releases/tag/${src.tag}";
changelog = "https://github.com/dan-r/ohmepy/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})