about summary refs log tree commit diff
path: root/pkgs/applications/networking/freefilesync
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-05-18 00:10:07 +0300
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-05-18 00:10:07 +0300
commit2fde79a048904ffd9a21b536bee133f0641cb933 (patch)
tree40b02ae0ead7c076ccedcc279190d1d5fe331062 /pkgs/applications/networking/freefilesync
parentf31001c5b35d1c0a507efd3b75fafe39c37b6f67 (diff)
freefilesync: 12.2 -> 12.3
Diffstat (limited to 'pkgs/applications/networking/freefilesync')
-rw-r--r--pkgs/applications/networking/freefilesync/default.nix19
1 files changed, 7 insertions, 12 deletions
diff --git a/pkgs/applications/networking/freefilesync/default.nix b/pkgs/applications/networking/freefilesync/default.nix
index 79c3582b5a823..5e40813e7d97d 100644
--- a/pkgs/applications/networking/freefilesync/default.nix
+++ b/pkgs/applications/networking/freefilesync/default.nix
@@ -1,6 +1,6 @@
 { 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";