python3Packages.avea: migrate to finalAttrs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "avea";
|
||||
version = "1.7.0";
|
||||
pyproject = true;
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "k0rventen";
|
||||
repo = "avea";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cBYS8Q70K5MXZ63uI6OGkUsskJ7rkgTBPjlAsxmtmVA=";
|
||||
};
|
||||
|
||||
@@ -34,8 +34,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module for interacting with Elgato's Avea bulb";
|
||||
homepage = "https://github.com/k0rventen/avea";
|
||||
changelog = "https://github.com/k0rventen/avea/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/k0rventen/avea/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user