python27: compile with tkinterp on darwin
This commit is contained in:
parent
bd61c42d22
commit
9007e57f28
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
|
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
|
||||||
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm
|
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm, libX11 }:
|
||||||
}:
|
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
|
|
||||||
@ -179,7 +178,7 @@ let
|
|||||||
|
|
||||||
tkinter = buildInternalPythonModule {
|
tkinter = buildInternalPythonModule {
|
||||||
moduleName = "tkinter";
|
moduleName = "tkinter";
|
||||||
deps = [ tcl tk x11 ];
|
deps = [ tcl tk x11 libX11 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
readline = buildInternalPythonModule {
|
readline = buildInternalPythonModule {
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "A widget toolkit that provides a library of basic elements for building a GUI in many different programming languages";
|
description = "A widget toolkit that provides a library of basic elements for building a GUI in many different programming languages";
|
||||||
homepage = http://www.tcl.tk/;
|
homepage = http://www.tcl.tk/;
|
||||||
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3094,7 +3094,9 @@ let
|
|||||||
|
|
||||||
python = python27;
|
python = python27;
|
||||||
python26 = callPackage ../development/interpreters/python/2.6 { };
|
python26 = callPackage ../development/interpreters/python/2.6 { };
|
||||||
python27 = callPackage ../development/interpreters/python/2.7 { };
|
python27 = callPackage ../development/interpreters/python/2.7 {
|
||||||
|
libX11 = xlibs.libX11;
|
||||||
|
};
|
||||||
|
|
||||||
pythonFull = python27Full;
|
pythonFull = python27Full;
|
||||||
python26Full = callPackage ../development/interpreters/python/wrapper.nix {
|
python26Full = callPackage ../development/interpreters/python/wrapper.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user