cabal-version: 1.18
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 91a3bc64301e8157e58aa102b9090a7175351884011c0df8480f6971486b3ba3
name: source-constraints
version: 0.0.1
synopsis: Source constraints GHC plugin
description: Please visit the README at <https://github.com/mbj/source-constraints#readme>
for usage information.
category: CodeQuality
homepage: https://github.com/mbj/source-constraints#readme
bug-reports: https://github.com/mbj/source-constraints/issues
author: Markus Schirp
maintainer: mbj@schirp-dso.com
copyright: 2018 Markus Schirp
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
test/LocalModuleExplicitImport.hs
test/MissingDerivingStrategy.hs
test/UnsortedIE.hs
test/UnsortedIEThingWith.hs
test/UnsortedImportStatement.hs
test/UnsortedMultipleDeriving.hs
extra-doc-files:
README.md
source-repository head
type: git
location: https://github.com/mbj/source-constraints
flag development
description: Run GHC with development flags
manual: True
default: False
library
exposed-modules:
SourceConstraints
SourceConstraints.LocalModule
other-modules:
Paths_source_constraints
hs-source-dirs:
src
default-extensions: DerivingStrategies GeneralizedNewtypeDeriving LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards ScopedTypeVariables Strict
ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction
build-depends:
attoparsec >=0.13 && <0.14
, base >=4.13 && <4.14
, bytestring >=0.10 && <0.11
, filepath >=1.4 && <1.5
, ghc >=8.8 && <8.9
, syb >=0.7 && <0.8
, text >=1.2 && <1.3
if flag(development)
ghc-options: -Werror
else
ghc-options: -Wwarn
default-language: Haskell2010
test-suite hspec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
default-extensions: DerivingStrategies GeneralizedNewtypeDeriving LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards ScopedTypeVariables Strict
ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction -rtsopts -threaded -with-rtsopts=-N
build-depends:
attoparsec >=0.13 && <0.14
, base >=4.13 && <4.14
, bytestring >=0.10 && <0.11
, filepath >=1.4 && <1.5
, ghc >=8.8 && <8.9
, ghc-paths >=0.1 && <0.2
, heredoc >=0.2 && <0.3
, hspec >=2.7 && <2.8
, source-constraints
, syb >=0.7 && <0.8
, text >=1.2 && <1.3
if flag(development)
ghc-options: -Werror
else
ghc-options: -Wwarn
default-language: Haskell2010