mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
syncthing: 1.3.0 -> 1.3.2
This commit is contained in:
parent
1d41c6eca7
commit
671fc82ece
2 changed files with 11 additions and 11 deletions
|
@ -1,17 +1,17 @@
|
|||
diff --git i/build.go w/build.go
|
||||
index 7d400d6f..1b5e1d25 100644
|
||||
--- i/build.go
|
||||
+++ w/build.go
|
||||
@@ -175,6 +175,12 @@ var targets = map[string]target{
|
||||
diff --git a/build.go b/build.go
|
||||
index c8a5c1cf..d75a8491 100644
|
||||
--- a/build.go
|
||||
+++ b/build.go
|
||||
@@ -202,6 +202,12 @@ var targets = map[string]target{
|
||||
{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaypoolsrv/AUTHORS.txt", perm: 0644},
|
||||
},
|
||||
},
|
||||
+ "stcli": {
|
||||
+ name: "stcli",
|
||||
+ description: "Syncthing CLI",
|
||||
+ buildPkg: "github.com/syncthing/syncthing/cmd/stcli",
|
||||
+ binaryName: "stcli", // .exe will be added automatically for Windows builds
|
||||
+ buildPkgs: []string{"github.com/syncthing/syncthing/cmd/stcli"},
|
||||
+ binaryName: "stcli",
|
||||
+ },
|
||||
}
|
||||
|
||||
func init() {
|
||||
// These are repos we need to clone to run "go generate"
|
||||
|
|
|
@ -3,19 +3,19 @@
|
|||
let
|
||||
common = { stname, target, postInstall ? "" }:
|
||||
buildGoModule rec {
|
||||
version = "1.3.0";
|
||||
version = "1.3.2";
|
||||
name = "${stname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "syncthing";
|
||||
repo = "syncthing";
|
||||
rev = "v${version}";
|
||||
sha256 = "14k1acap9y1z8sj28gcn72lkfxdzpcqj9d27hk8vzm47zjaxgp8l";
|
||||
sha256 = "029mym3vdfg616gpmhv6p22iy65h8vff2sq6z70l37bjf3zx1cms";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/syncthing/syncthing";
|
||||
|
||||
modSha256 = "17np8ym84ql7hwzsqfx2l6yiy9hag7h96q8ysvarlfg9l95g1m64";
|
||||
modSha256 = "06anhfi9mswmwhhjyz8mla6h8v83cc7slfr752fvgfaxra1fwgx8";
|
||||
|
||||
patches = [
|
||||
./add-stcli-target.patch
|
||||
|
|
Loading…
Reference in a new issue