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