blob: 8548def29c3dff0d67258816a6cbd269108d1874 (
plain) (
blame)
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
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, unittestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "khanaa";
version = "0.0.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cakimpei";
repo = "khanaa";
rev = "refs/tags/v${version}";
hash = "sha256-BzxNHYMkp5pdJYQ80EI5jlP654yX9woW7wz1jArCln4=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
unittestCheckHook
];
unittestFlagsArray = [ "-s" "tests" ];
pythonImportsCheck = [ "khanaa" ];
meta = with lib;
{
description = "A tool to make spelling Thai more convenient";
homepage = "https://github.com/cakimpei/khanaa";
changelog = "https://github.com/cakimpei/khanaa/blob/main/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ vizid ];
};
}
|