about summary refs log tree commit diff
path: root/pkgs/applications/audio/moc/default.nix
blob: 50996b71c6438042f6e280154382dee1ecd14a12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
, libvorbis, libmpc, libsndfile, libjack2, db, libmodplug, timidity, libid3tag
, libtool
}:

stdenv.mkDerivation rec {
  name = "moc-${version}";
  version = "2.5.1";

  src = fetchurl {
    url = "http://ftp.daper.net/pub/soft/moc/stable/moc-${version}.tar.bz2";
    sha256 = "1wn4za08z64bhsgfhr9c0crfyvy8c3b6a337wx7gz19am5srqh8v";
  };

  nativeBuildInputs = [ pkgconfig ];

  buildInputs = [
    ncurses alsaLib flac libmad speex ffmpeg libvorbis libmpc libsndfile libjack2
    db libmodplug timidity libid3tag libtool
  ];

  meta = with stdenv.lib; {
    description = "An ncurses console audio player designed to be powerful and easy to use";
    homepage = http://moc.daper.net/;
    license = licenses.gpl2;
    maintainers = with maintainers; [ pSub jagajaga ];
    platforms = platforms.linux;
  };
}