tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Updating syncthing to 0.8.11.
Lluís Batlle i Rossell
11 years ago
31bc96ee
4f80f3b4
+6
-13
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
syncthing
default.nix
+6
-13
pkgs/applications/networking/syncthing/default.nix
···
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "syncthing-${version}";
5
5
-
version = "0.8.5";
5
5
+
version = "0.8.11";
6
6
7
7
src = fetchgit {
8
8
url = "git://github.com/calmh/syncthing.git";
9
9
rev = "refs/tags/v${version}";
10
10
-
sha256 = "0525fvar5c22sxg7737ajny80srds1adhi73a8yr12wsjnsqfi6x";
10
10
+
sha256 = "16dl9sqwhv0n1602pmi10d5j7z2196ijhvz4rfx7732210qbkpnn";
11
11
};
12
12
13
13
buildInputs = [ go ];
···
15
15
buildPhase = ''
16
16
mkdir -p "./dependencies/src/github.com/calmh/syncthing"
17
17
18
18
-
cp -r "./auto" "./dependencies/src/github.com/calmh/syncthing"
19
19
-
cp -r "./buffers" "./dependencies/src/github.com/calmh/syncthing"
20
20
-
cp -r "./cid" "./dependencies/src/github.com/calmh/syncthing"
21
21
-
cp -r "./discover" "./dependencies/src/github.com/calmh/syncthing"
22
22
-
cp -r "./files" "./dependencies/src/github.com/calmh/syncthing"
23
23
-
cp -r "./lamport" "./dependencies/src/github.com/calmh/syncthing"
24
24
-
cp -r "./protocol" "./dependencies/src/github.com/calmh/syncthing"
25
25
-
cp -r "./scanner" "./dependencies/src/github.com/calmh/syncthing"
26
26
-
cp -r "./mc" "./dependencies/src/github.com/calmh/syncthing"
27
27
-
cp -r "./xdr" "./dependencies/src/github.com/calmh/syncthing"
28
28
-
cp -r "./upnp" "./dependencies/src/github.com/calmh/syncthing"
18
18
+
for a in auto buffers cid discover files lamport protocol scanner \
19
19
+
logger beacon config xdr upnp model osutil versioner; do
20
20
+
cp -r "./$a" "./dependencies/src/github.com/calmh/syncthing"
21
21
+
done
29
22
30
23
export GOPATH="`pwd`/Godeps/_workspace:`pwd`/dependencies"
31
24