lol

swig2: Enable on Darwin

+7 -7
+3 -3
pkgs/development/tools/misc/swig/2.x.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "swig-${version}"; ··· 41 41 # Licensing is a mess: http://www.swig.org/Release/LICENSE . 42 42 license = "BSD-style"; 43 43 44 - platforms = stdenv.lib.platforms.linux; 44 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 45 45 46 - maintainers = with stdenv.lib.maintainers; [ urkud ]; 46 + maintainers = [ lib.maintainers.urkud ]; 47 47 }; 48 48 }
+4 -4
pkgs/development/tools/misc/swig/3.x.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "swig-${version}"; ··· 23 23 ./autogen.sh 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = { 27 27 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; 28 28 homepage = http://swig.org/; 29 29 # Licensing is a mess: http://www.swig.org/Release/LICENSE . 30 30 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 ]; 33 33 }; 34 34 }