forked from mirrors/nixpkgs
fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
27 lines
668 B
Nix
27 lines
668 B
Nix
{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";
|
|
};
|
|
}
|