2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage, pkg-config, libappindicator-gtk3 }:
|
2017-08-15 16:34:55 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "syncthing-tray";
|
2017-08-15 16:34:55 +00:00
|
|
|
version = "0.7";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/alex2108/syncthing-tray";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alex2108";
|
|
|
|
repo = "syncthing-tray";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0869kinnsfzb8ydd0sv9fgqsi1sy5rhqg4whfdnrv82xjc71xyw3";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ libappindicator-gtk3 ];
|
2017-08-15 16:34:55 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-08-15 16:34:55 +00:00
|
|
|
description = "Simple application tray for syncthing";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/alex2108/syncthing-tray";
|
2017-08-15 16:34:55 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nickhu ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "syncthing-tray";
|
2017-08-15 16:34:55 +00:00
|
|
|
};
|
|
|
|
}
|