Unverified Commit b3a09c9a authored by Atemu's avatar Atemu Committed by GitHub
Browse files

syncthing-tray: drop (#407970)

parents 2d05ee9c 0991961a
Loading
Loading
Loading
Loading
+0 −44
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  buildGoModule,
  pkg-config,
  libappindicator-gtk3,
}:

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

  src = fetchFromGitHub {
    owner = "alex2108";
    repo = "syncthing-tray";
    rev = "v${version}";
    hash = "sha256-g/seDpNdoJ1tc5CTh2EuXoeo8XNpa9CaR+s7bW2cySA=";
  };

  vendorHash = "sha256-hGV5bivDUFEbOwU9sU+Eu5Wzz/aZtj6NUkpzHlmZTtw=";

  patches = [
    # Migrate to Go modules
    (fetchpatch {
      url = "https://github.com/alex2108/syncthing-tray/commit/94fac974a227cd03c566f81797a21b1bcc29adf5.patch";
      hash = "sha256-uJfnI9kGIlw4OzFoML+ulgR3keOeVB3+ox/4RtYJNXY=";
    })
  ];

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

  meta = {
    description = "Simple application tray for syncthing";
    homepage = "https://github.com/alex2108/syncthing-tray";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      luftmensch-luftmensch
      nickhu
    ];
    mainProgram = "syncthing-tray";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1797,6 +1797,7 @@ mapAliases {
  sync = taler-sync; # Added 2024-09-04
  syncthing-cli = throw "'syncthing-cli' has been renamed to/replaced by 'syncthing'"; # Converted to throw 2024-10-17
  syncthingtray-qt6 = syncthingtray; # Added 2024-03-06
  syncthing-tray = throw "syncthing-tray has been removed because it is broken and unmaintained";

  ### T ###