mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
;ui: cabal: simplify dep list to help packdeps reverse deps
(cf snoyberg/packdeps#51)
This commit is contained in:
parent
5d40b54043
commit
f62797bdb7
@ -4,7 +4,7 @@ cabal-version: 1.12
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: 69306ba4d4fa65c6f9bd30b888fb32ff3bb2c88cd2cac3f58282b108c699d74e
|
||||
-- hash: 4508b3e1554f07f5381ff30cf41a11d1ddd090adf8ce181d3d5aba990fd29813
|
||||
|
||||
name: hledger-ui
|
||||
version: 1.18.99
|
||||
@ -70,6 +70,7 @@ executable hledger-ui
|
||||
, async
|
||||
, base >=4.9 && <4.15
|
||||
, base-compat-batteries >=0.10.1 && <0.12
|
||||
, brick >=0.23
|
||||
, cmdargs >=0.8
|
||||
, containers
|
||||
, data-default
|
||||
@ -90,14 +91,13 @@ executable hledger-ui
|
||||
, text-zipper >=0.4
|
||||
, time >=1.5
|
||||
, transformers
|
||||
, unix
|
||||
, vector
|
||||
, vty >=5.5
|
||||
if os(windows)
|
||||
buildable: False
|
||||
else
|
||||
build-depends:
|
||||
brick >=0.23
|
||||
, unix
|
||||
, vty >=5.5
|
||||
buildable: True
|
||||
if flag(threaded)
|
||||
ghc-options: -threaded
|
||||
default-language: Haskell2010
|
||||
|
@ -66,6 +66,10 @@ dependencies:
|
||||
- time >=1.5
|
||||
- transformers
|
||||
- vector
|
||||
# not installable on windows, cf buildable flag below
|
||||
- brick >=0.23
|
||||
- vty >=5.5
|
||||
- unix
|
||||
|
||||
when:
|
||||
# curses is required to build terminfo for vty for hledger-ui.
|
||||
@ -82,10 +86,7 @@ when:
|
||||
then:
|
||||
buildable: false
|
||||
else:
|
||||
dependencies:
|
||||
- brick >=0.23
|
||||
- unix
|
||||
- vty >=5.5
|
||||
buildable: true
|
||||
|
||||
executables:
|
||||
hledger-ui:
|
||||
|
Loading…
Reference in New Issue
Block a user