2018-03-24 18:49:36 +03:00
|
|
|
# stack build plan using GHC 8.2.2
|
2016-10-22 03:58:17 +03:00
|
|
|
|
2020-03-02 02:01:09 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2019-07-13 01:26:16 +03:00
|
|
|
resolver: lts-11.22
|
2017-12-09 15:23:03 +03:00
|
|
|
|
2016-10-22 03:58:17 +03:00
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
|
|
|
- hledger-web
|
2018-02-16 03:30:50 +03:00
|
|
|
|
2019-09-12 00:49:22 +03:00
|
|
|
# TODO: some of these were for hledger-api and can be removed
|
2018-02-16 03:30:50 +03:00
|
|
|
extra-deps:
|
2018-06-05 00:54:24 +03:00
|
|
|
# use the latest base-compat with all ghc versions
|
|
|
|
- aeson-1.3.1.1
|
2020-07-14 22:08:36 +03:00
|
|
|
- ansi-terminal-0.10.3
|
2018-06-05 00:54:24 +03:00
|
|
|
- base-compat-0.10.1
|
|
|
|
- base-compat-batteries-0.10.1
|
2018-09-30 04:32:08 +03:00
|
|
|
- cassava-megaparsec-2.0.0
|
|
|
|
- config-ini-0.2.3.0
|
2018-06-05 00:54:24 +03:00
|
|
|
- criterion-1.4.1.0
|
2020-03-31 01:28:11 +03:00
|
|
|
- doctest-0.16.3
|
2018-09-30 04:32:08 +03:00
|
|
|
- megaparsec-7.0.1
|
|
|
|
- parser-combinators-1.0.0
|
2019-07-13 10:12:44 +03:00
|
|
|
- process-1.6.5.1
|
2018-06-05 00:54:24 +03:00
|
|
|
- swagger2-2.2.2
|
2018-06-05 03:02:57 +03:00
|
|
|
# avoid no hashable instance for AccountName from doctests
|
|
|
|
- hashtables-1.2.3.1
|
2018-06-05 00:54:24 +03:00
|
|
|
# avoid https://github.com/simonmichael/hledger/issues/791
|
2018-05-30 20:33:25 +03:00
|
|
|
- directory-1.3.2.2
|
2018-06-05 16:41:13 +03:00
|
|
|
# hledger-ui
|
|
|
|
# newer fsnotify has a different api and may be more robust
|
|
|
|
- fsnotify-0.3.0.1
|
2019-11-29 02:07:09 +03:00
|
|
|
- tasty-1.2.3
|
|
|
|
- tasty-hunit-0.10.0.2
|
|
|
|
- wcwidth-0.0.2
|
|
|
|
- ansi-wl-pprint-0.6.9
|
2020-03-02 02:01:09 +03:00
|
|
|
- wai-handler-launch-3.0.3.1
|
|
|
|
- streaming-commons-0.2.1.2
|
|
|
|
- network-2.7.0.0
|
2020-03-19 20:10:55 +03:00
|
|
|
- math-functions-0.3.3.0
|
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 18:08:29 +03:00
|
|
|
- pretty-simple-4.0.0.0
|
|
|
|
- prettyprinter-1.7.0
|
2020-11-11 23:52:44 +03:00
|
|
|
- prettyprinter-ansi-terminal-1.1.2
|