mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
694 B
Nix
31 lines
694 B
Nix
{ stdenv, fetchFromGitHub, ncurses, libvorbis, SDL }:
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.2.6";
|
|
|
|
pname = "mp3blaster";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stragulus";
|
|
repo = "mp3blaster";
|
|
rev = "v${version}";
|
|
sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
libvorbis
|
|
] ++ stdenv.lib.optional stdenv.isDarwin SDL;
|
|
|
|
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;
|
|
};
|
|
|
|
}
|