f0ade0d043
Signed-off-by: Xaiya Schumin <d.schumin@proton.me>
30 lines
790 B
Nix
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";
|
|
};
|
|
}
|