packages feed

streamly-posix-0.1.0.2: streamly-posix.cabal

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

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

library
  exposed-modules:  Streamly.External.Posix.DirStream
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:
    -Wall -O2 -fspec-constr-recursive=16 -fmax-worker-args=16

  build-depends:
      base                 >=4.8     && <5
    , bytestring           >=0.10    && <0.11
    , hpath-posix          >=0.13    && <0.14
    , safe-exceptions      >=0.1     && <0.2
    , streamly             >=0.7     && <0.9
    , streamly-bytestring  >=0.1.0.1 && <0.2
    , transformers         >=0.5.6.2 && <0.6
    , unix                 >=2.7     && <2.8
    , word8                >=0.1.3   && <0.2

  if os(windows)
    buildable:     False
    build-depends: unbuildable <0

test-suite sf-test
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   test
  default-language: Haskell2010
  ghc-options:      -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base            >=4.8     && <5
    , filepath        >=1.4.2.1 && <1.5
    , hpath-posix     >=0.13    && <0.14
    , hspec           >=2.8.2   && <2.9
    , hspec-discover  >=2.8.2   && <2.9
    , streamly-posix
    , temporary       >=1.3     && <1.4
    , unix            >=2.7     && <2.8

  if os(windows)
    buildable:     False
    build-depends: unbuildable <0