Merge pull request #28300 from NickHu/syncthing-tray
syncthing-tray: init at v0.7
This commit is contained in:
commit
47ec1bcb8c
27
pkgs/applications/misc/syncthing-tray/default.nix
Normal file
27
pkgs/applications/misc/syncthing-tray/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, libappindicator-gtk3 }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "syncthing-tray-${version}";
|
||||||
|
version = "0.7";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/alex2108/syncthing-tray";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "alex2108";
|
||||||
|
repo = "syncthing-tray";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0869kinnsfzb8ydd0sv9fgqsi1sy5rhqg4whfdnrv82xjc71xyw3";
|
||||||
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig libappindicator-gtk3 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simple application tray for syncthing";
|
||||||
|
homepage = https://github.com/alex2108/syncthing-tray;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ nickhu ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
93
pkgs/applications/misc/syncthing-tray/deps.nix
Normal file
93
pkgs/applications/misc/syncthing-tray/deps.nix
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/alex2108/systray";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/alex2108/systray";
|
||||||
|
rev = "40e874866be2dc2c57ab031bcbde27a76b90721a";
|
||||||
|
sha256 = "1bxnb6skb9ss0lwlwswql07ardkhm28nxglvlsxkdlmzv1dcwy1q";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/context";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/context";
|
||||||
|
rev = "624d99b1798d7c5375ea1d3ca4c5b04d58f7c775";
|
||||||
|
sha256 = "09yf9x6478a5z01hybr98zwa8ax3fx7l6wwsvdkxp3fdg9dqm13b";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/errors";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/errors";
|
||||||
|
rev = "99fa440517e8f3d1e4cd8d6dbed6b41f4c1ed3d6";
|
||||||
|
sha256 = "08rl32l5ks67hcgjxik62nd5g558mv4101kmz1ak7d3vfgg3m6i3";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/golog";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/golog";
|
||||||
|
rev = "cca714f7feb5df8e455f409b549d384441ac4578";
|
||||||
|
sha256 = "0gnf30n38zkx356cqc6jdv1kbzy59ddqhqndwrxsm2n2zc3b5p7q";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/hex";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/hex";
|
||||||
|
rev = "083fba3033ad473db3dd31c9bb368473d37581a7";
|
||||||
|
sha256 = "18q6rypmcqmcwlfzrrdcz08nff0a289saplvd9y3ifnfcqdw3j77";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/hidden";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/hidden";
|
||||||
|
rev = "d52a649ab33af200943bb599898dbdcfdbc94cb7";
|
||||||
|
sha256 = "0133qmp4sjq8da5di3459vc5g5nqbpqra0f558zd95js3fdmkmsi";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/ops";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/ops";
|
||||||
|
rev = "b70875f5d689a9438bca72aefd7142a2af889b18";
|
||||||
|
sha256 = "0cfa2bbkykbzbskmgd2an34him72z6f3y88ag1v5ffpb0d6bnar7";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/getlantern/stack";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/getlantern/stack";
|
||||||
|
rev = "02f928aad224fbccd50d66edd776fc9d1e9f2f2b";
|
||||||
|
sha256 = "0ddl5r4iw3c7p4drh4d8phl7d0ssdddsnd3xjm1lzgxylqq6r568";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/oxtoacart/bpool";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/oxtoacart/bpool";
|
||||||
|
rev = "4e1c5567d7c2dd59fa4c7c83d34c2f3528b025d6";
|
||||||
|
sha256 = "01kk6dhkz96yhp3p5v2rjwq8mbrwrdsn6glqw7jp4h7g5za7yi95";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/toqueteos/webbrowser";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/toqueteos/webbrowser";
|
||||||
|
rev = "e2ebfdc6cb1a3fdc4fc4dbd20a0cae0c2e406792";
|
||||||
|
sha256 = "0sgjnxrq0jgipkij8b6xiy4am9bv9zziqxxdhw15rdjc5piyk3a2";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -16186,6 +16186,8 @@ with pkgs;
|
|||||||
|
|
||||||
syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { };
|
syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { };
|
||||||
|
|
||||||
|
syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
|
||||||
|
|
||||||
# linux only by now
|
# linux only by now
|
||||||
synergy = callPackage ../applications/misc/synergy { };
|
synergy = callPackage ../applications/misc/synergy { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user