mpris-discord-rpc: rename to music-discord-rpc (#442666)
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
openssl,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mpris-discord-rpc";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "patryk-ku";
|
||||
repo = "mpris-discord-rpc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tPIm07q5HWosqhA3zefyuwM+fIztNZe1sSpB/NmUIoE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-3MJAvCc0ekUQ+eM5n8MdPNxXJWUgV76vi/Rq7GhhEPE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
openssl
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir --parents $out/etc/systemd/user
|
||||
substitute $src/mpris-discord-rpc.service $out/etc/systemd/user/mpris-discord-rpc.service \
|
||||
--replace-fail /usr/bin/mpris-discord-rpc $out/bin/mpris-discord-rpc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Linux Discord rich presence for music, using MPRIS with album cover and progress bar support";
|
||||
homepage = "https://github.com/patryk-ku/mpris-discord-rpc";
|
||||
changelog = "https://github.com/patryk-ku/mpris-discord-rpc/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.lukaswrz ];
|
||||
mainProgram = "mpris-discord-rpc";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
openssl,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "music-discord-rpc";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "patryk-ku";
|
||||
repo = "music-discord-rpc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+MSrGrnjkyLTCqQiSC2OIGAMgA2oLFqvUtud0kwTTGA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Waw/7ErijLSq1RYtjlmtjP8vHYl3wXmRAXvGvH3wOZA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
openssl
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir --parents $out/etc/systemd/user
|
||||
substitute music-discord-rpc.service $out/etc/systemd/user/music-discord-rpc.service \
|
||||
--replace-fail /usr/bin/music-discord-rpc $out/bin/music-discord-rpc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform Discord rich presence for music with album cover and progress bar support";
|
||||
homepage = "https://github.com/patryk-ku/music-discord-rpc";
|
||||
changelog = "https://github.com/patryk-ku/music-discord-rpc/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.lukaswrz ];
|
||||
mainProgram = "music-discord-rpc";
|
||||
};
|
||||
})
|
||||
@@ -1658,6 +1658,7 @@ mapAliases {
|
||||
mpdWithFeatures = lib.warnOnInstantiate "mpdWithFeatures has been replaced by mpd.override" mpd.override; # Added 2025-08-08
|
||||
mpdevil = plattenalbum; # Added 2024-05-22
|
||||
mpg321 = throw "'mpg321' has been removed due to it being unmaintained by upstream. Consider using mpg123 instead."; # Added 2024-05-10
|
||||
mpris-discord-rpc = throw "'mpris-discord-rpc' has been renamed to 'music-discord-rpc'."; # Added 2025-09-14
|
||||
mq-cli = throw "'mq-cli' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
|
||||
mrkd = throw "'mrkd' has been removed as it is unmaintained since 2021"; # Added 2024-12-21
|
||||
msp430NewlibCross = msp430Newlib; # Added 2024-09-06
|
||||
|
||||
Reference in New Issue
Block a user