Unverified Commit c77fb40c authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

mdbook-pandoc: 0.10.5 -> 0.11.0 (#485869)

parents cb0482a8 14ca6d30
Loading
Loading
Loading
Loading
+3 −18
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@

rustPlatform.buildRustPackage rec {
  pname = "mdbook-pandoc";
  version = "0.10.5";
  version = "0.11.0";

  src = fetchFromGitHub {
    owner = "max-heller";
    repo = "mdbook-pandoc";
    tag = "v${version}";
    hash = "sha256-ihKju9XXJy4JciuMLw4EcKhqSQjrBiUJDG0Rd5DbFdk=";
    hash = "sha256-lLuw6CZPWHZ8DZz/lWTd+eEv688HcbkvsxLRvW38RKs=";
  };

  cargoHash = "sha256-SXXzGOBvfyLYhed5EMFUCzkFWoGEMM73PD3uWjkUcic=";
  cargoHash = "sha256-TMFnF/aTJ2UrtnPZ4UOQke6dtUZbUxywf4JIX53mhKY=";

  nativeBuildInputs = [ makeWrapper ];

@@ -30,21 +30,6 @@ rustPlatform.buildRustPackage rec {
    texliveSmall
  ];

  checkFlags =
    let
      skippedTests = [
        # failing subtly
        "tests::html::rust_reference_regression_nested_elements"
        "tests::css::css"
        "tests::definition_lists::dt_attributes"
        "tests::html::attach_id_to_div_of_stripped_html_elements"
        "tests::html::link_to_element_by_id"
        "tests::images::images"
      ]
      ++ lib.optional stdenv.buildPlatform.isDarwin "pandoc::tests::five_item_deep_list";
    in
    builtins.map (x: "--skip=" + x) skippedTests;

  passthru = {
    wrapper = callPackage ./wrapper.nix { };
  };