···25 patchelf --set-rpath $new_rpath $out/${py.sitePackages}/_tkinter*
26 '';
2728+ meta = py.meta // {
29+ # Based on first sentence from https://docs.python.org/3/library/tkinter.html
30+ description = "The standard Python interface to the Tcl/Tk GUI toolkit";
31+ longDescription = ''
32+ The tkinter package (“Tk interface”) is the standard Python interface to
33+ the Tcl/Tk GUI toolkit. Both Tk and tkinter are available on most Unix
34+ platforms, including macOS, as well as on Windows systems.
35+36+ Running python -m tkinter from the command line should open a window
37+ demonstrating a simple Tk interface, letting you know that tkinter is
38+ properly installed on your system, and also showing what version of
39+ Tcl/Tk is installed, so you can read the Tcl/Tk documentation specific to
40+ that version.
41+42+ Tkinter supports a range of Tcl/Tk versions, built either with or without
43+ thread support. The official Python binary release bundles Tcl/Tk 8.6
44+ threaded. See the source code for the _tkinter module for more
45+ information about supported versions.
46+47+ Tkinter is not a thin wrapper, but adds a fair amount of its own logic to
48+ make the experience more pythonic. This documentation will concentrate on
49+ these additions and changes, and refer to the official Tcl/Tk
50+ documentation for details that are unchanged.
51+ '';
52+ };
5354}