mp3blaster: modernize

This commit is contained in:
Nikolay Korotkiy 2025-06-26 16:43:27 +04:00
parent 8b6dc214d2
commit b0c205a093
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -8,15 +8,15 @@
SDL,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "mp3blaster";
version = "3.2.6";
src = fetchFromGitHub {
owner = "stragulus";
repo = "mp3blaster";
rev = "v${version}";
sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs";
tag = "v${finalAttrs.version}";
hash = "sha256-Gke6OjcrDlF3CceSVyfu8SGd0004cef8RlZ76Aet/F8=";
};
patches = [
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/stragulus/mp3blaster/commit/62168cba5eaba6ffe56943552837cf033cfa96ed.patch";
sha256 = "088l27kl1l58lwxfnw5x2n64sdjy925ycphni3icwag7zvpj0xz1";
hash = "sha256-4Xcg7/7nKc7iiBZe5otIXjZNjBW9cOs6p6jQQOcRFCE=";
})
];
@ -44,11 +44,11 @@ stdenv.mkDerivation rec {
]
);
meta = with lib; {
meta = {
description = "Audio player for the text console";
homepage = "http://www.mp3blaster.org/";
license = licenses.gpl2;
maintainers = with maintainers; [ earldouglas ];
platforms = with platforms; linux ++ darwin;
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ earldouglas ];
platforms = with lib.platforms; linux ++ darwin;
};
}
})