blob: 8f9b2f5e0680255203bc7eddf12405d17c73c978 (
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
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lark,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rfc3987-syntax";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "willynilly";
repo = "rfc3987-syntax";
tag = "v${version}";
hash = "sha256-6jA/x8KnwBvyW2k384/EB/NJ8BmJJTEHA8YUlQP+1Y4=";
};
build-system = [
hatchling
];
dependencies = [
lark
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"rfc3987_syntax"
];
meta = {
changelog = "https://github.com/willynilly/rfc3987-syntax/releases/tag/${src.tag}";
description = "Helper functions to syntactically validate strings according to RFC 3987";
homepage = "https://github.com/willynilly/rfc3987-syntax";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|