@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
22
33stdenv.mkDerivation rec {
44 name = "swig-${version}";
@@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
2323 ./autogen.sh
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = {
2727 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
2828 homepage = http://swig.org/;
2929 # Licensing is a mess: http://www.swig.org/Release/LICENSE .
3030 license = "BSD-style";
31− platforms = platforms.unix;
32− maintainers = with maintainers; [ urkud wkennington ];
31+ platforms = lib.platforms.linux ++ lib.platforms.darwin;
32+ maintainers = [ lib.maintainers.urkud lib.maintainers.wkennington ];
3333 };
3434}