packages feed

biohazard-2.0: biohazard.cabal

Name:                biohazard
Version:             2.0  
Synopsis:            bioinformatics support library
Description:         This is a collection of modules I separated from
                     various bioinformatics tools.
Category:            Bioinformatics

Homepage:            https://bitbucket.org/ustenzel/biohazard
License:             BSD3
License-File:        LICENSE
Extra-Source-Files:  CHANGELOG.md

Author:              Udo Stenzel
Maintainer:          u.stenzel@web.de
Copyright:           (C) 2010-2017 Udo Stenzel

Cabal-version:       >= 1.10
Build-type:          Simple
Tested-with:         GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1

source-repository head
  type:     git
  location: https://bitbucket.org/ustenzel/biohazard.git

Library
  Exposed-modules:     Bio.Adna,
                       Bio.Align,
                       Bio.Bam,
                       Bio.Bam.Evan,
                       Bio.Bam.Fastq,
                       Bio.Bam.Filter,
                       Bio.Bam.Header,
                       Bio.Bam.Index,
                       Bio.Bam.Pileup,
                       Bio.Bam.Reader
                       Bio.Bam.Rec,
                       Bio.Bam.Regions,
                       Bio.Bam.Rmdup,
                       Bio.Bam.Trim,
                       Bio.Bam.Writer,
                       Bio.Base,
                       Bio.Prelude,
                       Bio.Streaming,
                       Bio.Streaming.Bgzf,
                       Bio.Streaming.Bytes,
                       Bio.Streaming.Furrow,
                       Bio.Streaming.Parse,
                       Bio.Streaming.Vector,
                       Bio.TwoBit,
                       Bio.Util.MMap,
                       Bio.Util.Nub,
                       Bio.Util.Numeric,
                       Bio.Util.Storable,
                       Bio.Util.Text

  Build-depends:       attoparsec               >= 0.10 && < 0.14,
                       base                     >= 4.7 && < 4.13,
                       base-prelude             == 1.2.0.*,
                       bytestring               >= 0.10.2 && < 0.11,
                       containers               >= 0.5 && < 0.7,
                       directory                >= 1.2.1 && < 1.4,
                       exceptions               >= 0.6 && < 0.11,
                       hashable                 >= 1.0 && < 1.3,
                       primitive                >= 0.5 && < 0.7,
                       stm                      >= 2.4 && < 2.6,
                       streaming                >= 0.1.4.2 && < 0.3,
                       text                     >= 1.0 && < 1.3,
                       transformers             >= 0.4.1 && < 0.6,
                       unix                     >= 2.5 && < 2.8,
                       unordered-containers     >= 0.2.3 && < 0.3,
                       vector                   >= 0.11 && < 0.13,
                       vector-algorithms        >= 0.3 && < 0.8,
                       zlib                     == 0.6.*

  if !impl(ghc >= 7.10)
    build-depends: bifunctors == 5.*
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*

  Ghc-options:         -Wall
  if impl(ghc >= 8.0)
    Ghc-options:       -Wincomplete-uni-patterns -Wredundant-constraints
                       -Wcompat -Wincomplete-record-updates -Widentities
  if impl(ghc >= 8.4)
    Ghc-options:       -Wmissing-export-lists -Wpartial-fields

  Default-Language:    Haskell2010

  Default-Extensions:  BangPatterns,
                       DeriveDataTypeable,
                       DeriveGeneric,
                       FlexibleContexts,
                       FlexibleInstances,
                       GeneralizedNewtypeDeriving,
                       LambdaCase,
                       MultiParamTypeClasses,
                       NoImplicitPrelude,
                       OverloadedStrings,
                       RecordWildCards,
                       TypeSynonymInstances

  Other-Extensions:    CPP,
                       ExistentialQuantification,
                       ForeignFunctionInterface,
                       Rank2Types,
                       TypeFamilies

  Hs-source-dirs:      .
  Include-dirs:        cbits
  Install-Includes:    myers_align.h
  C-sources:           cbits/loops.c,
                       cbits/mmap.c,
                       cbits/myers_align.c,
                       cbits/trim.c
                       cbits/zlib.c
  CC-options:          -fPIC

-- :vim:tw=132: