From 31bc96eee7a74ba80fac670372af9a30ed73d5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 27 May 2014 16:54:26 +0200 Subject: [PATCH] Updating syncthing to 0.8.11. --- .../networking/syncthing/default.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 72a4a55069a..12aa98758ad 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { name = "syncthing-${version}"; - version = "0.8.5"; + version = "0.8.11"; src = fetchgit { url = "git://github.com/calmh/syncthing.git"; rev = "refs/tags/v${version}"; - sha256 = "0525fvar5c22sxg7737ajny80srds1adhi73a8yr12wsjnsqfi6x"; + sha256 = "16dl9sqwhv0n1602pmi10d5j7z2196ijhvz4rfx7732210qbkpnn"; }; buildInputs = [ go ]; @@ -15,17 +15,10 @@ stdenv.mkDerivation rec { buildPhase = '' mkdir -p "./dependencies/src/github.com/calmh/syncthing" - cp -r "./auto" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./buffers" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./cid" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./discover" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./files" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./lamport" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./protocol" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./scanner" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./mc" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./xdr" "./dependencies/src/github.com/calmh/syncthing" - cp -r "./upnp" "./dependencies/src/github.com/calmh/syncthing" + for a in auto buffers cid discover files lamport protocol scanner \ + logger beacon config xdr upnp model osutil versioner; do + cp -r "./$a" "./dependencies/src/github.com/calmh/syncthing" + done export GOPATH="`pwd`/Godeps/_workspace:`pwd`/dependencies"