Loading pkgs/by-name/th/thonny/package.nix +41 −24 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems, desktopToDarwinBundle }: { lib, stdenv, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems, desktopToDarwinBundle, }: with python3.pkgs; Loading @@ -13,19 +21,26 @@ buildPythonApplication rec { hash = "sha256-/ms2RESnV3bsJpK1zYYLHNUu1FtA6PntaseTbKMfUMc="; }; nativeBuildInputs = [ copyDesktopItems ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; nativeBuildInputs = [ copyDesktopItems ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; desktopItems = [ (makeDesktopItem { desktopItems = [ (makeDesktopItem { name = "Thonny"; exec = "thonny"; icon = "thonny"; desktopName = "Thonny"; comment = "Python IDE for beginners"; categories = [ "Development" "IDE" ]; }) ]; categories = [ "Development" "IDE" ]; }) ]; propagatedBuildInputs = with python3.pkgs; ([ propagatedBuildInputs = with python3.pkgs; ( [ jedi pyserial tkinter Loading @@ -35,9 +50,11 @@ buildPythonApplication rec { pyperclip asttokens send2trash ] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [ dbus-next ]); ] ); preInstall = '' export HOME=$(mktemp -d) Loading Loading
pkgs/by-name/th/thonny/package.nix +41 −24 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems, desktopToDarwinBundle }: { lib, stdenv, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems, desktopToDarwinBundle, }: with python3.pkgs; Loading @@ -13,19 +21,26 @@ buildPythonApplication rec { hash = "sha256-/ms2RESnV3bsJpK1zYYLHNUu1FtA6PntaseTbKMfUMc="; }; nativeBuildInputs = [ copyDesktopItems ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; nativeBuildInputs = [ copyDesktopItems ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; desktopItems = [ (makeDesktopItem { desktopItems = [ (makeDesktopItem { name = "Thonny"; exec = "thonny"; icon = "thonny"; desktopName = "Thonny"; comment = "Python IDE for beginners"; categories = [ "Development" "IDE" ]; }) ]; categories = [ "Development" "IDE" ]; }) ]; propagatedBuildInputs = with python3.pkgs; ([ propagatedBuildInputs = with python3.pkgs; ( [ jedi pyserial tkinter Loading @@ -35,9 +50,11 @@ buildPythonApplication rec { pyperclip asttokens send2trash ] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [ dbus-next ]); ] ); preInstall = '' export HOME=$(mktemp -d) Loading