python314Packages.mozart-api: migrate to finalAttrs (#485150)
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
zeroconf,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mozart-api";
|
||||
version = "5.3.1.108.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "mozart_api";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-ilUSGgc4m6iMBUuSI7qt7c4DAE8cOPTzLGeQ4JQAB8U=";
|
||||
};
|
||||
|
||||
@@ -50,8 +50,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "REST API for the Bang & Olufsen Mozart platform";
|
||||
homepage = "https://github.com/bang-olufsen/mozart-open-api";
|
||||
changelog = "https://github.com/bang-olufsen/mozart-open-api/releases/tag/${version}";
|
||||
changelog = "https://github.com/bang-olufsen/mozart-open-api/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user