20 buildPythonPackage rec {
25 src = fetchFromGitHub {
29 hash = "sha256-IWqPFspERBVkjsTYTAkOTOrugq4fD65Q140G3SCEV0w=";
32 nativeBuildInputs = [ poetry-core ];
34 propagatedBuildInputs = [
35 # https://github.com/dmulyalin/ttp/blob/master/docs/source/Installation.rst#additional-dependencies
49 pythonImportsCheck = [ "ttp" ];
59 "test/pytest/test_N2G_formatter.py"
61 "test/pytest/test_extend_tag.py"
62 "test/pytest/test_ttp_parser_methods.py"
66 # data structure mismatches
67 "test_global_output_deepdiff_with_var_before"
68 "test_group_specific_output_deepdiff_with_var_before"
69 "test_group_specific_output_deepdiff_with_var_before_with_add_field"
70 "test_yangson_validate"
71 "test_yangson_validate_yang_lib_in_output_tag_data"
72 "test_yangson_validate_multiple_inputs_mode_per_input_with_yang_lib_in_file"
73 "test_yangson_validate_multiple_inputs_mode_per_template"
74 "test_yangson_validate_multiple_inputs_mode_per_input_with_yang_lib_in_file_to_xml"
75 "test_yangson_validate_multiple_inputs_mode_per_template_to_xml"
76 "test_adding_data_from_files"
77 "test_lookup_include_csv"
78 "test_inputs_with_template_base_path"
80 "test_inputs_url_filters_extensions"
81 # ValueError: dictionary update sequence element #0 has length 1; 2 is required
82 "test_include_attribute_with_yaml_loader"
83 # TypeError: string indices must be integers
84 "test_lookup_include_yaml"
85 # Missing .xslx files *shrug*
86 "test_excel_formatter_update"
87 "test_excel_formatter_update_using_result_kwargs"
91 "test_TTP_CACHE_FOLDER_env_variable_usage"
92 # requires additional network setup
93 "test_child_group_do_not_start_if_no_parent_started"
95 "test_in_threads_parsing"
97 "test_ttp_templates_dir_env_variable"
100 pytestFlagsArray = [ "test/pytest" ];
103 changelog = "https://github.com/dmulyalin/ttp/releases/tag/${version}";
104 description = "Template Text Parser";
106 homepage = "https://github.com/dmulyalin/ttp";
107 license = licenses.mit;