packages feed

jupyter-0.9.0: jupyter.cabal

name:                jupyter
version:             0.9.0
synopsis:            A library for creating and using Jupyter kernels.

description:         An implementation of the Jupyter messaging protocol, used to implement Jupyter kernels in Haskell or communicate with existing Jupyter kernels via the messaging protocol.
homepage:            http://github.com/gibiansky/haskell-jupyter
license:             MIT
license-file:        LICENSE
author:              Andrew Gibiansky
maintainer:          andrew.gibiansky@gmail.com
category:            Development
build-type:          Simple
cabal-version:       >=1.16

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


library
  exposed-modules:     Jupyter.Kernel
                       Jupyter.Client
                       Jupyter.ZeroMQ
                       Jupyter.Messages
                       Jupyter.Messages.Internal
                       Jupyter.UUID
                       Jupyter.Install
                       Jupyter.Install.Internal
  hs-source-dirs:      src
  default-language:    Haskell2010
  build-depends:       base            >=4.6 && <5,
                       aeson           >=0.6,
                       bytestring      >=0.10,
                       cereal          >=0.3,
                       containers      >=0.5,
                       directory       >=1.1,
                       temporary       >=1.2,
                       filepath        >=1.2,
                       process         >=1.1,
                       mtl             >=2.1,
                       text            >=0.11,
                       transformers    >=0.3,
                       unordered-containers >= 0.2.5,
                       uuid            >=1.3,
                       zeromq4-haskell >=0.1,
                       SHA             >=1.6,
                       monad-control   >=1.0,
                       async           >= 2.0,
                       exceptions      >= 0.8

test-suite test-jupyter
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: Test.hs

  other-modules:    Jupyter.Test.Install
                    Jupyter.Test.Kernel
                    Jupyter.Test.ZeroMQ
                    Jupyter.Test.Client
                    Jupyter.Test.MessageExchange
                    Jupyter.Test.Utils

  build-depends: base >= 4 && < 5,
                 tasty >= 0.7,
                 tasty-hunit >= 0.9,
                 extra >= 1.1,
                 directory >= 1.2,
                 silently >= 1.2,
                 aeson >= 0.6,
                 bytestring >= 0.10,
                 text >= 0.11,
                 zeromq4-haskell >= 0.6,
                 transformers >= 0.3,
                 containers      >=0.5,
                 process >= 1.2,
                 exceptions      >= 0.8,
                 async >= 2.0,
                 unordered-containers >= 0.2,
                 jupyter

executable kernel-basic
    default-language:   Haskell2010
    hs-source-dirs:     examples/basic
    main-is:            Main.hs
    build-depends:      base >= 4.6, 
                        text >= 1.2,
                        jupyter

executable kernel-calculator
    default-language:   Haskell2010
    hs-source-dirs:     examples/calculator
    main-is:            Main.hs
    other-modules:      Calculator.Handler
    build-depends:      base >= 4.6, 
                        text >= 1.2,
                        jupyter

executable kernel-stdin
    default-language:   Haskell2010
    hs-source-dirs:     examples/stdin
    main-is:            Main.hs
    build-depends:      base >= 4.6, 
                        text >= 1.2,
                        jupyter

executable client-kernel-info
    default-language:   Haskell2010
    hs-source-dirs:     examples/client-kernel-info
    main-is:            Main.hs
    build-depends:      base >= 4.6, 
                        process >= 1.2,
                        transformers >= 0.3,
                        jupyter