mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / ipadic / default.nix
blob2702f6888c40d145879f6b84337a0b812b3b0d0c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   mecab,
7   setuptools-scm,
8   cython,
9 }:
11 buildPythonPackage rec {
12   pname = "ipadic";
13   version = "1.0.0";
14   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "polm";
19     repo = "ipadic-py";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-ybC8G1AOIZWkS3uQSErXctIJKq9Y7xBjRbBrO8/yAj4=";
22   };
24   # no tests
25   doCheck = false;
27   nativeBuildInputs = [
28     cython
29     mecab
30     setuptools-scm
31   ];
33   pythonImportsCheck = [ "ipadic" ];
35   meta = with lib; {
36     description = "Contemporary Written Japanese dictionary";
37     homepage = "https://github.com/polm/ipadic-py";
38     license = licenses.mit;
39     maintainers = with maintainers; [ laurent-f1z1 ];
40   };