1{ runCommand, fetchurl, unzip }:
2runCommand "snowglobe-autohotkey-2.0.19" {
3 src = fetchurl {
4 url = "https://github.com/AutoHotkey/AutoHotkey/releases/download/v2.0.19/AutoHotkey_2.0.19.zip";
5 sha256 = "4e0d0e65655066a646a210951320feaef0729a3597177131adaec4066bef5869";
6 };
7 nativeBuildInputs = [ unzip ];
8} ''
9 mkdir -p "$out"
10 unzip -j "$src" AutoHotkey32.exe license.txt -d "$out"
11''