freefilesync: add update script

This commit is contained in:
Weijia Wang 2022-12-23 02:01:16 +01:00
parent 358da2fc96
commit 6cf062877f

View file

@ -9,6 +9,7 @@
, libssh2 , libssh2
, openssl , openssl
, wxGTK32 , wxGTK32
, gitUpdater
}: }:
gcc12Stdenv.mkDerivation rec { gcc12Stdenv.mkDerivation rec {
@ -88,6 +89,10 @@ gcc12Stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; { meta = with lib; {
description = "Open Source File Synchronization & Backup Software"; description = "Open Source File Synchronization & Backup Software";
homepage = "https://freefilesync.org"; homepage = "https://freefilesync.org";