about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-09 21:33:41 +0100
committerGitHub <noreply@github.com>2021-11-09 21:33:41 +0100
commit9a9ef88b8c9abf1f11b20c1c01d1f4584cef87a6 (patch)
tree5c48c94b984f43842dd9bc074e7061d147095139 /pkgs/applications/audio
parent841b23bd1daf32b670e792caab18ff7e445e6b01 (diff)
parentb1c5442ceb21c81a2e4b1cdd77eea19c92c3efe3 (diff)
Merge pull request #145178 from SuperSandro2000/applications
Applications
Diffstat (limited to 'pkgs/applications/audio')
-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;
   };
 }