packages feed

BiobaseNewick-0.0.0.2: BiobaseNewick.cabal

Name:           BiobaseNewick
Version:        0.0.0.2
License:        BSD3
License-file:   LICENSE
Author:         Christian Hoener zu Siederdissen
Maintainer:     choener@bioinf.uni-leipzig.de
Copyright:      Christian Hoener zu Siederdissen, 2015-2017
Homepage:       https://github.com/choener/BiobaseNewick
bug-reports:    https://github.com/choener/BiobaseNewick/issues
Stability:      Experimental
Category:       Bioinformatics
Build-type:     Simple
Cabal-version:  >= 1.10
tested-with:    GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2
Synopsis:       Newick file format parser.
Description:
                This is a simple parser for Newick trees. The parser returns a
                rose tree. Each node is labelled with the node name (or an
                empty string for anonymous nodes) and a distance (0 if not
                given).
                .
                Includes conversion to an efficient static forest.



extra-source-files:
  changelog.md
  README.md



library
  exposed-modules:
    Biobase.Newick
    Biobase.Newick.Export
    Biobase.Newick.Import
    Biobase.Newick.StaticForest
    Biobase.Newick.Types

  build-depends: base                     >= 4.7      &&  < 5.0
               , aeson                    >= 0.8
               , attoparsec               >= 0.12
               , binary                   >= 0.7
               , cereal                   >= 0.4
               , cereal-text              >= 0.1.0
               , containers               >= 0.5
               , fgl                      >= 5.5
               , QuickCheck               >= 2.7
               , text                     >= 1.2
               , text-binary              >= 0.1.0
               , vector                   >= 0.10
               --
               , ForestStructures         == 0.0.0.*
  ghc-options:
    -O2
    -funbox-strict-fields
  default-language:
    Haskell2010
  default-extensions: DeriveGeneric
                    , DataKinds
                    , OverloadedStrings



-- simple testing program that displays static forest structures from newick trees

executable TestForestStructure
  build-depends: base
               , cmdargs  >= 0.10
               , text
               , vector
               --
               , BiobaseNewick
               , ForestStructures
  hs-source-dirs:
    src
  main-is:
    TestForestStructure.hs
  default-language:
    Haskell2010
  default-extensions: BangPatterns
                    , DataKinds
                    , DeriveDataTypeable
                    , RecordWildCards
                    , ScopedTypeVariables
  ghc-options:
    -O2



test-suite properties
  type:
    exitcode-stdio-1.0
  main-is:
    properties.hs
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:
    tests
  default-language:
    Haskell2010
  default-extensions: ScopedTypeVariables
                    , TemplateHaskell
  build-depends: base
               , aeson
               , binary
               , BiobaseNewick
               , cereal
               , QuickCheck
               , test-framework               >= 0.8
               , test-framework-quickcheck2   >= 0.3
               , test-framework-th            >= 0.2



source-repository head
  type: git
  location: git://github.com/choener/BiobaseNewick