packages feed

dot-0.3: dot.cabal

cabal-version: 2.2
name:
  dot
version:
  0.3
synopsis:
  Datatypes and encoding for graphviz dot files
description:
  Datatypes and encoding for graphviz dot files.
  See the example directory for example usage.
homepage:
  https://github.com/andrewthad/dot
license:
  BSD-3-Clause
author:
  Andrew Martin
maintainer:
  Andrew Martin <andrew.thaddeus@gmail.com>
  chessai <chessai1996@gmail.com>
copyright:
  2019 Andrew Martin
category:
  Data,Graphics,Graphs
build-type:
  Simple

library
  hs-source-dirs:
    src
  exposed-modules:
    Dot
    Dot.Text
    Dot.Types
  build-depends:
    , base >= 4.7 && < 5
    , text
  default-language:
    Haskell2010

executable example
  hs-source-dirs:
    example
  main-is:
    Example.hs
  build-depends:
    , base
    , dot
    , text
  default-language:
    Haskell2010
  if !(flag(examples))
    buildable: False

flag examples
  description:
    Also compile examples
  manual:
    True
  default:
    False

source-repository head
  type:
    git
  location:
    https://github.com/andrewthad/dot