From be0127196301eb6dd388ac2ae61bf47cfa007831 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 9 May 2022 12:13:57 +0800 Subject: [PATCH] syncthing: 1.19.2 -> 1.20.1 --- .../networking/syncthing/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index e4088c3c460..f3059ac780c 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -4,21 +4,21 @@ let common = { stname, target, postInstall ? "" }: buildGoModule rec { pname = stname; - version = "1.19.2"; + version = "1.20.1"; src = fetchFromGitHub { - owner = "syncthing"; - repo = "syncthing"; - rev = "v${version}"; - sha256 = "sha256-Zday5lBsRCl00vnnXNKu6VMlq8zmwgI0I+73Pir7ss4="; + owner = "syncthing"; + repo = "syncthing"; + rev = "v${version}"; + hash = "sha256-QJevD/meVPEHnfwT1Eu3cwfVFU+ab/16eJBl6cuhGdA="; }; - vendorSha256 = "sha256-2yK0eE34cA7U1nDWRp/JigFpeveipmCuL4jP+94T3Sg="; + vendorSha256 = "sha256-NuiT2GytWaGkgSyl+qoe9DjCCL7wSHc6FU8C6rsy6Vc="; doCheck = false; - BUILD_USER="nix"; - BUILD_HOST="nix"; + BUILD_USER = "nix"; + BUILD_HOST = "nix"; buildPhase = '' runHook preBuild @@ -49,7 +49,8 @@ let }; }; -in { +in +{ syncthing = common { stname = "syncthing"; target = "syncthing";