Skip to content

Commit

Permalink
AU: 1 updated - nim
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Apr 15, 2021
1 parent dbd1cf5 commit 42c6601
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
16 changes: 9 additions & 7 deletions nim/nim.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>nim</id>
<version>1.4.4</version>
<version>1.4.6</version>
<packageSourceUrl>https://github.com/naveen521kk/au-packages/tree/master/nim</packageSourceUrl>
<owners>naveen521kk</owners>
<title>Nim (Install)</title>
Expand All @@ -21,35 +21,37 @@
<releaseNotes>https://github.com/nim-lang/Nim/tree/devel/changelogs</releaseNotes>
<description><![CDATA[Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.
## Efficient
### Efficient
- Nim generates native dependency-free executables, not dependent on a virtual machine, which are small and allow easy redistribution.
- The Nim compiler and the generated executables support all major platforms like Windows, Linux, BSD and macOS.
- Nim's memory management is deterministic and customizable with destructors and move semantics, inspired by C++ and Rust. It is well-suited for embedded, hard-realtime systems.
- Modern concepts like zero-overhead iterators and compile-time evaluation of user-defined functions, in combination with the preference of value-based datatypes allocated on the stack, lead to extremely performant code.
- Support for various backends: it compiles to C, C++ or JavaScript so that Nim can be used for all backend and frontend needs.
## Expressive
### Expressive
- Nim is self-contained: the compiler and the standard library are implemented in Nim.
- Nim has a powerful macro system which allows direct manipulation of the AST, offering nearly unlimited opportunities.
## Elegant
### Elegant
- Macros cannot change Nim's syntax because there is no need for it — the syntax is flexible enough.
- Modern type system with local type inference, tuples, generics and sum types.
- Statements are grouped by indentation but can span multiple lines.
## Notes
### Notes
- By default this package install's Nim along with MingW compiler and added to `PATH`.
- You can disable by passing a parameter. See [here](#package-specific)
# Package Specific
## Package Parameters
## Package Specific
### Package Parameters
The following package parameters can be set:
- `/AddToPath:` - Add the binaries to `PATH`. Allowed values are either `true` or `false`. By default `true`.
To pass parameters, use `--params "''"` (e.g. `choco install nim [other options] --params="'/AddToPath:false'"`).
To have choco remember parameters on upgrade, be sure to set `choco feature enable -n=useRememberedArgumentsForUpgrades`.
**Please Note:** This is an automatically updated package. If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.
]]></description>
<dependencies>
<dependency id="mingw" version="4.7.2" />
Expand Down
8 changes: 4 additions & 4 deletions nim/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ Package can be verified like this:

1. Go to https://nim-lang.org/install_windows.html, and find these URL

x32: https://nim-lang.org/download/nim-1.4.4_x32.zip
x64: https://nim-lang.org/download/nim-1.4.4_x64.zip
x32: https://nim-lang.org/download/nim-1.4.6_x32.zip
x64: https://nim-lang.org/download/nim-1.4.6_x64.zip

to download the zip files. You may wish to rename one of the files.

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: FD0F54A4CA8383DC9DCBDDEF14A5ED983D4D379D13B234A796B5558C1CCC9D71
checksum64: 92106B7D46C6C297A51980E5FCC18928ABA7B2350641A84A4CA3F36E31552252
checksum32: A92DF99A9C3EEFE8F900E2868FA863FEF4609250ADA20078B16CF4F174A9D1CC
checksum64: B9468DE3BE6E7A166CBC63B19A26E8174B4C0379DC12A897A69BB584CDB4E485

File 'LICENSE.txt' obtained from:
https://github.com/nim-lang/Nim/blob/devel/copying.txt

0 comments on commit 42c6601

Please sign in to comment.