packages feed

safeio-0.0.5.0: safeio.cabal

-- This file has been generated from package.yaml by hpack version 0.18.1.
--
-- see: https://github.com/sol/hpack

name:           safeio
version:        0.0.5.0
synopsis:       Write output to disk atomically
description:    This package implements utilities to perform atomic output so as to avoid the problem of partial intermediate files.
category:       IO
homepage:       https://github.com/luispedro/safeio#readme
bug-reports:    https://github.com/luispedro/safeio/issues
author:         Luis Pedro Coelho
maintainer:     Luis Pedro Coelho
license:        MIT
license-file:   COPYING
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog
    README.md

source-repository head
  type: git
  location: https://github.com/luispedro/safeio

library
  hs-source-dirs:
      ./
  default-extensions: BangPatterns OverloadedStrings CPP
  ghc-options: -Wall
  build-depends:
      base > 4.8 && < 5
    , bytestring
    , conduit >= 1.0
    , conduit-combinators
    , directory
    , exceptions
    , filepath
    , resourcet
    , unix
  if os(windows)
    cpp-options: -DWINDOWS
  exposed-modules:
      System.IO.SafeWrite
      Data.Conduit.SafeWrite
  default-language: Haskell2010

test-suite safeiotest
  type: exitcode-stdio-1.0
  main-is: System/IO/SafeWrite/Tests.hs
  hs-source-dirs:
      ./
  default-extensions: BangPatterns OverloadedStrings CPP
  ghc-options: -Wall
  build-depends:
      base > 4.8 && < 5
    , bytestring
    , conduit >= 1.0
    , conduit-combinators
    , directory
    , exceptions
    , filepath
    , resourcet
    , unix
    , HUnit
    , test-framework
    , test-framework-hunit
    , test-framework-th
  if os(windows)
    cpp-options: -DWINDOWS
  other-modules:
      Data.Conduit.SafeWrite
      System.IO.SafeWrite
  default-language: Haskell2010