forked from mirrors/nixpkgs
swig2: Enable on Darwin
This commit is contained in:
parent
0be672ced1
commit
fbaaa9cccc
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "swig-${version}";
|
name = "swig-${version}";
|
||||||
|
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
|
||||||
# Licensing is a mess: http://www.swig.org/Release/LICENSE .
|
# Licensing is a mess: http://www.swig.org/Release/LICENSE .
|
||||||
license = "BSD-style";
|
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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "swig-${version}";
|
name = "swig-${version}";
|
||||||
|
@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
||||||
homepage = http://swig.org/;
|
homepage = http://swig.org/;
|
||||||
# Licensing is a mess: http://www.swig.org/Release/LICENSE .
|
# Licensing is a mess: http://www.swig.org/Release/LICENSE .
|
||||||
license = "BSD-style";
|
license = "BSD-style";
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||||
maintainers = with maintainers; [ urkud wkennington ];
|
maintainers = [ lib.maintainers.urkud lib.maintainers.wkennington ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue