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

28 lines
821 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-14 21:16:18 +00:00
stdenv.mkDerivation rec {
name = "moc-${version}";
2014-05-24 18:34:27 +00: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 18:34:27 +00:00
sha256 = "486d50584c3fb0067b8c03af54e44351633a7740b18dc3b7358322051467034c";
2013-12-14 21:16:18 +00:00
};
configurePhase = "./configure prefix=$out";
buildInputs = [
ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
mpc libsndfile jack2 db libmodplug timidity libid3tag libtool
];
2013-12-14 21:16:18 +00:00
meta = {
description = "An ncurses console audio player designed to be powerful and easy to use";
2013-12-14 21:16:18 +00:00
homepage = http://moc.daper.net/;
license = stdenv.lib.licenses.gpl2;
};
}