3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/gtkcord4/default.nix
2022-11-29 20:34:32 +00:00

48 lines
831 B
Nix

{ buildGoModule
, cairo
, fetchFromGitHub
, gdk-pixbuf
, glib
, gobject-introspection
, graphene
, gtk4
, lib
, pango
, pkg-config
}:
buildGoModule rec {
pname = "gtkcord4";
version = "0.0.6";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
hash = "sha256-uEG1pAHMQT+C/E5rKByflvL0NNkC8SeSPMAXanzvhE4=";
};
nativeBuildInputs = [
gobject-introspection
pkg-config
];
buildInputs = [
cairo
gdk-pixbuf
glib
graphene
gtk4
pango
];
vendorHash = "sha256-QZSjSk1xu5ZcrNEra5TxnUVvlQWb5/h31fm5Nc7WMoI=";
meta = with lib; {
description = "GTK4 Discord client in Go, attempt #4.";
homepage = "https://github.com/diamondburned/gtkcord4";
license = licenses.gpl3Only;
maintainers = with maintainers; [ urandom ];
};
}