mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
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:
parent
b48fdaf267
commit
9ee6afafd2
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue