13 buildPythonApplication rec {
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-/ms2RESnV3bsJpK1zYYLHNUu1FtA6PntaseTbKMfUMc=";
26 ] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
33 desktopName = "Thonny";
34 comment = "Python IDE for beginners";
56 ++ lib.optionals stdenv.hostPlatform.isLinux [
62 wrapProgram "$out/bin/thonny" \
63 --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3.pkgs.jedi})
67 install -Dm644 ./packaging/icons/thonny-48x48.png $out/share/icons/hicolor/48x48/apps/thonny.png
70 # Tests need a DISPLAY
74 description = "Python IDE for beginners";
76 Thonny is a Python IDE for beginners. It supports different ways
77 of stepping through the code, step-by-step expression
78 evaluation, detailed visualization of the call stack and a mode
79 for explaining the concepts of references and heap.
81 homepage = "https://www.thonny.org/";
82 license = lib.licenses.mit;
83 maintainers = with lib.maintainers; [ leenaars ];
84 platforms = lib.platforms.unix;
85 mainProgram = "thonny";