···4545 src = fetchFromGitHub {4646 owner = "MatthiasValvekens";4747 repo = "pyHanko";4848- rev = "refs/tags/v${version}";4848+ tag = "v${version}";4949 hash = "sha256-HJkCQ5YDVr17gtY4PW89ep7GwFdP21/ruBEKm7j3+Qo=";5050 };5151···9292 requests-mock9393 ] ++ lib.flatten (lib.attrValues optional-dependencies);94949595- disabledTestPaths = [9696- # ModuleNotFoundError: No module named 'csc_dummy'9797- "pyhanko_tests/test_csc.py"9898- ];9595+ disabledTestPaths =9696+ [9797+ # ModuleNotFoundError: No module named 'csc_dummy'9898+ "pyhanko_tests/test_csc.py"9999+ ]100100+ ++ lib.optionals stdenv.hostPlatform.isDarwin [101101+ # OSError: One or more parameters passed to a function were not valid.102102+ "pyhanko_tests/cli_tests"103103+ ];99104100100- disabledTests = [101101- # Most of the test require working with local certificates,102102- # contacting OSCP or performing requests103103- "test_generic_data_sign_legacy"104104- "test_generic_data_sign"105105- "test_cms_v3_sign"106106- "test_detached_cms_with_self_reported_timestamp"107107- "test_detached_cms_with_tst"108108- "test_detached_cms_with_content_tst"109109- "test_detached_cms_with_wrong_content_tst"110110- "test_detached_with_malformed_content_tst"111111- "test_noop_attribute_prov"112112- "test_detached_cades_cms_with_tst"113113- "test_read_qr_config"114114- "test_no_changes_policy"115115- "test_bogus_metadata_manipulation"116116- "test_tamper_sig_obj"117117- "test_signed_file_diff_proxied_objs"118118- "test_pades_revinfo_live"119119- "test_diff_fallback_ok"120120- "test_no_diff_summary"121121- "test_ocsp_embed"122122- "test_ts_fetch_aiohttp"123123- "test_ts_fetch_requests"124124- ];105105+ disabledTests =106106+ [107107+ # Most of the test require working with local certificates,108108+ # contacting OSCP or performing requests109109+ "test_generic_data_sign_legacy"110110+ "test_generic_data_sign"111111+ "test_cms_v3_sign"112112+ "test_detached_cms_with_self_reported_timestamp"113113+ "test_detached_cms_with_tst"114114+ "test_detached_cms_with_content_tst"115115+ "test_detached_cms_with_wrong_content_tst"116116+ "test_detached_with_malformed_content_tst"117117+ "test_noop_attribute_prov"118118+ "test_detached_cades_cms_with_tst"119119+ "test_read_qr_config"120120+ "test_no_changes_policy"121121+ "test_bogus_metadata_manipulation"122122+ "test_tamper_sig_obj"123123+ "test_signed_file_diff_proxied_objs"124124+ "test_pades_revinfo_live"125125+ "test_diff_fallback_ok"126126+ "test_no_diff_summary"127127+ "test_ocsp_embed"128128+ "test_ts_fetch_aiohttp"129129+ "test_ts_fetch_requests"130130+ ]131131+ ++ lib.optionals stdenv.hostPlatform.isDarwin [132132+ # OSError: One or more parameters passed to a function were not valid.133133+ "test_detached_cms_with_duplicated_attr"134134+ "test_detached_cms_with_wrong_tst"135135+ "test_diff_analysis_add_extensions_dict"136136+ "test_diff_analysis_update_indirect_extensions_not_all_path"137137+ "test_no_certificates"138138+ "test_ocsp_without_nextupdate_embed"139139+ ];125140126141 pythonImportsCheck = [ "pyhanko" ];127142