blob: 66ede8df310028c88f24342df39df1ee45cb570f (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
mecab,
setuptools-scm,
cython,
}:
buildPythonPackage rec {
pname = "ipadic";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "polm";
repo = "ipadic-py";
tag = "v${version}";
hash = "sha256-ybC8G1AOIZWkS3uQSErXctIJKq9Y7xBjRbBrO8/yAj4=";
};
# no tests
doCheck = false;
nativeBuildInputs = [
cython
mecab
setuptools-scm
];
pythonImportsCheck = [ "ipadic" ];
meta = {
description = "Contemporary Written Japanese dictionary";
homepage = "https://github.com/polm/ipadic-py";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ laurent-f1z1 ];
};
}
|