exiftool: add passthru.tests.version

This commit is contained in:
Anthony Roussel
2024-03-20 10:32:54 +01:00
parent 74194ca563
commit 0dfa686474
@@ -1,9 +1,11 @@
{ lib
, stdenv
, buildPerlPackage
, exiftool
, fetchurl
, gitUpdater
, shortenPerlShebang
, testers
}:
buildPerlPackage rec {
@@ -21,6 +23,11 @@ buildPerlPackage rec {
'';
passthru = {
tests.version = testers.testVersion {
inherit version;
command = "${lib.getExe exiftool} -ver";
package = exiftool;
};
updateScript = gitUpdater {
url = "https://github.com/exiftool/exiftool.git";
};