gotktrix: init at 0.1.1 (#162571)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Chuang Zhu 2022-03-23 12:50:12 +08:00 committed by GitHub
parent 9994b33f0e
commit e9c91a137a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gtk4
, glib
, gobject-introspection
, pkg-config
, go
}:
buildGoModule rec {
pname = "gotktrix";
version = "0.1.1";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9feKg/rnkWdJRolHBQ5WT6Rl3xTFe82M8HyxJK3VuN4=";
};
vendorSha256 = "sha256-eO/2MvWOVCeeCsiU2mSwgSEVlSbCXOp8qHyoG0lmk+Q=";
buildInputs = [
gtk4
glib
gobject-introspection
];
nativeBuildInputs = [ pkg-config ];
# Checking requires a working display
doCheck = false;
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

@ -1927,6 +1927,8 @@ with pkgs;
gopacked = callPackage ../applications/misc/gopacked { };
gotktrix = callPackage ../applications/networking/instant-messengers/gotktrix { };
gucci = callPackage ../tools/text/gucci { };
guglielmo = libsForQt5.callPackage ../applications/radio/guglielmo { };