python3Packages.jaconv: init at 0.3
This commit is contained in:
parent
6af367e180
commit
4657c2e07a
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/jaconv/default.nix
Normal file
38
pkgs/development/python-modules/jaconv/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue