mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.daphne: migrate to finalAttrs
This commit is contained in:
parent
b5ea3e78d1
commit
117f8de2f2
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
twisted,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "daphne";
|
||||
version = "4.2.2";
|
||||
pyproject = true;
|
||||
|
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "django";
|
||||
repo = "daphne";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-i0BwZCpMZW6WXK94FSvlEheXHUzXviCBEew6AbkLkpk=";
|
||||
};
|
||||
|
||||
|
|
@ -49,9 +49,9 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Django ASGI (HTTP/WebSocket) server";
|
||||
homepage = "https://github.com/django/daphne";
|
||||
changelog = "https://github.com/django/daphne/blob/${src.tag}/CHANGELOG.txt";
|
||||
changelog = "https://github.com/django/daphne/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
mainProgram = "daphne";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue