15 stdenv.mkDerivation rec {
16 pname = "discord-screenaudio";
19 src = fetchFromGitHub {
21 repo = "discord-screenaudio";
23 hash = "sha256-+F+XRBQn4AVDVARdM2XtBDE7c6tMPZTR3cntDL8aenw=";
24 fetchSubmodules = true;
38 kdePackages.knotifications
40 kdePackages.kglobalaccel
44 # version.cmake either uses git tags or a version.txt file to get app version.
45 # Since cmake can't access git tags, write the version to a version.txt ourselves.
46 echo "${version}" > version.txt
49 passthru.updateScript = nix-update-script { };
52 description = "A custom discord client that supports streaming with audio on Linux";
53 mainProgram = "discord-screenaudio";
54 homepage = "https://github.com/maltejur/discord-screenaudio";
55 downloadPage = "https://github.com/maltejur/discord-screenaudio/releases";
56 changelog = "https://github.com/maltejur/discord-screenaudio/releases/tag/v${version}";
57 license = lib.licenses.gpl3Only;
58 maintainers = with lib.maintainers; [ huantian ];
59 platforms = lib.platforms.linux;