summary refs log tree commit diff
path: root/pkgs/applications/audio/aumix/default.nix
blob: 9a8a7560088921cc12e6580cb1292a49d7026de9 (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
{stdenv, fetchurl, gettext, ncurses
, gtkGUI ? false
, pkgconfig ? null
, gtk ? null}:

assert gtkGUI -> pkgconfig != null && gtk != null;

stdenv.mkDerivation {
  name = "aumix-2.8";
  src = fetchurl {
    url = http://www.jpj.net/~trevor/aumix/aumix-2.8.tar.bz2;
    sha256 = "636eef7f400c2f3df489c0d2fa21507e88692113561e75a40a26c52bc422d7fc";
  };

  buildInputs = [ gettext ncurses ]
    ++ (if gtkGUI then [pkgconfig gtk] else []);

  meta = {
    longDescription = ''
      Aumix adjusts an audio mixer from X, the console, a terminal,
      the command line or a script.
    '';
    homepage = http://www.jpj.net/~trevor/aumix.html;
    license = "GPL";
  };
}