diff --git a/pkgs/applications/audio/mp3blaster/default.nix b/pkgs/applications/audio/mp3blaster/default.nix new file mode 100644 index 000000000000..96b3533a6f5c --- /dev/null +++ b/pkgs/applications/audio/mp3blaster/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, ncurses }: +stdenv.mkDerivation rec { + + version = "3.2.6"; + + name = "mp3blaster-${version}"; + + src = fetchFromGitHub { + owner = "stragulus"; + repo = "mp3blaster"; + rev = "v${version}"; + sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs"; + }; + + buildInputs = [ ncurses ]; + + 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; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5af8afc6bf97..9a6cd176600b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1262,6 +1262,8 @@ with pkgs; meson = callPackage ../development/tools/build-managers/meson { }; + mp3blaster = callPackage ../applications/audio/mp3blaster { }; + mp3fs = callPackage ../tools/filesystems/mp3fs { }; mpdas = callPackage ../tools/audio/mpdas { };