Unverified Commit 368c92b6 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

stirling-pdf: 1.3.2 -> 1.5.0 (#460781)

parents a45d68a8 90a37cb7
Loading
Loading
Loading
Loading
+570 −459

File changed.

Preview size limit exceeded, changes collapsed.

+3 −10
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  gradle_8,
  makeWrapper,
  jre,
@@ -13,24 +12,18 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "stirling-pdf";
  version = "1.3.2";
  version = "1.5.0";

  src = fetchFromGitHub {
    owner = "Stirling-Tools";
    repo = "Stirling-PDF";
    rev = "v${finalAttrs.version}";
    hash = "sha256-H1nYRUIUVRUGGK+Vonr2v7oM6SfhYEsFk+JJp/4DI4M=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-IgzBWIYK3ps0WxBMkJK/vEyvgpEv3NurbNhaTwz25Bc=";
  };

  patches = [
    # remove timestamp from the header of a generated .properties file
    ./remove-props-file-timestamp.patch
    # Apply fix for building on macOS. Remove when updating the package next time.
    (fetchpatch2 {
      name = "normalize-path-in-ApplicationPropertiesLogicTest.patch";
      url = "https://github.com/Stirling-Tools/Stirling-PDF/commit/93fb62047a6ab85db63305c23dde5e5118e1ae2e.patch";
      hash = "sha256-kQNYyRtJ0smuhaoII31k87b7QRBJosK6xlFiQUwobsg=";
    })
  ];

  mitmCache = gradle.fetchDeps {