packages feed

cautious-file-0.1.4: cautious-file.cabal

name:                cautious-file
version:             0.1.4
Cabal-Version:	     >= 1.6
synopsis:            Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures
description:         If the posix flag is enabled, posix-specific functions are used to reduce the chance of data loss further
category:            System
license:             BSD3
license-file:        LICENSE
copyright:	     Copyright (C) Robin Green 2009
author:              Robin Green
maintainer:          Robin Green <greenrd@greenrd.org>
build-type:	     Custom
stability:	     experimental
bug-reports:	     mailto:greenrd@greenrd.org
tested-with:	     GHC == 6.10.3
extra-source-files:      Test.hs

source-repository head
  type:     darcs
  location: http://patch-tag.com/publicrepos/cautious-file

Flag posix
    description: Use POSIX-specific features
    default: True

Library
  hs-source-dirs:       src
  build-Depends:	base >= 4, base < 5, directory, filepath, bytestring
  if flag(posix)
    cpp-options: -D_POSIX
    build-Depends: unix
    exposed-modules:    System.Posix.ByteLevel, System.Posix.Fsync
  exposed-modules:      System.IO.Cautious
  ghc-options:          -Wall