2024-06-29 18:39:54 -04:00
|
|
|
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
|
2024-07-17 20:53:23 -04:00
|
|
|
- brick >= 2.1.1 && < 2.2
|
2024-07-19 20:50:33 -04:00
|
|
|
- microlens >= 0.4.13.1 && < 0.5
|
2024-08-07 16:43:36 -04:00
|
|
|
- microlens-mtl >= 0.2.0.3 && < 0.3
|
2024-07-18 19:06:17 -04:00
|
|
|
- microlens-th >= 0.4.3.15 && < 0.5
|
2024-07-17 20:53:23 -04:00
|
|
|
- mtl >= 2.3.1 && < 2.4
|
2024-07-23 16:45:55 -04:00
|
|
|
- vty >= 6.1 && < 6.2
|
2024-06-29 18:39:54 -04:00
|
|
|
|
|
|
|
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
|
2024-06-29 18:43:46 -04:00
|
|
|
- hspec >= 2.11.9 && < 2.12
|