packages feed

separated-0.1.2: separated.cabal

name:               separated
version:            0.1.2
license:            BSD3
license-File:       etc/LICENCE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
maintainer:         Tony Morris
copyright:          Copyright (c) 2016, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
synopsis:           A data type with elements separated by values
category:           Data
description:        A data type with elements separated by values
homepage:           https://github.com/data61/separated
bug-reports:        https://github.com/data61/separated/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: changelog

source-repository   head
  type:             git
  location:         git@github.com:data61/separated.git

flag                small_base
  description:      Choose the new, split-up base package.

library
  default-language:
                    Haskell2010

  build-depends:
                    base < 5 && >= 3
                    , lens >= 4.0
                    , semigroups >= 0.9
                    , semigroupoids >= 4.0
                    , bifunctors >= 4.0
                    , papa
                    
  ghc-options:
                    -Wall

  default-extensions:
                    NoImplicitPrelude

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Separated
                    Data.Separated.Separated
                    Data.Separated.SeparatedCons

test-suite doctests
  type:
                    exitcode-stdio-1.0

  main-is:
                    doctests.hs

  default-language:
                    Haskell2010

  build-depends:
                    base < 5 && >= 3
                    , doctest >= 0.9.7
                    , filepath >= 1.3
                    , directory >= 1.1
                    , QuickCheck >= 2.0
                    , template-haskell >= 2.8
                    , parsec >= 3.1

  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test