2017-09-08 20:26:40 +03:00
|
|
|
# stack build plan using GHC 8.0.2
|
2017-09-08 17:57:07 +03:00
|
|
|
|
2018-03-24 18:49:36 +03:00
|
|
|
resolver: lts-9.21
|
2017-09-08 17:57:07 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
2020-06-07 21:28:49 +03:00
|
|
|
#- hledger-web # disabled for now, can't find an install plan that works
|
2018-03-24 18:49:36 +03:00
|
|
|
|
|
|
|
extra-deps:
|
2020-06-07 21:28:49 +03:00
|
|
|
# Many newer versions to allow using the latest base-compat.
|
2018-06-05 00:54:24 +03:00
|
|
|
# This is just the first workable install plan I found.
|
2020-06-07 21:28:49 +03:00
|
|
|
# Some of these were for hledger-api and can be removed,
|
|
|
|
# some of them are for hledger-web.
|
2018-06-05 00:54:24 +03:00
|
|
|
- aeson-1.3.1.1
|
|
|
|
- aeson-compat-0.3.7.1
|
2020-06-06 23:30:10 +03:00
|
|
|
- aeson-pretty-0.8.8
|
2020-06-07 21:28:49 +03:00
|
|
|
- ansi-terminal-0.10.2
|
|
|
|
- ansi-wl-pprint-0.6.9
|
2018-06-05 00:54:24 +03:00
|
|
|
- attoparsec-0.13.2.2
|
|
|
|
- attoparsec-iso8601-1.0.0.0
|
|
|
|
- base-compat-0.10.1
|
|
|
|
- base-compat-batteries-0.10.1
|
|
|
|
- bifunctors-5.5.2
|
2020-06-07 21:28:49 +03:00
|
|
|
- brick-0.23
|
|
|
|
- cabal-doctest-1.0.8
|
2018-09-30 04:32:08 +03:00
|
|
|
- cassava-megaparsec-2.0.0
|
2020-06-07 21:28:49 +03:00
|
|
|
- conduit-1.3.2
|
|
|
|
- conduit-extra-1.3.0
|
2018-09-30 04:32:08 +03:00
|
|
|
- config-ini-0.2.3.0
|
2018-06-05 00:54:24 +03:00
|
|
|
- criterion-1.4.1.0
|
2020-06-07 21:28:49 +03:00
|
|
|
- Decimal-0.5.1
|
|
|
|
- directory-1.3.2.2 # avoid hanging with windows symlinks https://github.com/simonmichael/hledger/issues/791
|
2019-07-13 10:13:33 +03:00
|
|
|
- extra-1.6.17
|
2020-06-07 21:28:49 +03:00
|
|
|
- fast-logger-2.4.17
|
2019-07-13 01:25:19 +03:00
|
|
|
- fgl-5.5.4.0
|
2020-06-07 21:28:49 +03:00
|
|
|
- fsnotify-0.3.0.1 # newer fsnotify has a different api and may be more robust
|
2018-06-05 00:54:24 +03:00
|
|
|
- generics-sop-0.3.2.0
|
2020-06-07 21:28:49 +03:00
|
|
|
- Glob-0.9.2
|
2018-06-05 00:54:24 +03:00
|
|
|
- hashable-1.2.7.0
|
2020-06-07 21:28:49 +03:00
|
|
|
- hashtables-1.2.3.1 # avoid no hashable instance for AccountName from doctests
|
|
|
|
- http-client-0.5.8
|
2018-06-05 00:54:24 +03:00
|
|
|
- http-media-0.7.1.2
|
|
|
|
- http-types-0.12.1
|
|
|
|
- insert-ordered-containers-0.2.1.0
|
|
|
|
- lens-4.16.1
|
2020-06-07 21:28:49 +03:00
|
|
|
- math-functions-0.3.3.0
|
2018-09-30 04:32:08 +03:00
|
|
|
- megaparsec-7.0.1
|
2018-06-05 00:54:24 +03:00
|
|
|
- microstache-1.0.1.1
|
|
|
|
- mmorph-1.1.2
|
|
|
|
- network-2.6.3.5
|
2020-06-07 21:28:49 +03:00
|
|
|
- optparse-applicative-0.15.1.0
|
2018-09-30 04:32:08 +03:00
|
|
|
- parser-combinators-1.0.0
|
2018-06-05 00:54:24 +03:00
|
|
|
- persistent-template-2.5.4
|
2019-07-13 01:25:45 +03:00
|
|
|
- process-1.4.3.0
|
2018-06-05 00:54:24 +03:00
|
|
|
- scientific-0.3.6.2
|
|
|
|
- servant-0.13.0.1
|
|
|
|
- servant-server-0.13.0.1
|
|
|
|
- servant-swagger-1.1.5
|
|
|
|
- singleton-bool-0.1.4
|
|
|
|
- statistics-0.14.0.2
|
2020-06-07 21:28:49 +03:00
|
|
|
- streaming-commons-0.2.1.2
|
2018-06-05 00:54:24 +03:00
|
|
|
- swagger2-2.2.2
|
2019-11-29 02:07:09 +03:00
|
|
|
- tasty-1.2.3
|
|
|
|
- tasty-hunit-0.10.0.2
|
2020-06-07 21:28:49 +03:00
|
|
|
- text-1.2.3.0
|
|
|
|
- typed-process-0.2.6.0
|
|
|
|
- unix-time-0.4.7
|
|
|
|
- unordered-containers-0.2.9.0
|
|
|
|
- wai-extra-3.0.22.1
|
|
|
|
- wai-handler-launch-3.0.3.1
|
|
|
|
- wai-logger-2.3.5
|
|
|
|
- warp-3.2.15
|
2019-11-29 02:07:09 +03:00
|
|
|
- wcwidth-0.0.2
|
2020-06-07 21:28:49 +03:00
|
|
|
- word-wrap-0.4.1
|
|
|
|
- mono-traversable-1.0.12.0
|
|
|
|
- resourcet-1.2.4
|
|
|
|
- http-conduit-1.3.0
|
|
|
|
- monad-logger-0.3.28
|
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
|