add discord-music-presence

Signed-off-by: Xaiya Schumin <d.schumin@proton.me>
This commit is contained in:
Xaiya Schumin
2026-05-20 00:20:04 +02:00
commit f0ade0d043
6 changed files with 126 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
lib,
stdenv,
fetchurl,
appimageTools,
}:
let
version = "2.3.5";
pname = "discord-music-presence";
src = fetchurl {
url = "https://github.com/ungive/discord-music-presence/releases/download/v${version}/musicpresence-${version}-linux-x86_64.AppImage";
hash = "sha256-M7oDxVevspA3SGuHktS8ChQAYopgIqypiVlzyE4uyqI=";
};
appimageContents = appimageTools.extractType1 { inherit src; name = pname; };
in
appimageTools.wrapType2 rec {
inherit pname version src;
meta = {
description = "The Discord music status that works with any media player";
homepage = "https://github.com/ungive/discord-music-presence";
license = lib.licenses.unfreeRedistributable;
maintainers = with lib.maintainers; [ ];
mainProgram = "discord-music-presence";
};
}