gotktrix: drop

This commit is contained in:
Chuang Zhu 2023-12-06 16:52:18 +08:00
parent 9ed8ade77a
commit 3a634a6714
3 changed files with 1 additions and 52 deletions

View File

@ -1,50 +0,0 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gtk4
, glib
, gobject-introspection
, pkg-config
}:
buildGoModule rec {
pname = "gotktrix";
version = "unstable-2023-04-05";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "a8f876a383cc34dac18edddbe22be2dd494b8d0c"; # compound
hash = "sha256-BuiA9UajdMhSrEfaXdu5DZlVhC4GVUdUpQDLMvKGrEk=";
};
vendorHash = "sha256-oo/j6i7slXILqyvj/EHojsyCZzJMGd10PTZaLvI1xoc=";
buildInputs = [
gtk4
glib
];
nativeBuildInputs = [ pkg-config gobject-introspection ];
# Checking requires a working display
doCheck = false;
postPatch = ''
sed -i '/DBusActivatable/d' .nix/com.github.diamondburned.gotktrix.desktop
echo 'X-Purism-FormFactor=Workstation;Mobile;' >> .nix/com.github.diamondburned.gotktrix.desktop
'';
postInstall = ''
install -Dm444 .nix/com.github.diamondburned.gotktrix.desktop -t $out/share/applications/
install -Dm444 .github/logo-256.png -T $out/share/icons/hicolor/256x256/apps/gotktrix.png
'';
meta = with lib; {
description = "Matrix client written in Go using GTK4";
homepage = "https://github.com/diamondburned/gotktrix";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ chuangzhu ];
platforms = platforms.linux;
};
}

View File

@ -285,6 +285,7 @@ mapAliases ({
geekbench5 = throw "'geekbench5' has been renamed to 'geekbench_5'"; # Added 2023-03-10
ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18
go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04
gotktrix = throw "'gotktrix' has been removed, as it was broken and unmaintained"; # Added 2023-12-06
git-subset = throw "'git-subset' has been removed in favor of 'git-filter-repo'"; # Added 2023-01-13
gitAndTools = self // {

View File

@ -3916,8 +3916,6 @@ with pkgs;
goperf = callPackage ../development/tools/goperf { };
gotktrix = callPackage ../applications/networking/instant-messengers/gotktrix { };
graphite-cli = nodePackages.graphite-cli;
gucci = callPackage ../tools/text/gucci { };