From a11f1567b41bd0cb1539b9eb7b2cd349be428aae Mon Sep 17 00:00:00 2001 From: PhiliPdB Date: Fri, 18 Apr 2025 09:11:51 +0200 Subject: [PATCH] rapid-photo-downloader: Add update script --- .../graphics/rapid-photo-downloader/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/graphics/rapid-photo-downloader/default.nix b/pkgs/applications/graphics/rapid-photo-downloader/default.nix index f7a2685169ca..a072e90d5d5e 100644 --- a/pkgs/applications/graphics/rapid-photo-downloader/default.nix +++ b/pkgs/applications/graphics/rapid-photo-downloader/default.nix @@ -17,6 +17,7 @@ gdk-pixbuf, libmediainfo, vmtouch, + gitUpdater, }: mkDerivationWith python3Packages.buildPythonApplication rec { @@ -118,6 +119,11 @@ mkDerivationWith python3Packages.buildPythonApplication rec { ) ''; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + ignoredVersions = "a.*"; + }; + meta = with lib; { description = "Photo and video importer for cameras, phones, and memory cards"; mainProgram = "rapid-photo-downloader";