lol

syncthing: 0.12.25 -> 0.13.4 (#15730)

* Rename v0.12.25 package from 'syncthing' to 'syncthing012'
* Remove syncthing011

authored by

Paul Hendry and committed by
Franz Pletz
8ea1f2d3 dd2bb96d

+48 -31
+1
lib/maintainers.nix
··· 296 pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>"; 297 prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>"; 298 profpatsch = "Profpatsch <mail@profpatsch.de>"; 299 psibi = "Sibi <sibi@psibi.in>"; 300 pSub = "Pascal Wittmann <mail@pascal-wittmann.de>"; 301 puffnfresh = "Brian McKenna <brian@brianmckenna.org>";
··· 296 pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>"; 297 prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>"; 298 profpatsch = "Profpatsch <mail@profpatsch.de>"; 299 + pshendry = "Paul Hendry <paul@pshendry.com>"; 300 psibi = "Sibi <sibi@psibi.in>"; 301 pSub = "Pascal Wittmann <mail@pascal-wittmann.de>"; 302 puffnfresh = "Brian McKenna <brian@brianmckenna.org>";
+40
pkgs/applications/networking/syncthing/default.nix
···
··· 1 + { stdenv, fetchgit, go }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "0.13.4"; 5 + name = "syncthing-${version}"; 6 + 7 + src = fetchgit { 8 + url = https://github.com/syncthing/syncthing; 9 + rev = "refs/tags/v${version}"; 10 + sha256 = "0aa0nqi0gmka5r5dzph4g51jlsy7w5q4ri8f4gy3qnma4pgp7pg2"; 11 + }; 12 + 13 + buildInputs = [ go ]; 14 + 15 + buildPhase = '' 16 + mkdir -p src/github.com/syncthing 17 + ln -s $(pwd) src/github.com/syncthing/syncthing 18 + export GOPATH=$(pwd) 19 + # Required for Go 1.5, can be removed for Go 1.6+ 20 + export GO15VENDOREXPERIMENT=1 21 + 22 + # Syncthing's build.go script expects this working directory 23 + cd src/github.com/syncthing/syncthing 24 + 25 + go run build.go -no-upgrade -version v${version} install all 26 + ''; 27 + 28 + installPhase = '' 29 + mkdir -p $out/bin 30 + cp bin/* $out/bin 31 + ''; 32 + 33 + meta = { 34 + homepage = https://www.syncthing.net/; 35 + description = "Open Source Continuous File Synchronization"; 36 + license = stdenv.lib.licenses.mpl20; 37 + maintainers = with stdenv.lib.maintainers; [pshendry]; 38 + platforms = with stdenv.lib.platforms; linux ++ freebsd ++ openbsd ++ netbsd; 39 + }; 40 + }
+3 -2
pkgs/top-level/all-packages.nix
··· 14229 14230 symlinks = callPackage ../tools/system/symlinks { }; 14231 14232 - syncthing = go15Packages.syncthing.bin // { outputs = [ "bin" ]; }; 14233 - syncthing011 = go15Packages.syncthing011.bin // { outputs = [ "bin" ]; }; 14234 14235 # linux only by now 14236 synergy = callPackage ../applications/misc/synergy { };
··· 14229 14230 symlinks = callPackage ../tools/system/symlinks { }; 14231 14232 + syncthing = callPackage ../applications/networking/syncthing { }; 14233 + 14234 + syncthing012 = go15Packages.syncthing012.bin // { outputs = [ "bin" ]; }; 14235 14236 # linux only by now 14237 synergy = callPackage ../applications/misc/synergy { };
+4 -29
pkgs/top-level/go-packages.nix
··· 3716 sha256 = "094ksr2nlxhvxr58nbnzzk0prjskb21r86jmxqjr3rwg4rkwn6d4"; 3717 }; 3718 3719 - syncthing = buildFromGitHub rec { 3720 version = "0.12.25"; 3721 rev = "v${version}"; 3722 owner = "syncthing"; ··· 3734 ''; 3735 }; 3736 3737 - syncthing011 = buildFromGitHub rec { 3738 - version = "0.11.26"; 3739 - rev = "v${version}"; 3740 - owner = "syncthing"; 3741 - repo = "syncthing"; 3742 - sha256 = "0c0dcvxrvjc84dvrsv90790aawkmavsj9bwp8c6cd6wrwj3cp9lq"; 3743 - buildInputs = [ 3744 - go-lz4 du luhn xdr snappy ratelimit osext syncthing-protocol011 3745 - goleveldb suture qart crypto net text 3746 - ]; 3747 - postPatch = '' 3748 - # Mostly a cosmetic change 3749 - sed -i 's,unknown-dev,${version},g' cmd/syncthing/main.go 3750 - ''; 3751 - }; 3752 - 3753 syncthing-lib = buildFromGitHub { 3754 - inherit (syncthing) rev owner repo sha256; 3755 subPackages = [ "lib/sync" ]; 3756 - propagatedBuildInputs = syncthing.buildInputs; 3757 }; 3758 3759 syncthing-protocol = buildFromGitHub { 3760 - inherit (syncthing) rev owner repo sha256; 3761 subPackages = [ "lib/protocol" ]; 3762 propagatedBuildInputs = [ 3763 go-lz4 ··· 3765 luhn 3766 xdr 3767 text ]; 3768 - }; 3769 - 3770 - syncthing-protocol011 = buildFromGitHub { 3771 - rev = "84365882de255d2204d0eeda8dee288082a27f98"; 3772 - version = "2015-08-28"; 3773 - owner = "syncthing"; 3774 - repo = "protocol"; 3775 - sha256 = "07xjs43lpd51pc339f8x487yhs39riysj3ifbjxsx329kljbflwx"; 3776 - propagatedBuildInputs = [ go-lz4 logger luhn xdr text ]; 3777 }; 3778 3779 tablewriter = buildFromGitHub {
··· 3716 sha256 = "094ksr2nlxhvxr58nbnzzk0prjskb21r86jmxqjr3rwg4rkwn6d4"; 3717 }; 3718 3719 + syncthing012 = buildFromGitHub rec { 3720 version = "0.12.25"; 3721 rev = "v${version}"; 3722 owner = "syncthing"; ··· 3734 ''; 3735 }; 3736 3737 syncthing-lib = buildFromGitHub { 3738 + inherit (syncthing012) rev owner repo sha256; 3739 subPackages = [ "lib/sync" ]; 3740 + propagatedBuildInputs = syncthing012.buildInputs; 3741 }; 3742 3743 syncthing-protocol = buildFromGitHub { 3744 + inherit (syncthing012) rev owner repo sha256; 3745 subPackages = [ "lib/protocol" ]; 3746 propagatedBuildInputs = [ 3747 go-lz4 ··· 3749 luhn 3750 xdr 3751 text ]; 3752 }; 3753 3754 tablewriter = buildFromGitHub {