tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
swig2: Enable on Darwin
Eelco Dolstra
10 years ago
fbaaa9cc
0be672ce
+7
-7
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
misc
swig
2.x.nix
3.x.nix
+3
-3
pkgs/development/tools/misc/swig/2.x.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1
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
44
-
platforms = stdenv.lib.platforms.linux;
44
44
+
platforms = lib.platforms.linux ++ lib.platforms.darwin;
45
45
46
46
-
maintainers = with stdenv.lib.maintainers; [ urkud ];
46
46
+
maintainers = [ lib.maintainers.urkud ];
47
47
};
48
48
}
+4
-4
pkgs/development/tools/misc/swig/3.x.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1
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
26
-
meta = with stdenv.lib; {
26
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
31
-
platforms = platforms.unix;
32
32
-
maintainers = with maintainers; [ urkud wkennington ];
31
31
+
platforms = lib.platforms.linux ++ lib.platforms.darwin;
32
32
+
maintainers = [ lib.maintainers.urkud lib.maintainers.wkennington ];
33
33
};
34
34
}