pythonPackages.tkinter: use this instead of the output python.tkinter

This commit is contained in:
Frederik Rietdijk 2016-10-12 14:57:48 +02:00
parent d3766b2601
commit 1e544b2993
2 changed files with 18 additions and 1 deletions

View File

@ -422,7 +422,7 @@ exists.
#### Missing `tkinter` module standard library
To reduce closure size the `Tkinter`/`tkinter` module is available as `python.tkinter`.
To reduce closure size the `Tkinter`/`tkinter` is put in a separate output. The `tkinter` is available as `python35Packages.tkinter`.
#### Attributes on interpreters packages

View File

@ -24655,6 +24655,23 @@ in {
};
};
# Tkinter/tkinter is part of the Python standard library.
# To reduce closure size its put in a separate output, `python.tkinter`.
# This alias was added to make this output work like any other Python package.
tkinter = mkPythonDerivation rec {
name = "tkinter-${python.version}";
src = python.tkinter;
disabled = isPy26 || isPyPy;
installPhase = ''
mkdir -p $out
cp -R ${python.tkinter}/* $out
'';
inherit (python) meta;
};
tlslite = buildPythonPackage rec {
name = "tlslite-${version}";
version = "0.4.8";