blob: 1d77ca276460855c462b105633394a7fd2b4c220 (
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,
unittestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "khanaa";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "cakimpei";
repo = "khanaa";
tag = "v${version}";
hash = "sha256-QFvvahVEld3BooINeUYJDahZyfh5xmQNtWRLAOdr6lw=";
};
build-system = [ setuptools ];
patches = [
./001-skip-broken-test.patch
];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"tests"
];
pythonImportsCheck = [ "khanaa" ];
meta = {
description = "Tool to make spelling Thai more convenient";
homepage = "https://github.com/cakimpei/khanaa";
changelog = "https://github.com/cakimpei/khanaa/blob/main/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vizid ];
};
}
|