packages feed

cases-0.1.4: cases.cabal

name:
  cases
version:
  0.1.4
synopsis:
  A converter for spinal, snake and camel cases
description:
  A parser-based converter library for spinal, snake and camel cases.
category:
  Text
homepage:
  https://github.com/nikita-volkov/cases 
bug-reports:
  https://github.com/nikita-volkov/cases/issues 
author:
  Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
  Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
  (c) 2014, Nikita Volkov
license:
  MIT
license-file:
  LICENSE
build-type:
  Simple
cabal-version:
  >=1.10

source-repository head
  type:
    git
  location:
    git://github.com/nikita-volkov/cases.git

library
  hs-source-dirs:
    library
  exposed-modules:
    Cases
  other-modules:
    Cases.Prelude
  build-depends:
    attoparsec >= 0.10 && < 0.14,
    text == 1.*,
    loch-th == 0.2.*,
    base-prelude >= 0.1.4 && < 2
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010

test-suite api-tests
  type:             
    exitcode-stdio-1.0
  hs-source-dirs:   
    api-tests
  main-is:          
    APITests.hs
  ghc-options:
    -O2
    -threaded
    "-with-rtsopts=-N"
  build-depends:
    -- testing:
    cases,
    QuickCheck,
    HUnit,
    HTF >= 0.13 && < 0.14,
    -- data:
    text,
    -- debugging:
    loch-th == 0.2.*,
    placeholders == 0.1.*,
    -- general:
    base >= 4.6 && < 5
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010

benchmark benchmark
  type:             
    exitcode-stdio-1.0
  hs-source-dirs:   
    benchmark
  main-is:      
    Benchmark.hs
  ghc-options:
    -O2
    -threaded
    "-with-rtsopts=-N"
  build-depends:
    cases,
    mwc-random == 0.13.*,
    -- benchmarking:
    criterion == 1.*,
    -- 
    rerebase == 1.*
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010