pantry/projects/nim-lang.org/package.yml
Ivan Bushchik f6be5b649e nim-lang.org: remove compiler/ dir from binary package
Remove double blank lines

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-07-17 11:06:14 -04:00

46 lines
915 B
YAML

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:
gnu.org/gcc: '*'
pcre.org: '*'
openssl.org: '*'
build:
dependencies:
gnu.org/gcc: '*'
pcre.org: '*'
openssl.org: '*'
script: |-
sh build.sh
bin/nim c koch
./koch boot -d:release
./koch tools
./install.sh {{ prefix }}
rm -rf {{ prefix }}/nim/compiler
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"