packages feed

ihaskell-0.10.1.2: ihaskell.cabal

-- The name of the package.
name:                ihaskell

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +--+------- breaking API changes
--                   |  | +----- non-breaking API additions
--                   |  | | +--- code changes with no API change
version:             0.10.1.2

-- A short (one-line) description of the package.
synopsis:            A Haskell backend kernel for the IPython project.

-- A longer description of the package.
description:         IHaskell is a Haskell backend kernel for the IPython project. This allows using Haskell via
                     a console or notebook interface. Additional packages may be installed to provide richer data visualizations.

-- URL for the project homepage or repository.
homepage:            http://github.com/gibiansky/IHaskell

-- The license under which the package is released.
license:             MIT

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Andrew Gibiansky

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          andrew.gibiansky@gmail.com

-- A copyright notice.
-- copyright:

category:            Development

build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.16

data-files:
    html/kernel.js
    html/logo-64x64.svg

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

  if impl (ghc >= 8.4)
    ghc-options:       -Wpartial-fields

  build-depends:
                       aeson                >=1.0,
                       base                 >=4.9,
                       base64-bytestring    >=1.0,
                       bytestring           >=0.10,
                       cereal               >=0.3,
                       cmdargs              >=0.10,
                       containers           >=0.5,
                       directory            -any,
                       filepath             -any,
                       ghc                  >=8.0,
                       ghc-parser           >=0.2.1,
                       ghc-paths            >=0.1,
                       haskeline            -any,
                       hlint                >=1.9,
                       haskell-src-exts     >=1.18,
                       http-client          >= 0.4,
                       http-client-tls      >= 0.2,
                       mtl                  >=2.1,
                       parsec               -any,
                       process              >=1.1,
                       random               >=1.0,
                       shelly               >=1.5,
                       split                >= 0.2,
                       stm                  -any,
                       strict               >=0.3,
                       text                 >=0.11,
                       time                 >= 1.6,
                       transformers         -any,
                       unix                 >= 2.6,
                       unordered-containers -any,
                       utf8-string          -any,
                       vector               -any,
                       ipython-kernel       >=0.10.2.0,
                       ghc-boot             >=8.0 && <8.11

  exposed-modules: IHaskell.Display
                   IHaskell.Convert
                   IHaskell.Convert.Args
                   IHaskell.Convert.IpynbToLhs
                   IHaskell.Convert.LhsToIpynb
                   IHaskell.Eval.Completion
                   IHaskell.Eval.Inspect
                   IHaskell.Eval.Evaluate
                   IHaskell.Eval.Info
                   IHaskell.Eval.Lint
                   IHaskell.Eval.Parser
                   IHaskell.Eval.Hoogle
                   IHaskell.Eval.ParseShell
                   IHaskell.Eval.Widgets
                   IHaskell.Eval.Util
                   IHaskell.Publish
                   IHaskell.IPython
                   IHaskell.IPython.Stdin
                   IHaskell.Flags
                   IHaskell.Types
                   IHaskell.BrokenPackages
                   IHaskell.CSS
                   Paths_ihaskell
                   IHaskellPrelude
  other-modules:
                   StringUtils

executable ihaskell
  -- .hs or .lhs file containing the Main module.
  main-is:             Main.hs
  hs-source-dirs: main
  other-modules:
                   Paths_ihaskell
  ghc-options: -threaded -rtsopts -Wall -dynamic

  if os(darwin)
    ghc-options: -optP-Wno-nonportable-include-path

  if impl (ghc >= 8.4)
    ghc-options:       -Wpartial-fields

  -- Other library packages from which modules are imported.
  default-language:    Haskell2010
  build-depends:
                       ihaskell -any,
                       base                 >=4.9 && < 4.15,
                       text                 >=0.11,
                       transformers         -any,
                       ghc                  >=8.0 && < 8.11,
                       process              >=1.1,
                       aeson                >=0.7,
                       bytestring           >=0.10,
                       unordered-containers -any,
                       containers           >=0.5,
                       strict               >=0.3,
                       unix                 >= 2.6,
                       directory            -any,
                       ipython-kernel       >=0.10,
                       unordered-containers -any

Test-Suite hspec
    Type: exitcode-stdio-1.0
    Ghc-Options: -threaded -Wall

    if impl (ghc >= 8.4)
      ghc-options:     -Wpartial-fields

    Main-Is: Hspec.hs
    hs-source-dirs: src/tests
    other-modules:
        IHaskell.Test.Eval
        IHaskell.Test.Completion
        IHaskell.Test.Util
        IHaskell.Test.Parser
        IHaskell.Test.Hoogle
    default-language: Haskell2010
    build-depends:
        base,
        ihaskell,
        here,
        hspec,
        hspec-contrib,
        HUnit,
        ghc,
        ghc-paths,
        transformers,
        directory,
        text,
        shelly,
        raw-strings-qq,
        setenv

source-repository head
  type:     git
  location: git://github.com/gibiansky/IHaskell.git