packages feed

scion-browser-0.2.2: scion-browser.cabal

name:           scion-browser
version:        0.2.2
cabal-version:  >= 1.8
build-type:     Simple
license:        BSD3
license-file:   docs/LICENSE
author:         Alejandro Serrano <trupill@gmail.com>
maintainer:     Alejandro Serrano <trupill@gmail.com>
homepage:       http://github.com/serras/scion-class-browser
category:       Development
synopsis:       Command-line interface for browsing and searching packages documentation
description:    Scion Browser aims to be a command-line interface for getting information about installed Haskell packages, that could be later used by development environments. It also provides integration with Hoogle. By now, it has been integrated in EclipseFP.

source-repository head
  type:     git
  location: https://github.com/serras/scion-class-browser

library
  hs-source-dirs:  src
  build-depends:
    attoparsec >= 0.10,
    base == 4.*,
    mtl >= 2,
    derive >= 2.5 && < 3,
    text == 0.11.*,
    parsec >= 3 && < 4,
    Cabal >= 0.10,
    haskell-src-exts >= 1.11 && < 2,
    process >= 1 && < 2,
    tar == 0.3.*,
    zlib == 0.5.*,
    HTTP >= 4000 && < 5000,
    deepseq >= 1.1 && < 2,
    aeson >= 0.4,
    parallel-io >= 0.3,
    utf8-string,
    persistent,
    persistent-sqlite >= 0.6,
    persistent-template,
    transformers,
    unordered-containers >= 0.1.3,
    zlib,
    ghc-paths == 0.1.*
  
  if !os(mingw32)
    build-depends:
      unix           >= 2 && < 3
  
  if impl(ghc >= 7.0)
    build-depends:
      containers     >= 0.2 && < 0.5,
      directory      == 1.1.*,
      filepath       == 1.2.*,
      bytestring,
      -- For Scion.Packages (provisional)
      ghc            >= 7
  else
    build-depends:
      containers      >= 0.2 && < 0.4,
      directory       == 1.0.*,
      filepath        == 1.1.*,
      bytestring,
      -- For Scion.Packages (provisional)
      ghc             >= 6.10 && < 6.13
  
  -- if !os(mingw32)
  --   extra-libraries:   tinfo
  
  exposed-modules:
    Scion.PersistentBrowser,
    Scion.PersistentBrowser.Query,
    Scion.PersistentBrowser.Build,
    Scion.PersistentHoogle
    
  ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -fno-warn-orphans
  other-modules:   
                   Scion.Packages,
                   Scion.PersistentBrowser.DbTypes,
                   Scion.PersistentBrowser.FileUtil,
                   Scion.PersistentBrowser.FromMissingH,
                   Scion.PersistentBrowser.Instances.Json,
                   Scion.PersistentBrowser.Parser,
                   Scion.PersistentBrowser.Parser.Documentable,
                   Scion.PersistentBrowser.Parser.Internal,
                   Scion.PersistentBrowser.TempFile,
                   Scion.PersistentBrowser.ToDb,
                   Scion.PersistentBrowser.Types,
                   Scion.PersistentBrowser.Util,
                   Scion.PersistentHoogle.Instances.Json,
                   Scion.PersistentHoogle.Parser,
                   Scion.PersistentHoogle.Types,
                   Scion.PersistentHoogle.Util

