packages feed

streamly-posix-0.1.0.0: streamly-posix.cabal

cabal-version:       >=1.10

name:                streamly-posix
version:             0.1.0.0
synopsis:            Posix related streaming APIs
description:         Posix related streaming APIs (such as file reading/writing)
bug-reports:         https://github.com/hasufell/streamly-posix/issues
license:             BSD3
license-file:        LICENSE
author:              Julian Ospald <hasufell@posteo.de>
maintainer:          Julian Ospald <hasufell@posteo.de>
copyright:           Julian Ospald <hasufell@posteo.de> 2020
category:            Streaming
build-type:          Simple
extra-source-files:  CHANGELOG.md

library
  if os(windows)
    build-depends: unbuildable<0
    buildable: False
  exposed-modules:   Streamly.External.Posix.DirStream
  -- other-modules:
  -- other-extensions:
  build-depends:         base                >= 4.12 && < 5
                       , bytestring          >= 0.10
                       , hpath-posix         >= 0.13
                       , safe-exceptions     >= 0.1
                       , streamly            >= 0.7
                       , streamly-bytestring >= 0.1.0.1
                       , unix                >= 2.7
                       , word8               >= 0.1.3
  hs-source-dirs:      src
  default-language:    Haskell2010
  GHC-Options:         -Wall -O2 -fspec-constr-recursive=16 -fmax-worker-args=16

test-suite sf-test
  if os(windows)
    build-depends: unbuildable<0
    buildable: False
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  build-depends:         base                >= 4.12 && < 5
                       , filepath
                       , hpath-posix         >= 0.13
                       , hspec
                       , hspec-discover
                       , streamly-posix
                       , temporary
                       , unix                >= 2.7
  default-language:    Haskell2010
  GHC-Options:         -Wall -threaded -rtsopts -with-rtsopts=-N

source-repository head
  type:     git
  location: https://github.com/hasufell/streamly-posix