3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/moc/default.nix

28 lines
862 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
2014-07-28 11:07:44 +01:00
, libvorbis, mpc, libsndfile, jackaudio, db, libmodplug, timidity, libid3tag
, libtool
}:
2013-12-14 21:16:18 +00:00
stdenv.mkDerivation rec {
name = "moc-${version}";
2014-05-24 19:34:27 +01:00
version = "2.5.0-beta2";
2013-12-14 21:16:18 +00:00
src = fetchurl {
url = "http://ftp.daper.net/pub/soft/moc/unstable/moc-${version}.tar.bz2";
2014-05-24 19:34:27 +01:00
sha256 = "486d50584c3fb0067b8c03af54e44351633a7740b18dc3b7358322051467034c";
2013-12-14 21:16:18 +00:00
};
configurePhase = "./configure prefix=$out";
buildInputs = [
ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
2014-07-28 11:07:44 +01:00
mpc libsndfile jackaudio db libmodplug timidity libid3tag libtool
];
2013-12-14 21:16:18 +00:00
meta = {
description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.";
homepage = http://moc.daper.net/;
license = stdenv.lib.licenses.gpl2;
};
}