1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nose, 6 pythonOlder, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "jaconv"; 12 version = "0.3.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "ikegami-yukino"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-9ruhOLaYNESeKOwJs3IN6ct66fSq7My9DOyA7/cH3d0="; 22 }; 23 24 nativeCheckInputs = [ 25 nose 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "jaconv" ]; 30 31 meta = with lib; { 32 description = "Python Japanese character interconverter for Hiragana, Katakana, Hankaku and Zenkaku"; 33 homepage = "https://github.com/ikegami-yukino/jaconv"; 34 changelog = "https://github.com/ikegami-yukino/jaconv/blob/v${version}/CHANGES.rst"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}