swig2: Enable on Darwin

(cherry picked from commit fbaaa9cccc)

Conflicts:
	pkgs/development/tools/misc/swig/3.x.nix
This commit is contained in:
Eelco Dolstra
2015-09-22 11:59:39 +02:00
parent 52a88113a7
commit 1bcda85e8d
2 changed files with 6 additions and 7 deletions

View File

@@ -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 ];
};
}

View File

@@ -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,7 @@ stdenv.mkDerivation rec {
# Licensing is a mess: http://www.swig.org/Release/LICENSE .
license = "BSD-style";
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ urkud ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = [ lib.maintainers.urkud ];
};
}