syncthing: 0.14.32 -> 0.14.36

+6 -5
+6 -5
pkgs/applications/networking/syncthing/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, go, procps, removeReferencesTo }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.14.32"; 4 + version = "0.14.36"; 5 5 name = "syncthing-${version}"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "syncthing"; 9 9 repo = "syncthing"; 10 10 rev = "v${version}"; 11 - sha256 = "1agjr3m4gnywbp40idi0pwy25cp836sdcar7r6r9hwcqxyyzz545"; 11 + sha256 = "1l4s74qlabwfkpi9lmm588ym0myavbs06a5gpp9nihzrsal18727"; 12 12 }; 13 13 14 14 buildInputs = [ go removeReferencesTo ]; ··· 21 21 # Syncthing's build.go script expects this working directory 22 22 cd src/github.com/syncthing/syncthing 23 23 24 - go run build.go -no-upgrade -version v${version} install all 24 + go run build.go -no-upgrade -version v${version} build 25 25 ''; 26 26 27 27 installPhase = '' 28 - mkdir -p $out/bin $out/lib/systemd/{system,user} 28 + mkdir -p $out/lib/systemd/{system,user} 29 + 30 + install -Dm755 syncthing $out/bin/syncthing 29 31 30 - cp bin/* $out/bin 31 32 '' + lib.optionalString (stdenv.isLinux) '' 32 33 substitute etc/linux-systemd/system/syncthing-resume.service \ 33 34 $out/lib/systemd/system/syncthing-resume.service \