depot/third_party/nixpkgs/pkgs/development/python-modules/jaconv/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

38 lines
740 B
Nix

{ 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 ];
};
}