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