diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-22 11:59:39 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-22 11:59:39 +0200 |
commit | fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8 (patch) | |
tree | f28dd8c32dd057b93a8c101aeb8bf99d53ee71d7 /pkgs/development/tools/misc/swig | |
parent | 0be672ced1e0e2af6ec14a0755ba6de3d19d7e21 (diff) | |
download | nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar.gz nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar.bz2 nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar.lz nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar.xz nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.tar.zst nixlib-fbaaa9cccc868bd9cb33b97c08997ca37e9a66b8.zip |
swig2: Enable on Darwin
Diffstat (limited to 'pkgs/development/tools/misc/swig')
-rw-r--r-- | pkgs/development/tools/misc/swig/2.x.nix | 6 | ||||
-rw-r--r-- | pkgs/development/tools/misc/swig/3.x.nix | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/swig/2.x.nix b/pkgs/development/tools/misc/swig/2.x.nix index 5cfc39a5254a..48ba12ccd9c9 100644 --- a/pkgs/development/tools/misc/swig/2.x.nix +++ b/pkgs/development/tools/misc/swig/2.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: +{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: stdenv.mkDerivation rec { name = "swig-${version}"; @@ -41,8 +41,8 @@ stdenv.mkDerivation rec { # Licensing is a mess: http://www.swig.org/Release/LICENSE . license = "BSD-style"; - platforms = stdenv.lib.platforms.linux; + platforms = lib.platforms.linux ++ lib.platforms.darwin; - maintainers = with stdenv.lib.maintainers; [ urkud ]; + maintainers = [ lib.maintainers.urkud ]; }; } diff --git a/pkgs/development/tools/misc/swig/3.x.nix b/pkgs/development/tools/misc/swig/3.x.nix index 0221b30d21e9..f93f7d6511db 100644 --- a/pkgs/development/tools/misc/swig/3.x.nix +++ b/pkgs/development/tools/misc/swig/3.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: +{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: stdenv.mkDerivation rec { name = "swig-${version}"; @@ -23,12 +23,12 @@ stdenv.mkDerivation rec { ./autogen.sh ''; - meta = with stdenv.lib; { + meta = { description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; homepage = http://swig.org/; # Licensing is a mess: http://www.swig.org/Release/LICENSE . license = "BSD-style"; - platforms = platforms.unix; - maintainers = with maintainers; [ urkud wkennington ]; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + maintainers = [ lib.maintainers.urkud lib.maintainers.wkennington ]; }; } |