chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / wi / win-disk-writer / package.nix
blob667a91968a057b65e00b2d52ecff41a7472baaf5
2   lib,
3   stdenvNoCC,
4   fetchzip,
5   nix-update-script,
6 }:
8 stdenvNoCC.mkDerivation (finalAttrs: {
9   pname = "win-disk-writer";
10   version = "1.3";
12   src = fetchzip {
13     url = "https://github.com/TechUnRestricted/WinDiskWriter/releases/download/v${finalAttrs.version}/WinDiskWriter.${finalAttrs.version}.zip";
14     hash = "sha256-3+Pjp1T0u6G64W8dm4pWRiznDWNW4cMxTkoAIQgvtQY=";
15   };
17   installPhase = ''
18     runHook preInstall
20     mkdir -p "$out/Applications/WinDiskWriter.app"
21     cp -R . "$out/Applications/WinDiskWriter.app/"
23     runHook postInstall
24   '';
26   passthru.updateScript = nix-update-script { };
28   meta = {
29     description = "Windows Bootable USB creator for macOS";
30     homepage = "https://github.com/TechUnRestricted/WinDiskWriter";
31     license = lib.licenses.gpl3;
32     maintainers = with lib.maintainers; [ donteatoreo ];
33     platforms = lib.platforms.darwin;
34     sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
35   };