blob: aefe7334db73f1cca0aecd7a1e12460d58b70908 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "idna";
version = "3.11";
pyproject = true;
src = fetchFromGitHub {
owner = "kjd";
repo = "idna";
tag = "v${version}";
hash = "sha256-4mnWOit+lrZnVslVyfalt6lv7qSYpLlyvET553SplJU=";
};
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 ];
};
}
|