hamming/package.yaml

65 lines
1.5 KiB
YAML

name: hamming
version: 0.0.0
license: AGPL-3.0-or-later
author: "Jonathan Lamothe"
maintainer: "jonathan@jlamothe.net"
copyright: "2024 Jonathan Lamothe"
extra-source-files:
- README.md
- CHANGELOG.md
# Metadata used when publishing your package
synopsis: game/utility for teaching about Hamming codes
category: Games
# 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/hamming#readme>
dependencies:
- base >= 4.7 && < 5
- brick >= 2.1.1 && < 2.2
- microlens >= 0.4.13.1 && < 0.5
- microlens-th >= 0.4.3.15 && < 0.5
- mtl >= 2.3.1 && < 2.4
- vty >= 6.1 && < 6.2
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
executables:
hamming:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hamming
tests:
hamming-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hamming
- hspec >= 2.11.9 && < 2.12