summaryrefslogtreecommitdiff
path: root/package.yaml
blob: 520ff96582d4428e0cfd4bab1c6ed192ecc441e9 (plain)
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
name: pandoc-pyplot
version: '1.0.3.0'
github: "LaurentRDC/pandoc-pyplot"
license: MIT
author: "Laurent P. René de Cotret"
maintainer: "Laurent P. René de Cotret"
synopsis: A Pandoc filter for including figures generated from Matplotlib
description: 
  A pandoc filter for including figures generated from Matplotlib.
  Keep the document and Python code in the same location. Output from Matplotlib
  is captured and included as a figure.
category: Documentation

license-file: LICENSE.md

extra-source-files:
- CHANGELOG.md
- LICENSE.md
- package.yaml
- README.md
- stack.yaml

ghc-options: -Wall -Wcompat

library:
  dependencies:
  - base            > 4 && < 5
  - directory
  - filepath
  - pandoc-types    > 1.12 && < 2
  - temporary
  - typed-process
  - containers
  source-dirs: src
  exposed-modules:
  - Text.Pandoc.Filter.Pyplot
  - Text.Pandoc.Filter.Scripting

executables:
  pandoc-pyplot:
    source-dirs: executable
    main: Main.hs
    dependencies:
    - base                > 4 && < 5
    - pandoc-pyplot
    - pandoc-types        > 1.12 && < 2
    ghc-options:
    - -rtsopts
    - -threaded
    - -with-rtsopts=-N