python3Packages.idna: 3.10 -> 3.11

Diff: https://github.com/kjd/idna/compare/v3.10...v3.11

Changelog: https://github.com/kjd/idna/releases/tag/v3.11
This commit is contained in:
Robert Schütz 2025-10-27 10:04:34 -07:00
parent b48fdaf267
commit 9ee6afafd2

View file

@ -1,28 +1,32 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "idna";
version = "3.10";
version = "3.11";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-EvZcm0cKvabcNc+OY8xXSxxSsR3yyGAwrwrAmwGxPqk=";
src = fetchFromGitHub {
owner = "kjd";
repo = "idna";
tag = "v${version}";
hash = "sha256-4mnWOit+lrZnVslVyfalt6lv7qSYpLlyvET553SplJU=";
};
build-system = [ flit-core ];
pythonImportsCheck = [ "idna" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://github.com/kjd/idna/";
changelog = "https://github.com/kjd/idna/releases/tag/v${version}";
changelog = "https://github.com/kjd/idna/releases/tag/${src.tag}";
description = "Internationalized Domain Names in Applications (IDNA)";
license = lib.licenses.bsd3;
};