name:                birch-beer
version:             0.4.2.1
synopsis:            Plot a colorful tree.
description:         Generate a tree for displaying a hierarchy of groups with colors, scaling, and more.
homepage:            http://github.com/GregorySchwartz/birch-beer#readme
license:             GPL-3
license-file:        LICENSE
author:              Gregory W. Schwartz
maintainer:          gregory.schwartz@uhnresearch.ca
copyright:           2022 Gregory W. Schwartz
category:            Bioinformatics
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     BirchBeer.Types
                     , BirchBeer.ColorMap
                     , BirchBeer.Interactive
                     , BirchBeer.LeafGraph
                     , BirchBeer.Load
                     , BirchBeer.MainDiagram
                     , BirchBeer.Options
                     , BirchBeer.Plot
                     , BirchBeer.Stopping
                     , BirchBeer.Utility
  build-depends:       base >= 4.7 && < 5
                     , SVGFonts
                     , aeson
                     , bytestring
                     , cassava
                     , colour
                     , containers
                     , deepseq
                     , diagrams
                     , diagrams-cairo
                     , diagrams-graphviz
                     , diagrams-gtk
                     , diagrams-lib
                     , diversity
                     , elbow
                     , fgl
                     , foldl
                     , graphviz
                     , gtk
                     , hierarchical-clustering
                     -- , hierarchical-clustering-diagrams
                     , hierarchical-spectral-clustering
                     , lens
                     , matrix-market-attoparsec
                     , mtl
                     , optparse-generic
                     , palette
                     , plots
                     , safe
                     , scientific
                     , sparse-linear-algebra
                     , spectral-clustering
                     , split
                     , statistics
                     , temporary
                     , text
                     , text-show
                     , typed-spreadsheet
                     , vector
  ghc-options:         -O2
  default-language:    Haskell2010

executable birch-beer
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -O2
  build-depends:       base
                     , aeson
                     , birch-beer
                     , bytestring
                     , cassava
                     , colour
                     , containers
                     , diagrams
                     , diagrams-cairo
                     , diagrams-lib
                     , elbow
                     , hierarchical-spectral-clustering
                     , lens
                     , optparse-generic
                     , sparse-linear-algebra
                     , text
                     , text-show
                     , vector
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/GregorySchwartz/birch-beer