Files
discord-music-presence-flake/pkgs/discord-music-presence.nix
T
Xaiya Schumin f0ade0d043 add discord-music-presence
Signed-off-by: Xaiya Schumin <d.schumin@proton.me>
2026-05-20 00:20:04 +02:00

30 lines
790 B
Nix

{
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";
};
}