chart: build with latest libs

This commit is contained in:
Simon Michael 2011-06-06 19:03:50 +00:00
parent 848a081d29
commit 35cb814554
2 changed files with 9 additions and 4 deletions

View File

@ -7,21 +7,26 @@ Released under GPL version 3 or later.
module Hledger.Chart.Main module Hledger.Chart.Main
where where
import Graphics.Rendering.Chart import Control.Monad
import Data.Colour import Data.Colour
import Data.Colour.Names import Data.Colour.Names
import Data.Colour.RGBSpace import Data.Colour.RGBSpace
import Data.Colour.RGBSpace.HSL (hsl) import Data.Colour.RGBSpace.HSL (hsl)
import Data.Colour.SRGB.Linear (rgb) import Data.Colour.SRGB.Linear (rgb)
import Data.List import Data.List
import Data.Maybe
import Data.Ord
import Data.Tree
import Graphics.Rendering.Chart
import Safe (readDef) import Safe (readDef)
import System.Console.GetOpt import System.Console.GetOpt
import System.Exit (exitFailure) import System.Exit (exitFailure)
import Hledger.Cli.Options import Hledger.Cli.Options
import Hledger.Cli.Utils (withJournalDo) import Hledger.Cli.Utils (withJournalDo)
import Hledger.Cli.Version (progversionstr, binaryfilename) import Hledger.Cli.Version
import Hledger.Data import Hledger.Data
import Hledger.Utils
import Prelude hiding (putStr, putStrLn) import Prelude hiding (putStr, putStrLn)
import Hledger.Utils.UTF8 (putStr, putStrLn) import Hledger.Utils.UTF8 (putStr, putStrLn)

View File

@ -35,7 +35,7 @@ executable hledger-chart
,hledger-lib == 0.15 ,hledger-lib == 0.15
-- ,HUnit -- ,HUnit
,base >= 3 && < 5 ,base >= 3 && < 5
-- ,containers ,containers
-- ,csv -- ,csv
-- ,directory -- ,directory
-- ,filepath -- ,filepath
@ -47,7 +47,7 @@ executable hledger-chart
-- ,regexpr >= 0.5.1 -- ,regexpr >= 0.5.1
,safe >= 0.2 ,safe >= 0.2
-- ,split == 0.1.* -- ,split == 0.1.*
-- ,time ,time
-- ,utf8-string >= 0.3.5 && < 0.4 -- ,utf8-string >= 0.3.5 && < 0.4
,Chart >= 0.11 && < 0.15 ,Chart >= 0.11 && < 0.15
,colour ,colour