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