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