Skip to content

Commit

Permalink
[#561] Use microaeson from hackage instead of the fork (#562)
Browse files Browse the repository at this point in the history
* [#561] Use microaeson from hackage instead of the fork

Resolves #561

* Update brick, fix stack
  • Loading branch information
vrom911 authored Feb 19, 2022
1 parent 0c03dd0 commit 1e1da21
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
5 changes: 0 additions & 5 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@ packages:
summoner-tui/

tests: true

source-repository-package
type: git
location: https://github.com/kowainik/microaeson.git
tag: 0630d4d8c6d912180b35795dc462f8ea75affa99
4 changes: 3 additions & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: nightly-2022-01-10
resolver: nightly-2022-02-18

packages:
- summoner-cli/
Expand All @@ -9,3 +9,5 @@ extra-deps:
- megaparsec-9.0.1
- microaeson-0.1.0.0
- tomland-1.3.3.0
- validation-selective-0.1.0.1
- selective-0.4.2
4 changes: 2 additions & 2 deletions summoner-cli/summoner.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ library
, generic-data >= 0.8.0.0 && < 0.10
, gitrev ^>= 1.3.1
, microaeson ^>= 0.1.0.0
, optparse-applicative ^>= 0.16
, optparse-applicative >= 0.16 && < 0.18
, process ^>= 1.6.1.0
, shellmet ^>= 0.0.3.0
, time >= 1.8 && < 1.14
Expand Down Expand Up @@ -188,7 +188,7 @@ test-suite summoner-test

build-depends: directory
, filepath
, hedgehog >= 0.5.3 && < 1.1
, hedgehog >= 0.5.3 && < 1.2
, hspec >= 2.4.8
, hspec-hedgehog ^>= 0.0.1.1
, tomland
Expand Down
2 changes: 1 addition & 1 deletion summoner-tui/src/Summoner/Tui/Field.hs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ activeCheckboxField stLens isActive name label initialState = FormFieldState
}

-- | Renders checkbox depending on its state.
renderCheckbox :: Bool -> String -> n -> Bool -> Bool -> Widget n
renderCheckbox :: (Ord n) => Bool -> String -> n -> Bool -> Bool -> Widget n
renderCheckbox isEnabled label n foc val =
let addAttr = if foc then withDefAttr focusedFormInputAttr else id
csr = if foc then showCursor n (Location (1,0)) else id
Expand Down
2 changes: 1 addition & 1 deletion summoner-tui/summoner-tui.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ library
autogen-modules: Paths_summoner_tui
other-modules: Paths_summoner_tui

build-depends: brick >= 0.56 && < 0.66
build-depends: brick >= 0.56 && < 0.68
, colourista ^>= 0.1
, directory ^>= 1.3.0.2
, microlens ^>= 0.4
Expand Down

0 comments on commit 1e1da21

Please sign in to comment.