2017-08-15 18:34:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, libappindicator-gtk3 }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "syncthing-tray";
|
2017-08-15 18:34:55 +02: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;
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libappindicator-gtk3 ];
|
2017-08-15 18:34:55 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple application tray for syncthing";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/alex2108/syncthing-tray";
|
2017-08-15 18:34:55 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nickhu ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|