packages feed

checkmate-0.4.0: checkmate.cabal

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

name:           checkmate
version:        0.4.0
synopsis:       Generate checklists relevant to a given patch
category:       Development
stability:      alpha
homepage:       https://github.com/dahlia/checkmate#readme
bug-reports:    https://github.com/dahlia/checkmate/issues
author:         Hong Minhee
maintainer:     hong.minhee@gmail.com
copyright:      © 2017–2018 Hong Minhee
license:        AGPL-3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/dahlia/checkmate

flag static
  description: Static link
  manual: True
  default: False

library
  exposed-modules:
      Checkmate.Check
      Checkmate.Discover
      Checkmate.Parser.CheckFile
      Checkmate.Parser.IndentBlock
      Checkmate.Publisher.GitHub
      Checkmate.Range
      Checkmate.Renderer
  other-modules:
      Paths_checkmate
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-uni-patterns
  build-depends:
      base >=4.7 && <5
    , containers >=0.5.7.1 && <0.6.0.0
    , diff-parse >=0.2.1 && <0.3.0
    , directory ==1.3.*
    , filepath >=1.4.1.1 && <2.0.0
    , github ==0.19.*
    , megaparsec ==6.5.*
    , monad-parallel >=0.7.2.2 && <0.8.0.0
    , text ==1.*
  if os(darwin)
    ghc-options: -Wwarn -optP-Wno-nonportable-include-path
  else
    ghc-options: -Wwarn
  default-language: Haskell2010

executable checkmate
  main-is: Main.hs
  other-modules:
      Paths_checkmate
  hs-source-dirs:
      app
  build-depends:
      base >=4.7 && <5
    , checkmate
    , diff-parse >=0.2.1 && <0.3.0
    , directory ==1.3.*
    , filepath >=1.4.1.1 && <2.0.0
    , megaparsec ==6.5.*
    , optparse-applicative >=0.13.2.0 && <0.15.0.0
    , process >=1.6.1.0 && <1.7.0.0
    , text ==1.*
  if os(darwin)
    ghc-options: -Wwarn -optP-Wno-nonportable-include-path
  else
    ghc-options: -Wwarn
  if flag(static)
    ghc-options: -Wall -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N -static -optl-static -optl-pthread -optc-Os -fPIC
  else
    ghc-options: -Wall -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: hlint.hs
  other-modules:
      Paths_checkmate
  build-depends:
      base >=4.7 && <5
    , diff-parse >=0.2.1 && <0.3.0
    , directory ==1.3.*
    , filepath >=1.4.1.1 && <2.0.0
    , hlint >=2.0.9 && <3
    , megaparsec ==6.5.*
    , text ==1.*
  if os(darwin)
    ghc-options: -Wwarn -optP-Wno-nonportable-include-path
  else
    ghc-options: -Wwarn
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Checkmate.CheckSpec
      Checkmate.DiscoverSpec
      Checkmate.Parser.CheckFileSpec
      Checkmate.Parser.IndentBlockSpec
      Checkmate.RangeSpec
      Checkmate.RendererSpec
      Paths_checkmate
  hs-source-dirs:
      test
  ghc-options: -Wall -fno-warn-incomplete-uni-patterns -fno-warn-missing-signatures -rtsopts -threaded -with-rtsopts=-N -Wno-orphans
  build-depends:
      QuickCheck >=2.9.2 && <3.0.0
    , base >=4.7 && <5
    , bytestring >=0.10.8.1 && <0.11
    , checkmate
    , diff-parse >=0.2.1 && <0.3.0
    , directory ==1.3.*
    , file-embed >=0.0.10 && <0.1.0
    , filepath >=1.4.1.1 && <2.0.0
    , hspec >=2.4.4 && <3.0.0
    , hspec-megaparsec >=1.0.0 && <1.1.0
    , interpolatedstring-perl6 ==1.*
    , megaparsec ==6.5.*
    , quickcheck-text >=0.1.2.1 && <0.2.0.0
    , temporary >=1.2.1 && <1.3.0.0
    , text ==1.*
  if os(darwin)
    ghc-options: -Wwarn -optP-Wno-nonportable-include-path
  else
    ghc-options: -Wwarn
  default-language: Haskell2010