mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.asgiref: convert to finalAttrs
This commit is contained in:
parent
bb8b3495ed
commit
652746146f
1 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@
|
|||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
version = "3.11.0";
|
||||
pname = "asgiref";
|
||||
pyproject = true;
|
||||
|
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "django";
|
||||
repo = "asgiref";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-2ZaUIWGF5cQVNj95b7WiKGsn2wYsoJmJ/CfPhIEZdjc=";
|
||||
};
|
||||
|
||||
|
|
@ -37,10 +37,10 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "asgiref" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/django/asgiref/blob/${src.tag}/CHANGELOG.txt";
|
||||
changelog = "https://github.com/django/asgiref/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
|
||||
description = "Reference ASGI adapters and channel layers";
|
||||
homepage = "https://github.com/django/asgiref";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue