2018-03-25 15:07:27 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, libvorbis, SDL }:
|
2018-02-14 04:11:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "3.2.6";
|
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mp3blaster";
|
2018-02-14 04:11:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stragulus";
|
|
|
|
repo = "mp3blaster";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs";
|
|
|
|
};
|
|
|
|
|
2018-02-26 21:19:35 +01:00
|
|
|
buildInputs = [
|
|
|
|
ncurses
|
|
|
|
libvorbis
|
2018-03-25 15:07:27 +02:00
|
|
|
] ++ stdenv.lib.optional stdenv.isDarwin SDL;
|
2018-02-14 04:11:42 +01:00
|
|
|
|
|
|
|
buildFlags = [ "CXXFLAGS=-Wno-narrowing" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An audio player for the text console";
|
|
|
|
homepage = http://www.mp3blaster.org/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ earldouglas ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|