packages feed

wyvern-diagrams-0.3.1.0: wyvern-diagrams.cabal

cabal-version:      3.4
name:               wyvern-diagrams
version:            0.3.1.0
synopsis:           Simple flowchart diagrams. Inspired by DRAKON.
description:        Wyvern combines syntax and rendering engine
                    for simple, DRAKON-like flowcharts.
homepage:           https://github.com/PiotrJustyna/wyvern
license:            BSD-3-Clause
License-file:       LICENSE
author:             Piotr Justyna
maintainer:         a568adff447749e8a5c47cdf7f31ed11@proton.me
copyright:          Piotr Justyna
Bug-reports:        https://github.com/PiotrJustyna/wyvern/issues
category:           Development
build-type:         Simple
extra-source-files: diagrams/*.svg, diagrams/*.txt
extra-doc-files:    CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/PiotrJustyna/wyvern

common warnings
    ghc-options: -Wall

library
    exposed-modules:  ID
                      Constants
                      Blocks
                      HelperDiagrams
                      Lexer
                      Parser
                      InputArguments
    hs-source-dirs:   src/lib
    build-depends:
                      -- BSD-3-Clause
                      base >= 4.19.2.0 && < 4.22,
                      -- MIT
                      colour >= 2.3.6 && < 2.3.7,
                      -- BSD-2-Clause
                      text >= 2.1.2 && < 2.1.3,
                      -- BSD-3-Clause
                      diagrams-lib >= 1.5.1 && < 1.5.2,
                      -- BSD-3-Clause
                      diagrams-svg >= 1.5 && < 1.5.1,
                      -- BSD-3-Clause
                      containers >= 0.7 && < 0.7.1,
                      -- BSD-3-Clause
                      MissingH >= 1.6.0 && < 1.6.7,
                      -- BSD-3-Clause
                      array >= 0.5.8 && < 0.5.9,
                      -- BSD-3-Clause
                      unordered-containers >= 0.2.21 && < 0.2.22,
                      -- BSD-3-Clause
                      optparse-applicative >= 0.19.0 && < 0.19.1
    default-language: Haskell2010

executable wyvern-diagrams
    import:           warnings
    main-is:          Main.hs
    build-depends:
                      -- BSD-3-Clause
                      base >= 4.19.2.0 && < 4.22,
                      -- BSD-3-Clause
                      array >= 0.5.8 && < 0.5.9,
                      -- BSD-3-Clause
                      diagrams-lib >= 1.5.1 && < 1.5.2,
                      -- BSD-3-Clause
                      diagrams-svg >= 1.5 && < 1.5.1,
                      -- BSD-3-Clause
                      optparse-applicative >= 0.19.0 && < 0.19.1,
                      wyvern-diagrams
    hs-source-dirs:   src/app
    default-language: Haskell2010

test-suite wyvern-tests
    type:             exitcode-stdio-1.0
    hs-source-dirs:   src/tests
    main-is:          OverlappingLoopbacks.hs
    build-depends:
                      -- BSD-3-Clause
                      base >= 4.19.2.0 && < 4.22,
                      -- BSD-3-Clause
                      HUnit,
                      -- BSD-3-Clause
                      diagrams-lib >= 1.5.1 && < 1.5.2,
                      -- BSD-3-Clause
                      containers >= 0.7 && < 0.7.1,
                      wyvern-diagrams
    default-language: Haskell2010