fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, makeWrapper
2, parted, grub2_light, p7zip
3, wxGTK30, gksu }:
4
5stdenv.mkDerivation rec {
6 name = "winusb-unstable-2017-01-30";
7
8 src = fetchFromGitHub {
9 owner = "slacka";
10 repo = "WinUSB";
11 rev = "599f00cdfd5c931056c576e4b2ae04d9285c4192";
12 sha256 = "1219425d1m4463jy85nrc5xz5qy5m8svidbiwnqicy7hp8pdwa7x";
13 };
14
15 buildInputs = [ wxGTK30 makeWrapper ];
16
17 postInstall = ''
18 # don't write data into /
19 substituteInPlace $out/bin/winusb \
20 --replace /media/ /tmp/winusb/
21
22 wrapProgram $out/bin/winusb \
23 --prefix PATH : ${stdenv.lib.makeBinPath [ parted grub2_light p7zip ]}
24 wrapProgram $out/bin/winusbgui \
25 --prefix PATH : ${stdenv.lib.makeBinPath [ gksu ]}
26 '';
27
28 meta = with stdenv.lib; {
29 description = "Create bootable USB disks from Windows ISO images";
30 homepage = https://github.com/slacka/WinUSB;
31 license = licenses.gpl3;
32 maintainers = with maintainers; [ bjornfor gnidorah ];
33 platforms = platforms.linux;
34 };
35}