listenbrainz-mpd: add self as maintainer, add update script, 2.3.9 -> 2.5.1 (#494838)

This commit is contained in:
Sandro
2026-03-31 14:07:55 +00:00
committed by GitHub
+10 -4
View File
@@ -9,20 +9,21 @@
sqlite,
installShellFiles,
asciidoctor,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "listenbrainz-mpd";
version = "2.3.9";
version = "2.5.1";
src = fetchFromCodeberg {
owner = "elomatreb";
repo = "listenbrainz-mpd";
rev = "v${finalAttrs.version}";
hash = "sha256-j9MlvE2upocwC5xxroms3am6tqJX30sSw7PFNw8Ofog=";
hash = "sha256-087+l3calge6hKu3h84C98mIpW6qFAZwRMe4lkQCU4o=";
};
cargoHash = "sha256-1x3F2TqNlqwfPUvLwU8ac4aEeEwpIy5gEyxRBC0Q5YM=";
cargoHash = "sha256-SxXEathWAGqdgeJmIn5h9Zvv7Z3DGXa4htkODf/ANRQ=";
nativeBuildInputs = [
pkg-config
@@ -61,12 +62,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
installManPage listenbrainz-mpd.1
'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd";
changelog = "https://codeberg.org/elomatreb/listenbrainz-mpd/src/tag/v${finalAttrs.version}/CHANGELOG.md";
description = "ListenBrainz submission client for MPD";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ DeeUnderscore ];
maintainers = with lib.maintainers; [
DeeUnderscore
Kladki
];
mainProgram = "listenbrainz-mpd";
};
})