mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
54 lines
959 B
Nix
54 lines
959 B
Nix
{
|
|
fetchFromGitLab,
|
|
gtk3,
|
|
libsoup_2_4,
|
|
json-glib,
|
|
leveldb,
|
|
rtaudio,
|
|
libopus,
|
|
libsodium,
|
|
libsecret,
|
|
pkg-config,
|
|
stdenv,
|
|
lib,
|
|
}: let
|
|
version = "0.1.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit version;
|
|
|
|
pname = "LibreDiscord";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "Zipdox";
|
|
repo = "LibreDiscord";
|
|
rev = "a8130fab059e69437f30e320374fe6f5d21398f8";
|
|
hash = "sha256-yr2pxW0e2ruMnDzkQMv2BQrOcN18m8zdzovnD4Dxr3M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libsoup_2_4
|
|
json-glib
|
|
leveldb
|
|
rtaudio
|
|
libopus
|
|
libsodium
|
|
libsecret
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp build/librediscord $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Voice client for Discord written in C using GTK3 and GLib";
|
|
homepage = "https://gitlab.com/Zipdox/LibreDiscord";
|
|
license = lib.licenses.gpl3Only;
|
|
};
|
|
}
|