forked from mirrors/nixpkgs
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
|
||||
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm
|
||||
}:
|
||||
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm, libX11 }:
|
||||
|
||||
assert zlibSupport -> zlib != null;
|
||||
|
||||
|
@ -179,7 +178,7 @@ let
|
|||
|
||||
tkinter = buildInternalPythonModule {
|
||||
moduleName = "tkinter";
|
||||
deps = [ tcl tk x11 ];
|
||||
deps = [ tcl tk x11 libX11 ];
|
||||
};
|
||||
|
||||
readline = buildInternalPythonModule {
|
||||
|
|
|
@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
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/;
|
||||
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3094,7 +3094,9 @@ let
|
|||
|
||||
python = python27;
|
||||
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;
|
||||
python26Full = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
|
|
Loading…
Reference in a new issue