mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
824e7af179
svn path=/nixpkgs/branches/stdenv-updates/; revision=24635
31 lines
826 B
Nix
31 lines
826 B
Nix
{stdenv, fetchurl, gettext, ncurses
|
|
, gtkGUI ? false
|
|
, pkgconfig ? null
|
|
, gtk ? null}:
|
|
|
|
assert gtkGUI -> pkgconfig != null && gtk != null;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "aumix-2.9.1";
|
|
src = fetchurl {
|
|
url = "http://www.jpj.net/~trevor/aumix/${name}.tar.bz2";
|
|
sha256 = "0a8fwyxnc5qdxff8sl2sfsbnvgh6pkij4yafiln0fxgg6bal7knj";
|
|
};
|
|
|
|
buildInputs = [ gettext ncurses ]
|
|
++ (if gtkGUI then [pkgconfig gtk] else []);
|
|
|
|
meta = {
|
|
description = "Aumix, an 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;
|
|
license = "GPLv2+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|