freefilesync: 12.2 -> 12.3

This commit is contained in:
Weijia Wang 2023-05-18 00:10:07 +03:00
parent f31001c5b3
commit 2fde79a048

View file

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchurl
, fetchpatch , fetchpatch
, copyDesktopItems , copyDesktopItems
, pkg-config , pkg-config
@ -12,21 +12,20 @@
, libssh2 , libssh2
, openssl , openssl
, wxGTK32 , wxGTK32
, gitUpdater
, makeDesktopItem , makeDesktopItem
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "freefilesync"; pname = "freefilesync";
version = "12.2"; version = "12.3";
src = fetchFromGitHub { src = fetchurl {
owner = "hkneptune"; url = "https://freefilesync.org/download/FreeFileSync_${version}_Source.zip";
repo = "FreeFileSync"; hash = "sha256-s6jNWqqriL/ePFCUQvLeNxNjHz+nZevD2x1kkw1gDE8=";
rev = "v${version}";
hash = "sha256-pCXMpK+NF06vgEgX31wyO24+kPhvPhdTeRk1j84nYd0=";
}; };
sourceRoot = ".";
# Patches from Debian # Patches from Debian
patches = [ patches = [
# Disable loading of the missing Animal.dat # Disable loading of the missing Animal.dat
@ -112,10 +111,6 @@ stdenv.mkDerivation rec {
}) })
]; ];
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";