packages feed

box-socket-0.1.2: box-socket.cabal

cabal-version: 2.4
name:          box-socket
version:       0.1.2
synopsis: Box websockets
description: Websockets built with the box library.
category: project
author: Tony Day
maintainer: tonyday567@gmail.com
copyright: Tony Day (c) AfterTimes
license: BSD-3-Clause
homepage: https://github.com/tonyday567/box-socket#readme
bug-reports: https://github.com/tonyday567/box-socket/issues
build-type: Simple
source-repository head
  type: git
  location: https://github.com/tonyday567/box-socket

library
  exposed-modules:
    Box.Socket
    Box.TCP
  hs-source-dirs:
    src
  build-depends:
    base >= 4.12 && <5,
    box >= 0.6 && < 0.7,
    bytestring >= 0.10 && < 0.11,
    concurrency >= 1.11 && < 1.12,
    exceptions >= 0.10 && < 0.11,
    generic-lens >= 1.1.0 && < 3.0,
    lens >= 4.17.1 && < 4.20,
    network >= 3.1 && < 3.2,
    network-simple >= 0.4 && < 0.5,
    numhask >= 0.7 && < 0.8,
    websockets >= 0.12 && < 0.13,
  default-language: Haskell2010
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints

executable box-socket
  main-is: box-socket.hs
  hs-source-dirs: app
  build-depends:
    base >= 4.7 && < 5,
    box >= 0.6 && < 0.7,
    box-socket,
    concurrency >= 1.11 && < 1.12,
    generic-lens >= 2.0 && < 3,
    lens >= 4.19 && < 4.20,
    numhask >= 0.7 && < 0.8,
    optparse-generic >= 1.3 && < 1.4,
  default-language: Haskell2010
  ghc-options:
    -funbox-strict-fields
    -fforce-recomp
    -threaded
    -rtsopts
    -with-rtsopts=-N

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs:
    test
  build-depends:
    base >=4.7 && <5,
    box-socket,
    doctest >= 0.16 && < 0.18,
    numhask >= 0.7 && < 0.8,
  default-language: Haskell2010
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints