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: 7f4b65ce85cf869179da0d6dbb1879986a3279f7fb002c2254e841c7431f2818
name: source-constraints
version: 0.0.2
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
tested-with: GHC ==8.8.4 || ==8.10.2
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: CPP 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 || >=4.14 && <4.15
, bytestring >=0.10 && <0.11
, filepath >=1.4 && <1.5
, ghc >=8.8 && <8.9 || >=8.10 && <8.11
, 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: CPP 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 || >=4.14 && <4.15
, bytestring >=0.10 && <0.11
, filepath >=1.4 && <1.5
, ghc >=8.8 && <8.9 || >=8.10 && <8.11
, 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