thonny: derivation cleanup

This commit is contained in:
Nikolay Korotkiy
2024-09-15 15:38:17 +04:00
parent b28301d784
commit 6cf7d32a36
+5 -9
View File
@@ -37,7 +37,7 @@ buildPythonApplication rec {
})
];
propagatedBuildInputs =
dependencies =
with python3.pkgs;
(
[
@@ -56,10 +56,6 @@ buildPythonApplication rec {
]
);
preInstall = ''
export HOME=$(mktemp -d)
'';
preFixup = ''
wrapProgram "$out/bin/thonny" \
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3.pkgs.jedi})
@@ -72,7 +68,7 @@ buildPythonApplication rec {
# Tests need a DISPLAY
doCheck = false;
meta = with lib; {
meta = {
description = "Python IDE for beginners";
longDescription = ''
Thonny is a Python IDE for beginners. It supports different ways
@@ -81,9 +77,9 @@ buildPythonApplication rec {
for explaining the concepts of references and heap.
'';
homepage = "https://www.thonny.org/";
license = licenses.mit;
maintainers = with maintainers; [ leenaars ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ leenaars ];
platforms = lib.platforms.unix;
mainProgram = "thonny";
};
}