diff options
-rw-r--r-- | pkgs/applications/audio/aumix/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/applications/audio/aumix/default.nix b/pkgs/applications/audio/aumix/default.nix index 7dcabf6a2a80d..51dda20cc3a13 100644 --- a/pkgs/applications/audio/aumix/default.nix +++ b/pkgs/applications/audio/aumix/default.nix @@ -4,12 +4,10 @@ , gettext , ncurses , gtkGUI ? false -, pkg-config ? null -, gtk2 ? null +, pkg-config +, gtk2 }: -assert gtkGUI -> pkg-config != null && gtk2 != null; - stdenv.mkDerivation rec { pname = "aumix"; version = "2.9.1"; @@ -22,16 +20,15 @@ stdenv.mkDerivation rec { buildInputs = [ gettext ncurses ] ++ lib.optionals gtkGUI [ pkg-config gtk2 ]; - meta = { + meta = with lib; { 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"; - license = lib.licenses.gpl2Plus; - - maintainers = [ ]; - platforms = lib.platforms.linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ]; + platforms = platforms.linux; }; } |