Unverified Commit b0c205a0 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

mp3blaster: modernize

parent 8b6dc214
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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;
  };
}
})