python3Packages.jaconv: init at 0.3

This commit is contained in:
Fabian Affolter 2021-12-03 14:30:37 +01:00 committed by Jonathan Ringer
parent 6af367e180
commit 4657c2e07a
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jaconv";
version = "0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ikegami-yukino";
repo = pname;
rev = "v${version}";
sha256 = "rityHi1JWWlV7+sAxNrlbcmfHmORZWrMZqXTRlsclhQ=";
};
checkInputs = [
nose
pytestCheckHook
];
pythonImportsCheck = [
"jaconv"
];
meta = with lib; {
description = "Python Japanese character interconverter for Hiragana, Katakana, Hankaku and Zenkaku";
homepage = "https://github.com/ikegami-yukino/jaconv";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3953,6 +3953,8 @@ in {
j2cli = callPackage ../development/python-modules/j2cli { };
jaconv = callPackage ../development/python-modules/jaconv { };
jaeger-client = callPackage ../development/python-modules/jaeger-client { };
janus = callPackage ../development/python-modules/janus { };