mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.sse-starlette: migrate to finalAttrs
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
uvicorn,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "sse-starlette";
|
||||
version = "3.4.5";
|
||||
pyproject = true;
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "sysid";
|
||||
repo = "sse-starlette";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-b0iNu9CN4Tca2hGU0Rpr/v0Q4KWNPQNCp9BY5YnzjzA=";
|
||||
};
|
||||
|
||||
@@ -86,8 +86,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Server Sent Events for Starlette and FastAPI";
|
||||
homepage = "https://github.com/sysid/sse-starlette";
|
||||
changelog = "https://github.com/sysid/sse-starlette/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/sysid/sse-starlette/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user