executable scion-browser
  hs-source-dirs:  src
  main-is:         Main.hs
  build-depends:
    haskeline >= 0.6,
    attoparsec >= 0.10,
    base == 4.*,
    mtl >= 2,
    derive >= 2.5 && < 3,
    text == 0.11.*,
    parsec >= 3 && < 4,
    Cabal >= 0.10,
    haskell-src-exts >= 1.11 && < 2,
    process >= 1 && < 2,
    tar == 0.3.*,
    zlib == 0.5.*,
    HTTP >= 4000 && < 5000,
    deepseq >= 1.1 && < 2,
    aeson >= 0.4,
    parallel-io >= 0.3,
    utf8-string,
    persistent,
    persistent-sqlite >= 0.6,
    persistent-template,
    transformers,
    unordered-containers >= 0.1.3,
    zlib,
    ghc-paths == 0.1.*
  
  if !os(mingw32)
    build-depends:
      unix           >= 2 && < 3
  
  if impl(ghc >= 7.0)
    build-depends:
      containers     >= 0.2 && < 0.5,
      directory      == 1.1.*,
      filepath       == 1.2.*,
      bytestring,
      -- For Scion.Packages (provisional)
      ghc            >= 7
  else
    build-depends:
      containers      >= 0.2 && < 0.4,
      directory       == 1.0.*,
      filepath        == 1.1.*,
      bytestring,
      -- For Scion.Packages (provisional)
      ghc             >= 6.10 && < 6.13
  
  -- if !os(mingw32)
  --   extra-libraries:   tinfo
    
  ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -fno-warn-orphans -threaded
  other-modules:   
                   Scion.Packages,
                   Scion.PersistentBrowser,
                   Scion.PersistentBrowser.Build,
                   Scion.PersistentBrowser.DbTypes,
                   Scion.PersistentBrowser.FileUtil,
                   Scion.PersistentBrowser.FromMissingH,
                   Scion.PersistentBrowser.Instances.Json,
                   Scion.PersistentBrowser.Parser,
                   Scion.PersistentBrowser.Parser.Documentable,
                   Scion.PersistentBrowser.Parser.Internal,
                   Scion.PersistentBrowser.Query,
                   Scion.PersistentBrowser.TempFile,
                   Scion.PersistentBrowser.ToDb,
                   Scion.PersistentBrowser.Types,
                   Scion.PersistentBrowser.Util,
                   Scion.PersistentHoogle,
                   Scion.PersistentHoogle.Instances.Json,
                   Scion.PersistentHoogle.Parser,
                   Scion.PersistentHoogle.Types,
                   Scion.PersistentHoogle.Util,
                   Server.PersistentCommands

--test-suite BrowserTests
--  main-is:         Test.hs
--  type:            exitcode-stdio-1.0
--  x-uses-tf:       true
--  ghc-options:     -Wall -rtsopts
--  hs-source-dirs:  src, test
--  other-modules:   Scion.Browser.Parser.Documentable, Scion.Browser.Parser.Internal, Scion.Browser.Parser, Scion.Browser.ParserTests, Scion.PersistentHoogle.Util
--  
--  build-depends:
--    HUnit             >= 1.2 && < 2,
--    QuickCheck        >= 2.4,
--    test-framework    >= 0.4.1,
--    test-framework-quickcheck2,
--    test-framework-hunit,
--    split,
--    haskeline         >= 0.6,
--    -- From library
--    attoparsec        >= 0.10,
--    base              == 4.*,
--    mtl               >= 2,
--    derive            >= 2.5 && < 3,
--    text              == 0.11.*,
--    parsec            >= 3 && < 4,
--    Cabal             >= 0.10, 
--    haskell-src-exts  >= 1.11 && < 2,
--    process           >= 1 && < 2,
--    tar               == 0.3.*,
--    zlib              == 0.5.*,
--    HTTP              >= 4000 && < 5000,
--    deepseq           >= 1.1 && < 2,
--    aeson             >= 0.4,
--    parallel-io       >= 0.3,
--    utf8-string       ,
--    persistent,
--    persistent-sqlite >= 0.6,
--    persistent-template,
--    transformers,
--    unordered-containers >= 0.1.3,
--    zlib,
--    -- For Scion.packages (provisional)
--    ghc-paths         == 0.1.*
--  
--  if !os(mingw32)
--    build-depends:
--      unix            >= 2 && < 3
--  
--  if impl(ghc >= 7.0)
--    build-depends:
--      containers      >= 0.2 && < 0.5,
--      directory       == 1.1.*,
--      filepath        == 1.2.*,
--      bytestring,
--      -- For Scion.Packages (provisional)
--      ghc             >= 7
--  else
--    build-depends:
--      containers      >= 0.2 && < 0.4,
--      directory       == 1.0.*,
--      filepath        == 1.1.*,
--      bytestring,
--      -- For Scion.Packages (provisional)