syncthing: 1.3.0 -> 1.3.2

This commit is contained in:
Emmanuel Rosa 2019-12-06 22:14:15 +07:00 committed by Lassulus
parent 1d41c6eca7
commit 671fc82ece
2 changed files with 11 additions and 11 deletions

View File

@ -1,17 +1,17 @@
diff --git i/build.go w/build.go diff --git a/build.go b/build.go
index 7d400d6f..1b5e1d25 100644 index c8a5c1cf..d75a8491 100644
--- i/build.go --- a/build.go
+++ w/build.go +++ b/build.go
@@ -175,6 +175,12 @@ var targets = map[string]target{ @@ -202,6 +202,12 @@ var targets = map[string]target{
{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644}, {src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644},
}, },
}, },
+ "stcli": { + "stcli": {
+ name: "stcli", + name: "stcli",
+ description: "Syncthing CLI", + description: "Syncthing CLI",
+ buildPkg: "github.com/syncthing/syncthing/cmd/stcli", + buildPkgs: []string{"github.com/syncthing/syncthing/cmd/stcli"},
+ binaryName: "stcli", // .exe will be added automatically for Windows builds + binaryName: "stcli",
+ }, + },
} }
func init() { // These are repos we need to clone to run "go generate"

View File

@ -3,19 +3,19 @@
let let
common = { stname, target, postInstall ? "" }: common = { stname, target, postInstall ? "" }:
buildGoModule rec { buildGoModule rec {
version = "1.3.0"; version = "1.3.2";
name = "${stname}-${version}"; name = "${stname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "syncthing"; owner = "syncthing";
repo = "syncthing"; repo = "syncthing";
rev = "v${version}"; rev = "v${version}";
sha256 = "14k1acap9y1z8sj28gcn72lkfxdzpcqj9d27hk8vzm47zjaxgp8l"; sha256 = "029mym3vdfg616gpmhv6p22iy65h8vff2sq6z70l37bjf3zx1cms";
}; };
goPackagePath = "github.com/syncthing/syncthing"; goPackagePath = "github.com/syncthing/syncthing";
modSha256 = "17np8ym84ql7hwzsqfx2l6yiy9hag7h96q8ysvarlfg9l95g1m64"; modSha256 = "06anhfi9mswmwhhjyz8mla6h8v83cc7slfr752fvgfaxra1fwgx8";
patches = [ patches = [
./add-stcli-target.patch ./add-stcli-target.patch