mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Add discord alts
This commit is contained in:
parent
b152ff48c7
commit
a0ef8e1ce0
3 changed files with 65 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ in {
|
|||
opensnitch-ui
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"libsoup-2.74.3"
|
||||
];
|
||||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
networking.hostName = cfg.user.name;
|
||||
|
|
|
|||
54
modules/home/desktop/packages/librediscord.nix
Normal file
54
modules/home/desktop/packages/librediscord.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
@ -17,10 +17,17 @@ in {
|
|||
# Communication
|
||||
# kotatogram-desktop
|
||||
signal-desktop
|
||||
abaddon
|
||||
vesktop-nogain
|
||||
# (callPackage ./packages/librediscord.nix {})
|
||||
|
||||
# Video
|
||||
freetube
|
||||
|
||||
# Security
|
||||
gcr
|
||||
];
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue