blob: 5fc6ea2d3803ecdc996e39862528587c48692929 (
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
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, unittestCheckHook
, hatchling
, khanaa
}:
buildPythonPackage rec {
pname = "wunsen";
version = "0.0.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cakimpei";
repo = "wunsen";
rev = "refs/tags/v${version}";
hash = "sha256-lMEhtcWG+S3vAz+Y/qDxhaZslsO0pbs5xUn5QgZNs2U=";
};
build-system = [
hatchling
];
dependencies = [
khanaa
];
nativeCheckInputs = [
unittestCheckHook
];
unittestFlagsArray = [ "-s" "tests" ];
pythonImportsCheck = [ "wunsen" ];
meta = with lib;
{
description = "Transliterate/transcribe other languages into Thai Topics";
homepage = "https://github.com/cakimpei/wunsen";
changelog = "https://github.com/cakimpei/wunsen/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ vizid ];
};
}
|