packages feed

safeio-0.0.6.0: safeio.cabal

cabal-version: 1.12

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

name:           safeio
version:        0.0.6.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
extra-source-files:
    README.md
    ChangeLog

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

library
  exposed-modules:
      System.IO.SafeWrite
      Data.Conduit.SafeWrite
  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
  default-language: Haskell2010
  if os(windows)
    cpp-options: -DWINDOWS

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