depot/third_party/nixpkgs/pkgs/development/python-modules/jamo/default.nix

35 lines
745 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jamo";
version = "0.4.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "JDongian";
repo = "python-jamo";
rev = "refs/tags/v${version}";
hash = "sha256-QHI3Rqf1aQOsW49A/qnIwRnPuerbtyerf+eWIiEvyho=";
};
pythonImportsCheck = [
"jamo"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/JDongian/python-jamo/releases/tag/v${version}";
description = "Hangul syllable decomposition and synthesis using jamo";
homepage = "https://github.com/JDongian/python-jamo";
license = licenses.asl20;
maintainers = teams.tts.members;
};
}