python3Packages.nexia: migrate to finalAttrs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "nexia";
|
||||
version = "2.12.0";
|
||||
pyproject = true;
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "nexia";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-d3mV7kzUoM6JvZ82FLNxapkRZDjFH7V/rf4qjIyf2is=";
|
||||
};
|
||||
|
||||
@@ -44,8 +44,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module for Nexia thermostats";
|
||||
homepage = "https://github.com/bdraco/nexia";
|
||||
changelog = "https://github.com/bdraco/nexia/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/bdraco/nexia/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user