hledger/stack8.2.yaml
Simon Michael a97daaf322 lib: replace pretty-show with pretty-simple
pretty-simple, already used in .ghci, will hopefully give nicer debug
output, including for values which don't have Read-able Show output.
This should mean that we can start removing custom string-like Show
instances that were a workaround for pretty-show.

We are using the latest version (4.0.0.0) to get compact output.
Here's some old pretty-show output:

 CsvRules
   { rdirectives = [ ( "skip" , "1" ) ]
   , rcsvfieldindexes = [ ( "date" , 1 ) , ( "amount" , 2 ) ]
   , rassignments = [ ( "amount" , "%2" ) , ( "date" , "%1" ) ]
   , rconditionalblocks = []
   }

And the new pretty-simple output:

 CsvRules
   { rdirectives=
     [ ( "skip", "1" ) ]
   , rcsvfieldindexes=
     [ ( "date", 1 ), ( "amount", 2 ) ]
   , rassignments=
     [ ( "amount", "%2" ), ( "date", "%1" ) ]
   , rconditionalblocks= []
   }

Non-compact pretty-simple output would be:

 CsvRules
     { rdirectives=
         [
             ( "skip"
             , "1B"
             )
         ]
     , rcsvfieldindexes=
         [
             ( "date"
             , 1
             )
         ,
             ( "amount"
             , 2
             )
         ]
     , rassignments=
         [
             ( "amount"
             , "%2"
             )
         ,
             ( "date"
             , "%1"
             )
         ]
     , rconditionalblocks=[]
     }

Also:

- Account's Show instance no longer converts : to _ in account names

- drop unused pretty-show dependency from hledger, hledger-ui packages

- regenerate hledger-lib with the older hpack that's shipped in stack
2020-11-10 08:06:11 -08:00

47 lines
1.0 KiB
YAML

# stack build plan using GHC 8.2.2
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: lts-11.22
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
# TODO: some of these were for hledger-api and can be removed
extra-deps:
# use the latest base-compat with all ghc versions
- aeson-1.3.1.1
- ansi-terminal-0.10.3
- base-compat-0.10.1
- base-compat-batteries-0.10.1
- cassava-megaparsec-2.0.0
- config-ini-0.2.3.0
- criterion-1.4.1.0
- doctest-0.16.3
- megaparsec-7.0.1
- parser-combinators-1.0.0
- process-1.6.5.1
- swagger2-2.2.2
# avoid no hashable instance for AccountName from doctests
- hashtables-1.2.3.1
# avoid https://github.com/simonmichael/hledger/issues/791
- directory-1.3.2.2
# hledger-ui
# newer fsnotify has a different api and may be more robust
- fsnotify-0.3.0.1
- tasty-1.2.3
- tasty-hunit-0.10.0.2
- wcwidth-0.0.2
- ansi-wl-pprint-0.6.9
- wai-handler-launch-3.0.3.1
- streaming-commons-0.2.1.2
- network-2.7.0.0
- math-functions-0.3.3.0
- pretty-simple-4.0.0.0
- prettyprinter-1.7.0