nixpkgs/pkgs/development/python-modules/jamo/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

35 lines
745 B
Nix

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