Unverified Commit 8154c382 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #255551 from wegank/freefilesync-bump

freefilesync: 12.5 -> 13.0
parents 446e0a2d 1ef56d3f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -15,18 +15,18 @@
, makeDesktopItem
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "freefilesync";
  version = "12.5";
  version = "13.0";

  src = fetchurl {
    url = "https://freefilesync.org/download/FreeFileSync_${version}_Source.zip";
    url = "https://freefilesync.org/download/FreeFileSync_${finalAttrs.version}_Source.zip";
    # The URL only redirects to the file on the second attempt
    postFetch = ''
      rm -f $out
      tryDownload "$url"
    '';
    hash = "sha256-KTN/HbNLP/+z5rryp3wDRo6c7l03vi6tUxCXZPMGUoM=";
    hash = "sha256-E0lYKNCVtkdnhI3NPx8828Fz6sfmIm18KSC0NSWgHfQ=";
  };

  sourceRoot = ".";
@@ -127,4 +127,4 @@ stdenv.mkDerivation rec {
    maintainers = with maintainers; [ wegank ];
    platforms = platforms.linux;
  };
}
})