2021-01-17 00:15:33 +00:00
|
|
|
{lib, stdenv, fetchurl, gettext, ncurses
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtkGUI ? false
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config ? null
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk2 ? null}:
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
assert gtkGUI -> pkg-config != null && gtk2 != null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aumix-2.9.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.jpj.net/~trevor/aumix/releases/${name}.tar.bz2";
|
|
|
|
sha256 = "0a8fwyxnc5qdxff8sl2sfsbnvgh6pkij4yafiln0fxgg6bal7knj";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gettext ncurses ]
|
2021-02-05 17:12:51 +00:00
|
|
|
++ (if gtkGUI then [pkg-config gtk2] else []);
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Audio mixer for X and the console";
|
|
|
|
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";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
maintainers = [ ];
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|