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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
605 B
Nix
Raw Permalink Normal View History

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";
version = "3.10";
pyproject = true;
2017-12-31 10:00:35 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-EvZcm0cKvabcNc+OY8xXSxxSsR3yyGAwrwrAmwGxPqk=";
2017-12-31 10:00:35 +00:00
};
build-system = [ flit-core ];
2022-09-14 21:36:09 +00:00
nativeCheckInputs = [ pytestCheckHook ];
2021-03-24 16:39:10 +00:00
2017-12-31 10:00:35 +00:00
meta = {
homepage = "https://github.com/kjd/idna/";
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
}