nixpkgs/pkgs/development/python-modules/idna/default.nix

30 lines
605 B
Nix

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