Commit 2fde79a0 authored by Weijia Wang's avatar Weijia Wang
Browse files

freefilesync: 12.2 -> 12.3

parent f31001c5
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, fetchpatch
, copyDesktopItems
, pkg-config
@@ -12,21 +12,20 @@
, libssh2
, openssl
, wxGTK32
, gitUpdater
, makeDesktopItem
}:

stdenv.mkDerivation rec {
  pname = "freefilesync";
  version = "12.2";
  version = "12.3";

  src = fetchFromGitHub {
    owner = "hkneptune";
    repo = "FreeFileSync";
    rev = "v${version}";
    hash = "sha256-pCXMpK+NF06vgEgX31wyO24+kPhvPhdTeRk1j84nYd0=";
  src = fetchurl {
    url = "https://freefilesync.org/download/FreeFileSync_${version}_Source.zip";
    hash = "sha256-s6jNWqqriL/ePFCUQvLeNxNjHz+nZevD2x1kkw1gDE8=";
  };

  sourceRoot = ".";

  # Patches from Debian
  patches = [
    # Disable loading of the missing Animal.dat
@@ -112,10 +111,6 @@ stdenv.mkDerivation rec {
    })
  ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
  };

  meta = with lib; {
    description = "Open Source File Synchronization & Backup Software";
    homepage = "https://freefilesync.org";