summary refs log tree commit diff
path: root/pkgs/development/libraries/audiofile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/audiofile')
-rw-r--r--pkgs/development/libraries/audiofile/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/libraries/audiofile/default.nix b/pkgs/development/libraries/audiofile/default.nix
index 8ea6470cde8..1190f7437cb 100644
--- a/pkgs/development/libraries/audiofile/default.nix
+++ b/pkgs/development/libraries/audiofile/default.nix
@@ -3,17 +3,18 @@
 stdenv.mkDerivation rec {
   name = "audiofile-0.3.3";
 
-  buildInputs = [ alsaLib ];
+  buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
 
   src = fetchurl {
     url = "http://audiofile.68k.org/${name}.tar.gz";
     sha256 = "1qm7z0g1d9rcxi1m87slgdi0rhl94g13dx3d2b05dilghwpgjjgq";
   };
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A library for reading and writing audio files in various formats";
-    homepage = http://www.68k.org/~michael/audiofile/; 
-    license = "lgpl";
-    maintainers = [ stdenv.lib.maintainers.shlevy ];
+    homepage    = http://www.68k.org/~michael/audiofile/; 
+    license     = licenses.lgpl;
+    maintainers = with maintainers; [ lovek323 shlevy ];
+    platforms   = platforms.unix;
   };
 }