git.iko.soy/typeable/nixpkgs
on master help sign in
syncthing-tray: init at v0.7
commit78b6d45921aba45ce61592bf18ac9f09b70a1929 authorNick Hu <me@nickhu.co.uk> dateTue 15 Aug 2017, 17:34 (9 years ago) parent11eece3
3 files changed+122
pkgs/applications/misc/syncthing-tray/default.nix+27 pkgs/applications/misc/syncthing-tray/deps.nix+93 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/syncthing-tray/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, libappindicator-gtk3 }:
2+
3+buildGoPackage rec {
4+ name = "syncthing-tray-${version}";
5+ version = "0.7";
6+
7+ goPackagePath = "github.com/alex2108/syncthing-tray";
8+
9+ src = fetchFromGitHub {
10+ owner = "alex2108";
11+ repo = "syncthing-tray";
12+ rev = "v${version}";
13+ sha256 = "0869kinnsfzb8ydd0sv9fgqsi1sy5rhqg4whfdnrv82xjc71xyw3";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ buildInputs = [ pkgconfig libappindicator-gtk3 ];
19+
20+ meta = with stdenv.lib; {
21+ description = "Simple application tray for syncthing";
22+ homepage = https://github.com/alex2108/syncthing-tray;
23+ license = licenses.mit;
24+ maintainers = with maintainers; [ nickhu ];
25+ platforms = platforms.all;
26+ };
27+}
pkgs/applications/misc/syncthing-tray/deps.nixnew file+93
@@ -0,0 +1,93 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2+[
3+ {
4+ goPackagePath = "github.com/alex2108/systray";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/alex2108/systray";
8+ rev = "40e874866be2dc2c57ab031bcbde27a76b90721a";
9+ sha256 = "1bxnb6skb9ss0lwlwswql07ardkhm28nxglvlsxkdlmzv1dcwy1q";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/getlantern/context";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/getlantern/context";
17+ rev = "624d99b1798d7c5375ea1d3ca4c5b04d58f7c775";
18+ sha256 = "09yf9x6478a5z01hybr98zwa8ax3fx7l6wwsvdkxp3fdg9dqm13b";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/getlantern/errors";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/getlantern/errors";
26+ rev = "99fa440517e8f3d1e4cd8d6dbed6b41f4c1ed3d6";
27+ sha256 = "08rl32l5ks67hcgjxik62nd5g558mv4101kmz1ak7d3vfgg3m6i3";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/getlantern/golog";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/getlantern/golog";
35+ rev = "cca714f7feb5df8e455f409b549d384441ac4578";
36+ sha256 = "0gnf30n38zkx356cqc6jdv1kbzy59ddqhqndwrxsm2n2zc3b5p7q";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/getlantern/hex";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/getlantern/hex";
44+ rev = "083fba3033ad473db3dd31c9bb368473d37581a7";
45+ sha256 = "18q6rypmcqmcwlfzrrdcz08nff0a289saplvd9y3ifnfcqdw3j77";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/getlantern/hidden";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/getlantern/hidden";
53+ rev = "d52a649ab33af200943bb599898dbdcfdbc94cb7";
54+ sha256 = "0133qmp4sjq8da5di3459vc5g5nqbpqra0f558zd95js3fdmkmsi";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/getlantern/ops";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/getlantern/ops";
62+ rev = "b70875f5d689a9438bca72aefd7142a2af889b18";
63+ sha256 = "0cfa2bbkykbzbskmgd2an34him72z6f3y88ag1v5ffpb0d6bnar7";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/getlantern/stack";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/getlantern/stack";
71+ rev = "02f928aad224fbccd50d66edd776fc9d1e9f2f2b";
72+ sha256 = "0ddl5r4iw3c7p4drh4d8phl7d0ssdddsnd3xjm1lzgxylqq6r568";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/oxtoacart/bpool";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/oxtoacart/bpool";
80+ rev = "4e1c5567d7c2dd59fa4c7c83d34c2f3528b025d6";
81+ sha256 = "01kk6dhkz96yhp3p5v2rjwq8mbrwrdsn6glqw7jp4h7g5za7yi95";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/toqueteos/webbrowser";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/toqueteos/webbrowser";
89+ rev = "e2ebfdc6cb1a3fdc4fc4dbd20a0cae0c2e406792";
90+ sha256 = "0sgjnxrq0jgipkij8b6xiy4am9bv9zziqxxdhw15rdjc5piyk3a2";
91+ };
92+ }
93+]
pkgs/top-level/all-packages.nix+2
@@ -16183,6 +16183,8 @@ with pkgs;
1618316183
1618416184 syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { };
1618516185
16186+ syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
16187+
1618616188 # linux only by now
1618716189 synergy = callPackage ../applications/misc/synergy { };
1618816190