2017-12-31 10:00:35 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2022-09-14 21:36:09 +00:00
|
|
|
flit-core,
|
2021-03-24 16:39:10 +00:00
|
|
|
pytestCheckHook,
|
2017-12-31 10:00:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "idna";
|
2024-09-29 15:05:01 +00:00
|
|
|
version = "3.10";
|
2024-04-12 07:43:16 +00:00
|
|
|
pyproject = true;
|
2017-12-31 10:00:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-09-29 15:05:01 +00:00
|
|
|
hash = "sha256-EvZcm0cKvabcNc+OY8xXSxxSsR3yyGAwrwrAmwGxPqk=";
|
2017-12-31 10:00:35 +00:00
|
|
|
};
|
|
|
|
|
2024-04-12 07:43:16 +00:00
|
|
|
build-system = [ flit-core ];
|
2022-09-14 21:36:09 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-03-24 16:39:10 +00:00
|
|
|
|
2017-12-31 10:00:35 +00:00
|
|
|
meta = {
|
2018-03-25 05:04:25 +00:00
|
|
|
homepage = "https://github.com/kjd/idna/";
|
2024-04-12 07:43:16 +00:00
|
|
|
changelog = "https://github.com/kjd/idna/releases/tag/v${version}";
|
2017-12-31 10:00:35 +00:00
|
|
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2020-08-25 02:07:09 +00:00
|
|
|
}
|