Commit b41355dd authored by Anthony ROUSSEL's avatar Anthony ROUSSEL Committed by Anthony Roussel
Browse files
parent 2e88dbad
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -11,15 +11,19 @@

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

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

  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;

  postPatch = ''
    patchShebangs exiftool
  '';

  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
    shortenPerlShebang $out/bin/exiftool
  '';