nixpkgs/pkgs/applications/audio/moc/default.nix

28 lines
854 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
, libvorbis, mpc, libsndfile, jack2, db, libmodplug, timidity, libid3tag
, libtool
}:
2013-12-15 01:16:18 +04:00
stdenv.mkDerivation rec {
name = "moc-${version}";
2014-05-24 22:34:27 +04:00
version = "2.5.0-beta2";
2013-12-15 01:16:18 +04:00
src = fetchurl {
url = "http://ftp.daper.net/pub/soft/moc/unstable/moc-${version}.tar.bz2";
2014-05-24 22:34:27 +04:00
sha256 = "486d50584c3fb0067b8c03af54e44351633a7740b18dc3b7358322051467034c";
2013-12-15 01:16:18 +04:00
};
configurePhase = "./configure prefix=$out";
buildInputs = [
ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
mpc libsndfile jack2 db libmodplug timidity libid3tag libtool
];
2013-12-15 01:16:18 +04: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;
};
}