13 buildPythonApplication rec {
17 src = fetchFromGitHub {
21 hash = "sha256-2opSiXbbk0zDRt6WqMh97iAt6/KhwNDopOas+OZn6TU=";
25 substituteInPlace setup.py WoeUSB/*.py miscellaneous/* \
26 --replace "/usr/local/" "$out/" \
27 --replace "/usr/" "$out/"
34 propagatedBuildInputs = [
44 mkdir -p $out/bin $out/share/applications $out/share/polkit-1/actions
47 # Unable to access the X Display, is $DISPLAY set properly?
51 description = "Tool to create a Windows USB stick installer from a real Windows DVD or image";
52 homepage = "https://github.com/WoeUSB/WoeUSB-ng";
53 license = licenses.gpl3Plus;
54 maintainers = with maintainers; [ stunkymonkey ];
55 platforms = platforms.linux;