41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
name: cautious-file
|
|
version: 1.0.2
|
|
x-revision: 2
|
|
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: On non-Windows systems, 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, 2011
|
|
author: Robin Green
|
|
maintainer: Robin Green <greenrd@greenrd.org>
|
|
build-type: Custom
|
|
stability: experimental
|
|
bug-reports: mailto:greenrd@greenrd.org
|
|
tested-with: GHC == 7.0.2
|
|
extra-source-files: Test.hs
|
|
|
|
source-repository head
|
|
type: darcs
|
|
location: http://patch-tag.com/r/greenrd/cautious-file
|
|
|
|
Flag posix
|
|
description: Use POSIX-specific features
|
|
default: True
|
|
|
|
custom-setup
|
|
setup-depends: Cabal, base, process
|
|
|
|
Library
|
|
hs-source-dirs: src
|
|
build-Depends: base >= 4, base < 5, directory >= 1.1, directory < 1.4, filepath >= 1.2, filepath < 1.5, bytestring >= 0.9, bytestring < 0.11
|
|
if flag(posix) && !os(Windows)
|
|
cpp-options: -D_POSIX
|
|
build-Depends: unix
|
|
exposed-modules: System.Posix.ByteLevel, System.Posix.Fsync
|
|
exposed-modules: System.IO.Cautious
|
|
ghc-options: -Wall
|
|
|
|
build-tools: hsc2hs
|