packages feed

string-conv-0.2.0: string-conv.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.6.
--
-- see: https://github.com/sol/hpack

name:           string-conv
version:        0.2.0
synopsis:       Standardized conversion between string types
description:    Avoids the need to remember many different functions for converting string types. Just use one universal function toS for all monomorphic string conversions.
category:       Data, String, Text
homepage:       https://github.com/Soostone/string-conv
bug-reports:    https://github.com/Soostone/string-conv/issues
author:         Ozgun Ataman
maintainer:     ozgun.ataman@soostone.com
copyright:      Soostone Inc, 2012-2015
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    changelog.md

source-repository head
  type: git
  location: https://github.com/Soostone/string-conv

flag lib-Werror
  description: Turn on -Wall and -Werror. Should always be enabled in development.

  manual: True
  default: False

library
  exposed-modules:
      Data.String.Conv
  other-modules:
      Paths_string_conv
  hs-source-dirs:
      src
  build-depends:
      base >=4.4 && <5
    , bytestring
    , text
  if flag(lib-Werror)
    ghc-options: -Wall -Werror -fwarn-redundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Widentities
  else
    ghc-options: -Wall -fwarn-redundant-constraints -Wincomplete-record-updates -Widentities
  default-language: Haskell2010

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_string_conv
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.4 && <5
    , bytestring
    , quickcheck-instances >=0.3.17
    , string-conv
    , tasty
    , tasty-quickcheck
    , text
  if flag(lib-Werror)
    ghc-options: -Wall -Werror -fwarn-redundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Widentities
  else
    ghc-options: -Wall -fwarn-redundant-constraints -Wincomplete-record-updates -Widentities
  default-language: Haskell2010