2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-09-30 11:47:45 +00:00
|
|
|
, flit-core
|
2021-04-26 19:14:03 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "idna";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.7";
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-Ao/zqt8GCcH9J42OowiSmUEqeoub0AXdCLn4KFvLXPw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [
|
2022-09-30 11:47:45 +00:00
|
|
|
flit-core
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-09-30 11:47:45 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kjd/idna/";
|
2024-05-15 15:35:15 +00:00
|
|
|
changelog = "https://github.com/kjd/idna/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
}
|