cabal-version: 3.0
name: aihc-cabal-syntax
version: 1.0.0.1
synopsis: Parse Cabal files for aihc
description: Parse Cabal package files for the aihc compiler.
Read package data, version ranges, and condition expressions.
category: Parsing
maintainer: David Himmelstrup <lemmih@gmail.com>
license: Unlicense
license-file: LICENSE
build-type: Simple
extra-doc-files: CHANGELOG.md
extra-source-files: README.md test/fixtures/*.cabal
library
exposed-modules: Aihc.Cabal
other-modules:
Aihc.Cabal.Internal.Condition
Aihc.Cabal.Internal.Lexer
Aihc.Cabal.Internal.Parser
Aihc.Cabal.Internal.Quirks
Aihc.Cabal.Internal.Resolve
Aihc.Cabal.Internal.Types
Aihc.Cabal.Internal.Values
Aihc.Cabal.Internal.Version
hs-source-dirs: src
build-depends: base >=4.16 && <5, bytestring <0.13, containers <0.9, text <2.2, megaparsec >=9 && <10, parser-combinators <1.4
default-language: Haskell2010
ghc-options: -Wall
test-suite parser-tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base, aihc-cabal-syntax, bytestring <0.13, containers <0.9, text <2.2, Cabal-syntax >=3.18.1 && <3.19
default-language: Haskell2010
ghc-options: -Wall
test-suite hackage-compliance
type: exitcode-stdio-1.0
main-is: Hackage.hs
hs-source-dirs: test
other-modules: Compliance.Adapter Compliance.Compare Compliance.Tests
build-depends: base, aihc-cabal-syntax, bytestring <0.13, containers <0.9, text <2.2,
Cabal-syntax >=3.18.1 && <3.19, aeson <2.3, tar <0.7, directory <1.4, filepath <1.6
default-language: Haskell2010
ghc-options: -Wall -rtsopts
test-suite pretty-roundtrip
type: exitcode-stdio-1.0
main-is: RoundTrip.hs
hs-source-dirs: test
other-modules: Compliance.Adapter
build-depends: base, aihc-cabal-syntax, bytestring <0.13, containers <0.9, text <2.2,
Cabal-syntax >=3.18.1 && <3.19, hedgehog >=1.5 && <1.6
default-language: Haskell2010
ghc-options: -Wall