mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 14:23:40 +00:00
Diff: https://github.com/kjd/idna/compare/v3.11...v3.13 Changelog: https://github.com/kjd/idna/releases/tag/v3.12 https://github.com/kjd/idna/releases/tag/v3.13
35 lines
737 B
Nix
35 lines
737 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "idna";
|
|
version = "3.13";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kjd";
|
|
repo = "idna";
|
|
tag = "v${version}";
|
|
hash = "sha256-D72KUEwiFA/LdU/xE3sN+Abc6NpAsIlGSdB07V1nk68=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
pythonImportsCheck = [ "idna" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kjd/idna/";
|
|
changelog = "https://github.com/kjd/idna/releases/tag/${src.tag}";
|
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
}
|