about summary refs log tree commit diff
path: root/pkgs/applications/networking/bittorrentsync
diff options
context:
space:
mode:
authorDomen Kozar <domen@dev.si>2013-05-11 09:31:04 +0200
committerDomen Kozar <domen@dev.si>2013-05-11 09:31:25 +0200
commit7044fd8e0542ddfe7dc15b859950f22a37dd0d16 (patch)
treef898265a60a772870f9c9560778b2dba24ca574b /pkgs/applications/networking/bittorrentsync
parent8d7e1a79cc07f742084c8f01b624a84391e43078 (diff)
btsync: upgrade to 1.0.132
Diffstat (limited to 'pkgs/applications/networking/bittorrentsync')
-rw-r--r--pkgs/applications/networking/bittorrentsync/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/networking/bittorrentsync/default.nix b/pkgs/applications/networking/bittorrentsync/default.nix
index 65a60b88477e6..dedf9b7b3ab25 100644
--- a/pkgs/applications/networking/bittorrentsync/default.nix
+++ b/pkgs/applications/networking/bittorrentsync/default.nix
@@ -1,7 +1,6 @@
 { stdenv, fetchurl, patchelf }:
 
 # this package contains the daemon version of bittorrent sync
-
 # it's unfortunately closed source.
 
 let
@@ -15,16 +14,15 @@ let
     else if stdenv.system == "i686-linux" then "ld-linux.so.2"
     else throw "Bittorrent Sync for: ${stdenv.system} not supported!";
 
-  version = "1.0.116";
-  sha256 = if stdenv.system == "x86_64-linux" then "108c11x8lp0a4irq88raclz3zfvmkxsqymxx3y8amc1lc6kc3n8i"
-    else if stdenv.system == "i686-linux" then "0kkxi04rggq6lrvn7g1xjay2nskqn7z4qkm0h0lcra7h2jz09mf1"
+  version = "1.0.132";
+  sha256 = if stdenv.system == "x86_64-linux" then "04mwzpbibzzbl384ziq07g7xxbc1rb5lyxgc7g8m1x5fvc6g1dk6"
+    else if stdenv.system == "i686-linux" then "0yz1y761gx612lczlqjc3wddnw73qf4b8rna9hmfzan7ikqb81z0"
     else throw "Bittorrent Sync for: ${stdenv.system} not supported!";
 
 in stdenv.mkDerivation {
   name = "btsync-bin-${version}";
   src = fetchurl {
-    # TODO: using version-specific URL: http://forum.bittorrent.com/topic/18070-versioned-binary-downloads/#entry45868
-    url = "http://btsync.s3-website-us-east-1.amazonaws.com/btsync_${arch}.tar.gz";
+    url = "http://syncapp.bittorrent.com/${version}/btsync_${arch}-${version}.tar.gz";
     inherit sha256;
   };