summary refs log tree commit diff
path: root/pkgs/tools/misc/woeusb-ng
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-12-07 12:41:33 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2021-12-26 08:45:17 +0100
commitfedde5d24f4e749a62d3bebcb86e0bb71ce92c64 (patch)
treea867d5a686958b35dd296adb111f561f55273f82 /pkgs/tools/misc/woeusb-ng
parentf016dd04c7fdb863bfc9e95154525a83cbdb183c (diff)
downloadnixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar.gz
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar.bz2
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar.lz
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar.xz
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.tar.zst
nixpkgs-fedde5d24f4e749a62d3bebcb86e0bb71ce92c64.zip
woeusb-ng: init at 0.2.10
Diffstat (limited to 'pkgs/tools/misc/woeusb-ng')
-rw-r--r--pkgs/tools/misc/woeusb-ng/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/misc/woeusb-ng/default.nix b/pkgs/tools/misc/woeusb-ng/default.nix
new file mode 100644
index 00000000000..6f922afdf37
--- /dev/null
+++ b/pkgs/tools/misc/woeusb-ng/default.nix
@@ -0,0 +1,32 @@
+{ lib, python3Packages, fetchFromGitHub, p7zip, parted, grub2 }:
+with python3Packages;
+
+buildPythonApplication rec {
+  pname = "woeusb-ng";
+  version = "0.2.10";
+
+  propagatedBuildInputs = [ p7zip parted grub2 termcolor wxPython_4_0 six ];
+
+  src = fetchFromGitHub {
+    owner = "WoeUSB";
+    repo = "WoeUSB-ng";
+    rev = "v${version}";
+    sha256 = "sha256-Nsdk3SMRzj1fqLrp5Na5V3rRDMcIReL8uDb8K2GQNWI=";
+  };
+
+  postInstall = ''
+    # TODO: the gui requires additional polkit-actions to work correctly, therefore it is currently disabled
+    rm $out/bin/woeusbgui
+  '';
+
+  # checks fail, because of polkit-actions and should be reenabled when the gui is fixed.
+  doCheck = false;
+
+  meta = with lib; {
+    description = "A tool to create a Windows USB stick installer from a real Windows DVD or image";
+    homepage = "https://github.com/WoeUSB/WoeUSB-ng";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ stunkymonkey ];
+    platforms = platforms.linux;
+  };
+}