19 buildPythonPackage rec {
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-FhuIYXktcNnOVX+KU5cDOd2Qk7AcWaSKvfB/BZYpsZo=";
35 propagatedBuildInputs = [
36 # https://github.com/dmulyalin/ttp/blob/master/docs/source/Installation.rst#additional-dependencies
50 pythonImportsCheck = [
62 "test/pytest/test_N2G_formatter.py"
64 "test/pytest/test_extend_tag.py"
68 # data structure mismatches
69 "test_yangson_validate"
70 "test_yangson_validate_yang_lib_in_output_tag_data"
71 "test_yangson_validate_multiple_inputs_mode_per_input_with_yang_lib_in_file"
72 "test_yangson_validate_multiple_inputs_mode_per_template"
73 "test_yangson_validate_multiple_inputs_mode_per_input_with_yang_lib_in_file_to_xml"
74 "test_yangson_validate_multiple_inputs_mode_per_template_to_xml"
75 "test_adding_data_from_files"
76 "test_lookup_include_csv"
77 "test_inputs_with_template_base_path"
79 "test_inputs_url_filters_extensions"
80 # ValueError: dictionary update sequence element #0 has length 1; 2 is required
81 "test_include_attribute_with_yaml_loader"
82 # TypeError: string indices must be integers
83 "test_lookup_include_yaml"
84 # Missing .xslx files *shrug*
85 "test_excel_formatter_update"
86 "test_excel_formatter_update_using_result_kwargs"
90 "test_TTP_CACHE_FOLDER_env_variable_usage"
91 # requires additional network setup
92 "test_child_group_do_not_start_if_no_parent_started"
94 "test_in_threads_parsing"
96 "test_ttp_templates_dir_env_variable"
104 description = "Template Text Parser";
105 homepage = "https://github.com/dmulyalin/ttp";
106 license = licenses.mit;
107 maintainers = with maintainers; [ hexa ];