Unverified Commit 68e3978a authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

exiftool: 13.00 -> 13.25 (#392540)

parents a6082f5a a008b75a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11,11 +11,11 @@

buildPerlPackage rec {
  pname = "Image-ExifTool";
  version = "13.00";
  version = "13.25";

  src = fetchurl {
    url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
    hash = "sha256-SJV4jzT4NHZfhr5KWtWjJDP1ctdXFg7Ne2Eur17TfoQ=";
    hash = "sha256-HNVVFEhGooKYeDvr86tFIjUnPHg1hBCBPj1Ok8ZTsfo=";
  };

  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitea,
  fetchpatch,
  replaceVars,
  colord,
  setuptools,
@@ -34,6 +35,11 @@ buildPythonPackage rec {
  };

  patches = [
    (fetchpatch {
      name = "exiftool-13.23-compat.patch";
      url = "https://gitlab.mister-muffin.de/josch/img2pdf/commit/59132f20f8a40f6ed4e5cd2a3719bf55473ba4d7.patch";
      hash = "sha256-A36YSZ6kBFzEa2lSKIVHRg9r6Oi8FGkOnmt2YxlkwWw=";
    })
    (replaceVars ./default-icc-profile.patch {
      srgbProfile =
        if stdenv.hostPlatform.isDarwin then
+6 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildPythonPackage,
  pytestCheckHook,
  fetchFromGitLab,
  fetchpatch,
  replaceVars,
  bubblewrap,
  exiftool,
@@ -36,6 +37,11 @@ buildPythonPackage rec {

  patches =
    [
      (fetchpatch {
        name = "exiftool-13.25-compat.patch";
        url = "https://0xacab.org/jvoisin/mat2/-/commit/473903b70e1b269a6110242a9c098a10c18554e2.patch";
        hash = "sha256-vxxjAFwiTDlcTT3ZlfhOG4rlzBJS+LhLoA++8y2hEok=";
      })
      # hardcode paths to some binaries
      (replaceVars ./paths.patch {
        exiftool = lib.getExe exiftool;