mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
+nim-lang.org
Init at v1.6.14 Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
7fb5ceef71
commit
f4005be774
1 changed files with 47 additions and 0 deletions
47
projects/nim-lang.org/package.yml
Normal file
47
projects/nim-lang.org/package.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
distributable:
|
||||
url: https://nim-lang.org/download/nim-{{ version }}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
|
||||
# FIXME: test more versions
|
||||
versions:
|
||||
- v1.6.14
|
||||
|
||||
provides:
|
||||
- bin/nim
|
||||
- bin/nim_dbg
|
||||
- bin/testament
|
||||
- bin/nimsuggest
|
||||
- bin/nimgrep
|
||||
- bin/nim-gdb
|
||||
- bin/atlas
|
||||
- bin/nimpretty
|
||||
- bin/nimble
|
||||
|
||||
|
||||
dependencies:
|
||||
llvm.org: '*'
|
||||
pcre.org: '*'
|
||||
openssl.org: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
llvm.org: '*'
|
||||
pcre.org: '*'
|
||||
openssl.org: '*'
|
||||
script: |-
|
||||
sh build.sh
|
||||
bin/nim c koch
|
||||
./koch boot -d:release
|
||||
./koch tools
|
||||
./install.sh {{ prefix }}
|
||||
cp -r {{ prefix }}/nim/* {{ prefix }}
|
||||
rm -rf {{ prefix }}/nim
|
||||
for fn in atlas nim nim-gdb nim_dbg nimble nimgrep nimpretty nimsuggest testament; do cp ./bin/$fn {{ prefix }}/bin/; done
|
||||
|
||||
test:
|
||||
script: |
|
||||
mv $FIXTURE hello.nim
|
||||
nim r hello.nim
|
||||
fixture: |
|
||||
echo "Hello World"
|
Loading…
Reference in a new issue