12 buildPythonPackage rec {
13 pname = "translatepy";
16 src = fetchFromGitHub {
17 owner = "Animenosekai";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-cx5OeBrB8il8KrcyOmQbQ7VCXoaA5RP++oTTxCs/PcM=";
23 propagatedBuildInputs = [
31 nativeCheckInputs = [ pytestCheckHook ];
33 # Requires network connection
34 "tests/test_translate.py"
35 "tests/test_translators.py"
37 pythonImportsCheck = [ "translatepy" ];
40 description = "A module grouping multiple translation APIs";
41 homepage = "https://github.com/Animenosekai/translate";
42 license = with licenses; [ agpl3Only ];
43 maintainers = with maintainers; [ emilytrau ];