packages feed

git-config-0.1.2: git-config.cabal

cabal-version: 1.12

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

name:           git-config
version:        0.1.2
synopsis:       A simple parser for Git configuration files
description:    git-config is a simple 'megaparsec' parser for Git configuration files.
                .
                It aims to provide the simplest API possible for parsing Git configuration
                files so that you can get to whatever it was you were doing.
                .
                A sample of this library in use:
                .
                > import qualified Data.Text.IO as TIO
                > import Text.GitConfig.Parser (parseConfig)
                >
                > main :: IO ()
                > main = do
                >   file <- TIO.readFile ".git/config"
                >   case parseConfig file of
                >     Right conf ->
                >       print conf
category:       Library,Git
homepage:       https://github.com/dogonthehorizon/git-config#readme
bug-reports:    https://github.com/dogonthehorizon/git-config/issues
author:         Fernando Freire
maintainer:     Fernando Freire <dogonthehorizon@gmail.com>
copyright:      2018 Fernando Freire
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/dogonthehorizon/git-config

library
  hs-source-dirs:
      src
  default-extensions: OverloadedStrings
  ghc-options: -Wall -fno-warn-partial-type-signatures -fno-warn-name-shadowing -fwarn-tabs -fwarn-unused-imports -fwarn-missing-signatures -fwarn-incomplete-patterns
  build-depends:
      base >=4.7 && <5
    , megaparsec >=7 && <9
    , text
    , unordered-containers
  exposed-modules:
      Text.GitConfig.Parser
  other-modules:
      Paths_git_config
  default-language: Haskell2010

test-suite git-config-test
  type: exitcode-stdio-1.0
  main-is: Tasty.hs
  hs-source-dirs:
      test
  default-extensions: OverloadedStrings
  ghc-options: -Wall -fno-warn-partial-type-signatures -fno-warn-name-shadowing -fwarn-tabs -fwarn-unused-imports -fwarn-missing-signatures -fwarn-incomplete-patterns -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      tasty-discover:tasty-discover >=4.2.1 && <4.3
  build-depends:
      base >=4.7 && <5
    , git-config
    , megaparsec
    , smallcheck
    , smallcheck-series
    , tasty
    , tasty-discover
    , tasty-hunit
    , tasty-smallcheck
    , tasty-travis
    , text
    , unordered-containers
  other-modules:
      Text.GitConfig.ParserTest
      Paths_git_config
  default-language: Haskell2010