mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.idna: use finalAttrs
This commit is contained in:
parent
6b2ed1f4ce
commit
54c816a0e5
1 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "idna";
|
||||
version = "3.18";
|
||||
pyproject = true;
|
||||
|
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "kjd";
|
||||
repo = "idna";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9nLy/9PNuLSQJsf4Jes0uN695+LGjz2LXlfiZxxvGV4=";
|
||||
};
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ buildPythonPackage rec {
|
|||
|
||||
meta = {
|
||||
homepage = "https://github.com/kjd/idna/";
|
||||
changelog = "https://github.com/kjd/idna/blob/${src.tag}/HISTORY.md";
|
||||
changelog = "https://github.com/kjd/idna/blob/${finalAttrs.src.tag}/HISTORY.md";
|
||||
description = "Internationalized Domain Names in Applications (IDNA)";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue