python313Packages.pynina: migrate to finalAttrs
This commit is contained in:
committed by
Robert Schütz
parent
1112b5a481
commit
1581895a5c
@@ -6,13 +6,13 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pynina";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-ypbfvhXKu4pKr/DrWFnAhwMoqShJzWLqlA7/YQzJ9r4=";
|
||||
};
|
||||
|
||||
@@ -30,8 +30,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python API wrapper to retrieve warnings from the german NINA app";
|
||||
homepage = "https://gitlab.com/DeerMaximum/pynina";
|
||||
changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/v${version}";
|
||||
changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user