git.iko.soy/typeable/nixpkgs
on master help sign in
swig2: Enable on Darwin
commitfbaaa9cccc868bd9cb33b97c08997ca37e9a66b8 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 22 Sep 2015, 11:59 (11 years ago) parent0be672c
2 files changed+7−7
pkgs/development/tools/misc/swig/2.x.nix+3−3 pkgs/development/tools/misc/swig/3.x.nix+4−4
pkgs/development/tools/misc/swig/2.x.nix+3−3
@@ -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}";
@@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
4141 # Licensing is a mess: http://www.swig.org/Release/LICENSE .
4242 license = "BSD-style";
4343
44− platforms = stdenv.lib.platforms.linux;
44+ platforms = lib.platforms.linux ++ lib.platforms.darwin;
4545
46− maintainers = with stdenv.lib.maintainers; [ urkud ];
46+ maintainers = [ lib.maintainers.urkud ];
4747 };
4848}
pkgs/development/tools/misc/swig/3.x.nix+4−4
@@ -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}