about summary refs log tree commit diff
path: root/pkgs/applications/audio/aumix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-09 10:19:27 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-09 10:19:27 +0100
commite3fe5e932807d9e53ec79676551256c458610a30 (patch)
tree0ad0fa8cc2c93a7e8a10554b167d6ccfdca5c104 /pkgs/applications/audio/aumix
parent0a5f365446e220a3b21e51149ea20ea1c8dc9bba (diff)
aumix: remove ? null from inputs, cleanup meta
Diffstat (limited to 'pkgs/applications/audio/aumix')
-rw-r--r--pkgs/applications/audio/aumix/default.nix15
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;
   };
 }