nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 816 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "jaconv"; 11 version = "0.4.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "ikegami-yukino"; 16 repo = "jaconv"; 17 tag = "v${version}"; 18 hash = "sha256-43sziwJ/SDdpLHJyGXyI5nXEofbos2W+NV7DlOpWWa8="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "jaconv" ]; 26 27 meta = { 28 description = "Python Japanese character interconverter for Hiragana, Katakana, Hankaku and Zenkaku"; 29 homepage = "https://github.com/ikegami-yukino/jaconv"; 30 changelog = "https://github.com/ikegami-yukino/jaconv/blob/${src.tag}/CHANGES.rst"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}