5a063def51
The main change is that nixpkgs updated to GHC 9.2 and Stackage LTS-20, so we suffer from a bit of churn. * //3p/overlays/haskell: - use updated dhall-nix patch for hnix 0.16 - use superrecord fork with fixes for GHC 9.2 - use graphmod-1.4.5.1 which has support for GHC 9.2 * //users/Profpatsch: relax constraints on base in Haskell pkgs * //users/Profpatsch/cas-serve: inherit superrecord from 3p * //users/grfn/xanthous: - //3p/overlays/haskell for 8.10.7: * Provide missing dependency of binary-orphans. Fix already commited upstream as e238c3fdaab710a2ce0135e5a77cd7e6bb023a22, can be dropped when channel advances. * Downgrade to brick 0.71.1, the latest version xanthous supports. - Adjust to generic-arbitrary >= 1.0, providing Arg constraints where necessary. - Increase constraint-solver-iterations to 6 (default 4), so Xanthous.Command and Xanthous.Data can be typechecked. - Drop NFData instances for Key and Modifier which have been added to vty upstream. Change-Id: I2170438c2ce8130b65f1a9fe07c4fecab5683d66 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7654 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
157 lines
2.4 KiB
YAML
157 lines
2.4 KiB
YAML
name: xanthous
|
|
version: 0.1.0.0
|
|
github: "glittershark/xanthous"
|
|
license: GPL-3
|
|
author: "Griffin Smith"
|
|
maintainer: "root@gws.fyi"
|
|
copyright: "2019 Griffin Smith"
|
|
|
|
extra-source-files:
|
|
- README.org
|
|
|
|
synopsis: A WIP TUI RPG
|
|
category: Game
|
|
|
|
description: Please see the README on GitHub at <https://github.com/glittershark/xanthous>
|
|
|
|
dependencies:
|
|
- base
|
|
|
|
- aeson
|
|
- array
|
|
- async
|
|
- QuickCheck
|
|
- quickcheck-text
|
|
- quickcheck-instances
|
|
- brick
|
|
- bifunctors
|
|
- checkers
|
|
- classy-prelude
|
|
- comonad
|
|
- comonad-extras
|
|
- constraints
|
|
- containers
|
|
- criterion
|
|
- data-default
|
|
- data-interval
|
|
- deepseq
|
|
- directory
|
|
- fgl
|
|
- fgl-arbitrary
|
|
- file-embed
|
|
- filepath
|
|
- generic-arbitrary
|
|
- generic-lens
|
|
- groups
|
|
- hgeometry
|
|
- hgeometry-combinatorial
|
|
- JuicyPixels
|
|
- lens
|
|
- lifted-async
|
|
- linear
|
|
- megaparsec
|
|
- mmorph
|
|
- monad-control
|
|
- MonadRandom
|
|
- mtl
|
|
- optparse-applicative
|
|
- parallel
|
|
- parser-combinators
|
|
- pointed
|
|
- random
|
|
- random-fu
|
|
- random-extras
|
|
- random-source
|
|
- raw-strings-qq
|
|
- reflection
|
|
- Rasterific
|
|
- splitmix
|
|
- streams
|
|
- stache
|
|
- semigroups
|
|
- semigroupoids
|
|
- tomland
|
|
- transformers
|
|
- text
|
|
- text-zipper
|
|
- vector
|
|
- vty
|
|
- witherable
|
|
- yaml
|
|
- zlib
|
|
|
|
default-extensions:
|
|
- BlockArguments
|
|
- ConstraintKinds
|
|
- DataKinds
|
|
- DeriveAnyClass
|
|
- DeriveGeneric
|
|
- DerivingStrategies
|
|
- DerivingVia
|
|
- FlexibleContexts
|
|
- FlexibleInstances
|
|
- FunctionalDependencies
|
|
- GADTSyntax
|
|
- GeneralizedNewtypeDeriving
|
|
- KindSignatures
|
|
- StandaloneKindSignatures
|
|
- LambdaCase
|
|
- MultiWayIf
|
|
- NoImplicitPrelude
|
|
- NoStarIsType
|
|
- OverloadedStrings
|
|
- PolyKinds
|
|
- RankNTypes
|
|
- ScopedTypeVariables
|
|
- TupleSections
|
|
- TypeApplications
|
|
- TypeFamilies
|
|
- TypeOperators
|
|
- ViewPatterns
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -fconstraint-solver-iterations=6 # Xanthous.Data, Xanthous.Command
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executable:
|
|
source-dirs: app
|
|
main: Main.hs
|
|
dependencies:
|
|
- xanthous
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -O2
|
|
|
|
tests:
|
|
test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -O0
|
|
dependencies:
|
|
- xanthous
|
|
- tasty
|
|
- tasty-hunit
|
|
- tasty-quickcheck
|
|
- tasty-rerun
|
|
- lens-properties
|
|
|
|
benchmarks:
|
|
benchmark:
|
|
main: Bench.hs
|
|
source-dirs: bench
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- xanthous
|
|
- criterion
|