summary refs log tree commit diff
path: root/pkgs/applications/misc/syncthing-tray/default.nix
blob: 15ef1654e70e0e00c1dfdca3de4950684e370bbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchFromGitHub, buildGoPackage, pkg-config, libappindicator-gtk3 }:

buildGoPackage rec {
  pname = "syncthing-tray";
  version = "0.7";

  goPackagePath = "github.com/alex2108/syncthing-tray";

  src = fetchFromGitHub {
    owner = "alex2108";
    repo = "syncthing-tray";
    rev = "v${version}";
    sha256 = "0869kinnsfzb8ydd0sv9fgqsi1sy5rhqg4whfdnrv82xjc71xyw3";
  };

  goDeps = ./deps.nix;

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libappindicator-gtk3 ];

  meta = with lib; {
    description = "Simple application tray for syncthing";
    homepage = "https://github.com/alex2108/syncthing-tray";
    license = licenses.mit;
    maintainers = with maintainers; [ nickhu ];
  };
}