blob: f2e6fcfb1e1ce5d2e0c8f88c86800d07be969eaa (
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
|
{
lib,
babel,
buildPythonPackage,
fetchFromGitHub,
linetable,
pytestCheckHook,
hatchling,
}:
buildPythonPackage rec {
pname = "kajiki";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jackrosenthal";
repo = "kajiki";
tag = "v${version}";
hash = "sha256-bAgUMA9PlwsO7FRjwiKCsFffLWNU+Go1DToblmyWprk=";
};
propagatedBuildInputs = [ linetable ];
build-system = [ hatchling ];
nativeCheckInputs = [
babel
pytestCheckHook
];
pythonImportsCheck = [ "kajiki" ];
meta = {
description = "Module provides fast well-formed XML templates";
mainProgram = "kajiki";
homepage = "https://github.com/nandoflorestan/kajiki";
changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onny ];
};
}
|