aoc2022/package.yaml
2022-12-03 10:50:09 +01:00

100 lines
2.0 KiB
YAML

name: aoc2022
version: 0.1.0.0
github: "githubuser/aoc2022"
license: BSD3
author: "Stefan Risberg"
maintainer: "steffenomak@gmail.com"
copyright: "2022 Stefan Risberg"
extra-source-files:
- README.md
- CHANGELOG.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/aoc2022#readme>
dependencies:
- base >= 4.7 && < 5
- classy-prelude
- streamly
- streamly-bytestring
- optics
- containers
- unordered-containers
- bytestring
- text
- attoparsec
- split
- bytestring-mmap
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -O3
library:
source-dirs: src
executables:
aoc2022-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- aoc2022
tests:
aoc2022-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- aoc2022
default-extensions:
- AllowAmbiguousTypes
- BangPatterns
- BlockArguments
- DataKinds
- DeriveGeneric
- DuplicateRecordFields
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NoImplicitPrelude
- NoMonomorphismRestriction
- OverloadedLabels
- OverloadedStrings
- PolyKinds
- RankNTypes
- ScopedTypeVariables
- TemplateHaskell
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances