python3Packages.sseclient-py: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-26 20:21:31 +01:00
committed by GitHub
parent 20a393809a
commit 94058a20ad
@@ -6,7 +6,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sseclient-py";
version = "1.9.0";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mpetazzoni";
repo = "sseclient";
tag = "sseclient-py-${version}";
tag = "sseclient-py-${finalAttrs.version}";
hash = "sha256-AIldZFElGgSbw38aZWCWI1N35MiE+b9D1s/XhD7aIvo=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Pure-Python Server Side Events (SSE) client";
homepage = "https://github.com/mpetazzoni/sseclient";
changelog = "https://github.com/mpetazzoni/sseclient/releases/tag/sseclient-py-${src.tag}";
changelog = "https://github.com/mpetazzoni/sseclient/releases/tag/sseclient-py-${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jamiemagee ];
};
}
})