2008-02-12 00:45:52 +03:00
|
|
|
{stdenv, fetchurl, gettext, ncurses
|
|
|
|
, gtkGUI ? false
|
|
|
|
, pkgconfig ? null
|
2016-09-13 20:42:55 +03:00
|
|
|
, gtk2 ? null}:
|
2008-02-12 00:45:52 +03:00
|
|
|
|
2016-09-13 20:42:55 +03:00
|
|
|
assert gtkGUI -> pkgconfig != null && gtk2 != null;
|
2008-02-12 00:45:52 +03:00
|
|
|
|
2010-11-10 12:16:48 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aumix-2.9.1";
|
2008-02-12 00:45:52 +03:00
|
|
|
src = fetchurl {
|
2010-11-17 13:42:57 +03:00
|
|
|
url = "http://www.jpj.net/~trevor/aumix/releases/${name}.tar.bz2";
|
2010-11-10 12:16:48 +03:00
|
|
|
sha256 = "0a8fwyxnc5qdxff8sl2sfsbnvgh6pkij4yafiln0fxgg6bal7knj";
|
2008-02-12 00:45:52 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gettext ncurses ]
|
2016-09-13 20:42:55 +03:00
|
|
|
++ (if gtkGUI then [pkgconfig gtk2] else []);
|
2008-02-12 00:45:52 +03:00
|
|
|
|
|
|
|
meta = {
|
2013-10-05 18:22:46 +04:00
|
|
|
description = "Audio mixer for X and the console";
|
2009-03-03 16:27:40 +03:00
|
|
|
longDescription = ''
|
|
|
|
Aumix adjusts an audio mixer from X, the console, a terminal,
|
|
|
|
the command line or a script.
|
|
|
|
'';
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.jpj.net/~trevor/aumix.html";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-11-10 12:16:48 +03:00
|
|
|
|
2015-01-14 00:33:24 +03:00
|
|
|
maintainers = [ ];
|
2010-11-10 12:16:48 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-02-12 00:45:52 +03:00
|
|
|
};
|
|
|
|
}
|