Merge pull request #160483 from Kranzes/mpd-discord

mpd-discord-rpc: init at 1.2.3
This commit is contained in:
legendofmiracles 2022-02-17 16:23:43 -06:00 committed by GitHub
commit 229f9b8bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "mpd-discord-rpc";
version = "1.2.3";
src = fetchFromGitHub {
owner = "JakeStanger";
repo = pname;
rev = "v${version}";
sha256 = "sha256-FkdndkXj48JLKRwZ9lLVQrGU7QvBZvYC9Y2iYS0RiCY=";
};
cargoSha256 = "sha256-w6Usc86yn7mq/wxljSpko/JPnLHmkyeILKa31YsQrFg=";
meta = with lib; {
description = "Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence";
homepage = "https://github.com/JakeStanger/mpd-discord-rpc";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}

View File

@ -3506,6 +3506,8 @@ with pkgs;
mpdris2 = callPackage ../tools/audio/mpdris2 { };
mpd-discord-rpc = callPackage ../tools/audio/mpd-discord-rpc { };
mpd-mpris = callPackage ../tools/audio/mpd-mpris { };
mpris-scrobbler = callPackage ../tools/audio/mpris-scrobbler { };