nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, buildGoPackage, pkg-config, libappindicator-gtk3 }:
2
3buildGoPackage rec {
4 pname = "syncthing-tray";
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 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ libappindicator-gtk3 ];
20
21 meta = with lib; {
22 description = "Simple application tray for syncthing";
23 homepage = "https://github.com/alex2108/syncthing-tray";
24 license = licenses.mit;
25 maintainers = with maintainers; [ nickhu ];
26 };
27}