mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
45 lines
837 B
YAML
45 lines
837 B
YAML
distributable:
|
|
#FIXME
|
|
url: https://hackage.haskell.org/package/pandoc-2.18/pandoc-2.18.tar.gz
|
|
strip-components: 1
|
|
|
|
#FIXME pandoc has 4 digit versions : /
|
|
# so we miss a whole bunch
|
|
versions:
|
|
github: jgm/pandoc
|
|
strip: /^pandoc /
|
|
|
|
provides:
|
|
- bin/pandoc
|
|
|
|
dependencies:
|
|
gnu.org/gmp: 6
|
|
zlib.net: 1
|
|
sourceware.org/libffi: 3
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
haskell.org: ^9
|
|
haskell.org/cabal: ^3
|
|
script: |-
|
|
cabal update
|
|
mkdir -p {{prefix}}/bin
|
|
cabal install $ARGS
|
|
env:
|
|
ARGS:
|
|
- --install-method=copy
|
|
- --installdir={{prefix}}/bin
|
|
- --jobs={{hw.concurrency}}
|
|
linux:
|
|
ARGS:
|
|
# else segfaults
|
|
- --enable-relocatable
|
|
|
|
test:
|
|
fixture: |
|
|
# tea
|
|
brew2 for you
|
|
script:
|
|
pandoc -f markdown -t html5 $FIXTURE
|
|
#TODO check output is HTML!
|