packages feed

unix-bytestring-0.3.7.6: unix-bytestring.cabal

----------------------------------------------------------------
-- wren gayle romano <wren@cpan.org>                ~ 2021.11.02
----------------------------------------------------------------

-- Cabal >=1.10 is required by Hackage.
Cabal-Version:  >= 1.10
Build-Type:     Simple

Name:           unix-bytestring
Version:        0.3.7.6
Stability:      provisional
Homepage:       https://wrengr.org/software/hackage.html
Bug-Reports:    https://github.com/wrengr/unix-bytestring/issues
Author:         wren gayle romano
Maintainer:     wren@cpan.org
Copyright:      Copyright (c) 2010–2021 wren gayle romano
License:        BSD3
License-File:   LICENSE

Category:       System
Synopsis:       Unix/Posix-specific functions for ByteStrings.
Description:    Unix\/Posix-specific functions for ByteStrings.
    .
    Provides @ByteString@ file-descriptor based I\/O API, designed
    loosely after the @String@ file-descriptor based I\/O API in
    "System.Posix.IO". The functions here wrap standard C implementations
    of the functions specified by the ISO\/IEC 9945-1:1990 (``POSIX.1'')
    and X\/Open Portability Guide Issue 4, Version 2 (``XPG4.2'')
    specifications.
    .
    Note that this package doesn't require the @unix@ package as a
    dependency. But you'll need it in order to get your hands on
    an @Fd@, so we're not offering a complete replacement.

Extra-source-files:
    README.md, CHANGELOG

-- This used to work as far back as GHC 6.12.1 but we don't verify that with CI.
-- <https://github.com/wrengr/unix-bytestring/actions?query=workflow%3Aci>
Tested-With:
    GHC ==8.0.2,
    GHC ==8.2.2,
    GHC ==8.4.4,
    GHC ==8.6.5,
    GHC ==8.8.4,
    GHC ==8.10.3,
    GHC ==9.0.1,
    GHC ==9.2.1

Source-Repository head
    Type:     git
    Location: https://github.com/wrengr/unix-bytestring.git

----------------------------------------------------------------
Library
    Default-Language: Haskell2010
    Hs-Source-Dirs:  src
    Exposed-Modules: Foreign.C.Error.Safe
                   , System.Posix.IO.ByteString
                   , System.Posix.IO.ByteString.Lazy
                   , System.Posix.Types.Iovec

    -- We require base>=4.1 for Foreign.C.Error.throwErrnoIfMinus1Retry.
    --
    -- We would require unix>=2.4 for System.Posix.IO.fdReadBuf/fdWriteBuf
    -- (and unix-2.4.0.0 requires base>=4.1 too), except we define
    -- them on our own for better backwards compatibility.
    --
    -- Not sure what the real minbound is on bytestring...
    Build-Depends: base       >= 4.1     && < 4.17
                 , bytestring >= 0.9.1.5 && < 0.12

----------------------------------------------------------------
----------------------------------------------------------- fin.