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
3
stdenv.mkDerivation rec {
4
name = "syncthing-${version}";
5
-
version = "0.8.5";
6
7
src = fetchgit {
8
url = "git://github.com/calmh/syncthing.git";
9
rev = "refs/tags/v${version}";
10
-
sha256 = "0525fvar5c22sxg7737ajny80srds1adhi73a8yr12wsjnsqfi6x";
11
};
12
13
buildInputs = [ go ];
···
15
buildPhase = ''
16
mkdir -p "./dependencies/src/github.com/calmh/syncthing"
17
18
-
cp -r "./auto" "./dependencies/src/github.com/calmh/syncthing"
19
-
cp -r "./buffers" "./dependencies/src/github.com/calmh/syncthing"
20
-
cp -r "./cid" "./dependencies/src/github.com/calmh/syncthing"
21
-
cp -r "./discover" "./dependencies/src/github.com/calmh/syncthing"
22
-
cp -r "./files" "./dependencies/src/github.com/calmh/syncthing"
23
-
cp -r "./lamport" "./dependencies/src/github.com/calmh/syncthing"
24
-
cp -r "./protocol" "./dependencies/src/github.com/calmh/syncthing"
25
-
cp -r "./scanner" "./dependencies/src/github.com/calmh/syncthing"
26
-
cp -r "./mc" "./dependencies/src/github.com/calmh/syncthing"
27
-
cp -r "./xdr" "./dependencies/src/github.com/calmh/syncthing"
28
-
cp -r "./upnp" "./dependencies/src/github.com/calmh/syncthing"
29
30
export GOPATH="`pwd`/Godeps/_workspace:`pwd`/dependencies"
31
···
2
3
stdenv.mkDerivation rec {
4
name = "syncthing-${version}";
5
+
version = "0.8.11";
6
7
src = fetchgit {
8
url = "git://github.com/calmh/syncthing.git";
9
rev = "refs/tags/v${version}";
10
+
sha256 = "16dl9sqwhv0n1602pmi10d5j7z2196ijhvz4rfx7732210qbkpnn";
11
};
12
13
buildInputs = [ go ];
···
15
buildPhase = ''
16
mkdir -p "./dependencies/src/github.com/calmh/syncthing"
17
18
+
for a in auto buffers cid discover files lamport protocol scanner \
19
+
logger beacon config xdr upnp model osutil versioner; do
20
+
cp -r "./$a" "./dependencies/src/github.com/calmh/syncthing"
21
+
done
0
0
0
0
0
0
0
22
23
export GOPATH="`pwd`/Godeps/_workspace:`pwd`/dependencies"
24