98 lines
2.8 KiB
Plaintext
98 lines
2.8 KiB
Plaintext
cabal-version: 2.2
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.37.0.
|
|
--
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
name: hamming
|
|
version: 0.1.0
|
|
synopsis: game/utility for teaching about Hamming codes
|
|
description: Please see the README on GitHub at <https://github.com/githubuser/hamming#readme>
|
|
category: Games
|
|
author: Jonathan Lamothe
|
|
maintainer: jonathan@jlamothe.net
|
|
copyright: 2024 Jonathan Lamothe
|
|
license: AGPL-3.0-or-later
|
|
license-file: LICENSE
|
|
build-type: Simple
|
|
extra-source-files:
|
|
README.md
|
|
CHANGELOG.md
|
|
|
|
library
|
|
exposed-modules:
|
|
Hamming
|
|
Hamming.App
|
|
Hamming.App.Actions
|
|
Hamming.App.Draw
|
|
Hamming.App.Events
|
|
Hamming.App.Types
|
|
Hamming.App.Util
|
|
Hamming.App.Widgets
|
|
Hamming.App.Widgets.Internal
|
|
other-modules:
|
|
Paths_hamming
|
|
autogen-modules:
|
|
Paths_hamming
|
|
hs-source-dirs:
|
|
src
|
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
|
|
build-depends:
|
|
base >=4.7 && <5
|
|
, brick >=2.1.1 && <2.2
|
|
, microlens >=0.4.13.1 && <0.5
|
|
, microlens-mtl >=0.2.0.3 && <0.3
|
|
, microlens-th >=0.4.3.15 && <0.5
|
|
, mtl >=2.3.1 && <2.4
|
|
, vty ==6.1.*
|
|
default-language: Haskell2010
|
|
|
|
executable hamming
|
|
main-is: Main.hs
|
|
other-modules:
|
|
Paths_hamming
|
|
autogen-modules:
|
|
Paths_hamming
|
|
hs-source-dirs:
|
|
app
|
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
base >=4.7 && <5
|
|
, brick >=2.1.1 && <2.2
|
|
, hamming
|
|
, microlens >=0.4.13.1 && <0.5
|
|
, microlens-mtl >=0.2.0.3 && <0.3
|
|
, microlens-th >=0.4.3.15 && <0.5
|
|
, mtl >=2.3.1 && <2.4
|
|
, vty ==6.1.*
|
|
default-language: Haskell2010
|
|
|
|
test-suite hamming-test
|
|
type: exitcode-stdio-1.0
|
|
main-is: Spec.hs
|
|
other-modules:
|
|
Hamming.App.ActionsSpec
|
|
Hamming.App.UtilSpec
|
|
Hamming.App.Widgets.InternalSpec
|
|
Hamming.App.WidgetsSpec
|
|
Hamming.AppSpec
|
|
Hamming.Word16Spec
|
|
HammingSpec
|
|
Paths_hamming
|
|
autogen-modules:
|
|
Paths_hamming
|
|
hs-source-dirs:
|
|
test
|
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
base >=4.7 && <5
|
|
, brick >=2.1.1 && <2.2
|
|
, hamming
|
|
, hspec >=2.11.9 && <2.12
|
|
, microlens >=0.4.13.1 && <0.5
|
|
, microlens-mtl >=0.2.0.3 && <0.3
|
|
, microlens-th >=0.4.3.15 && <0.5
|
|
, mtl >=2.3.1 && <2.4
|
|
, vty ==6.1.*
|
|
default-language: Haskell2010
|