diff options
author | Nick Hu <me@nickhu.co.uk> | 2017-08-15 17:34:55 +0100 |
---|---|---|
committer | Nick Hu <me@nickhu.co.uk> | 2017-08-15 17:49:17 +0100 |
commit | 78b6d45921aba45ce61592bf18ac9f09b70a1929 (patch) | |
tree | 5f384bde4ad76d195a3d1d648b2e45e74cf5cdac /pkgs/applications/misc/syncthing-tray/default.nix | |
parent | 11eece3a2e51e33afccb365b774aa21f600db988 (diff) |
syncthing-tray: init at v0.7
Diffstat (limited to 'pkgs/applications/misc/syncthing-tray/default.nix')
-rw-r--r-- | pkgs/applications/misc/syncthing-tray/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/syncthing-tray/default.nix b/pkgs/applications/misc/syncthing-tray/default.nix new file mode 100644 index 0000000000000..f9d1039a292e5 --- /dev/null +++ b/pkgs/applications/misc/syncthing-tray/default.nix @@ -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; + }; +} |