mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
34 lines
772 B
Nix
34 lines
772 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "idna";
|
|
version = "3.18";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kjd";
|
|
repo = "idna";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-9nLy/9PNuLSQJsf4Jes0uN695+LGjz2LXlfiZxxvGV4=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
pythonImportsCheck = [ "idna" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kjd/idna/";
|
|
changelog = "https://github.com/kjd/idna/blob/${finalAttrs.src.tag}/HISTORY.md";
|
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
})
|