15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitea {
23 domain = "codeberg.org";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-b2lYYdg1RW1xRD3hym7o1EnxzN/U5txVTWRifwZn3k0=";
30 build-system = [ setuptools-scm ];
35 ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
44 # We don't care about benchmarks
46 "pytest_benchmark_update_machine_info"
47 "pytest_benchmark_update_json"
52 pythonImportsCheck = [ "pykakasi" ];
55 description = "Python converter for Japanese Kana-kanji sentences into Kana-Roman";
56 homepage = "https://codeberg.org/miurahr/pykakasi";
57 changelog = "https://codeberg.org/miurahr/pykakasi/src/tag/v${version}/CHANGELOG.rst";
58 license = licenses.gpl3Plus;
59 maintainers = with maintainers; [ fab ];
60 mainProgram = "kakasi";