multibootusb: python36Packages -> python3Packages

+10 -10
+10 -10
pkgs/applications/misc/multibootusb/default.nix
··· 1 1 { fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, qemu, unzip, zip, 2 2 coreutils, gnugrep, which, gnused, e2fsprogs, autoPatchelfHook, gptfdisk, 3 - python36Packages, qt5, runtimeShell, lib, util-linux, wrapQtAppsHook }: 3 + python3Packages, qt5, runtimeShell, lib, util-linux, wrapQtAppsHook }: 4 4 5 5 # Note: Multibootusb is tricky to maintain. It relies on the 6 6 # $PYTHONPATH variable containing some of their code, so that ··· 13 13 # 14 14 # https://github.com/mbusb/multibootusb/blob/0d34d70c3868f1d7695cfd141141b17c075de967/scripts/osdriver.py#L59 15 15 16 - python36Packages.buildPythonApplication rec { 16 + python3Packages.buildPythonApplication rec { 17 17 pname = "multibootusb"; 18 18 name = "${pname}-${version}"; 19 19 version = "9.2.0"; ··· 42 42 43 43 buildInputs = [ 44 44 libxcb 45 - python36Packages.python 45 + python3Packages.python 46 46 qt5.full 47 47 ]; 48 48 ··· 58 58 # "Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory" 59 59 doCheck = false; 60 60 61 - pythonPath = [ 62 - python36Packages.dbus-python 63 - python36Packages.pyqt5 64 - python36Packages.pytest-shutil 65 - python36Packages.pyudev 66 - python36Packages.six 61 + pythonPath = with python3Packages; [ 62 + dbus-python 63 + pyqt5 64 + pytest-shutil 65 + pyudev 66 + six 67 67 ]; 68 68 69 69 # multibootusb ships zips with various versions of syslinux, we need to patchelf them ··· 95 95 "''${qtWrapperArgs[@]}" 96 96 97 97 # Then, add the installed scripts/ directory to the python path 98 - --prefix "PYTHONPATH" ":" "$out/lib/${python36Packages.python.libPrefix}/site-packages" 98 + --prefix "PYTHONPATH" ":" "$out/lib/${python3Packages.python.libPrefix}/site-packages" 99 99 100 100 # Add some runtime dependencies 101 101 --prefix "PATH" ":" "${lib.makeBinPath runTimeDeps}"