-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathnim.json
59 lines (59 loc) · 1.92 KB
/
nim.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"version": "2.2.2",
"description": "A statically typed compiled systems programming language, which combines successful concepts from mature languages like Python, Ada and Modula.",
"homepage": "https://nim-lang.org/",
"license": "MIT",
"suggest": {
"MinGW": "mingw-winlibs"
},
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-2.2.2_x64.zip",
"hash": "8359f3cafe874f235f8875ff12f842ece57b139bb8b6971a48f1344b08702901"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-2.2.2_x32.zip",
"hash": "4c8abf041b09d55b76678100451f3a4abb71ba387e916863931fed6ba1254041"
}
},
"extract_dir": "nim-2.2.2",
"post_install": [
"# Copy Nimble package",
"Copy-Item -Recurse \"$dir\\dist\\nimble\\src\\nimblepkg\" \"$dir\\bin\""
],
"bin": [
"bin\\nim.exe",
"bin\\nimble.exe",
"bin\\nimgrab.exe",
"bin\\nimgrep.exe",
"bin\\nimpretty.exe",
"bin\\nimsuggest.exe",
"bin\\vccexe.exe",
"bin\\testament.exe"
],
"persist": "config",
"checkver": {
"url": "https://nim-lang.org/install_windows.html",
"regex": "nim-([\\d.]+)_x64"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-$version_x64.zip"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-$version_x32.zip"
}
},
"extract_dir": "nim-$version",
"hash": {
"url": "$url.sha256"
}
},
"installer": {
"script": "Add-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
},
"uninstaller": {
"script": "Remove-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
}
}