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