mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
748 B
Nix
29 lines
748 B
Nix
{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, 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 = [ pkgconfig ];
|
|
buildInputs = [ 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;
|
|
};
|
|
}
|