revise .cabal
This commit is contained in:
parent
b95e9ac476
commit
394bf76dfc
|
@ -1,40 +1,40 @@
|
||||||
name: cautious-file
|
name: cautious-file
|
||||||
version: 1.0.2
|
version: 1.0.2
|
||||||
x-revision: 2
|
x-revision: 2
|
||||||
Cabal-Version: >= 1.6
|
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
|
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
|
description: On non-Windows systems, posix-specific functions are used to reduce the chance of data loss further
|
||||||
category: System
|
category: System
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
copyright: Copyright (C) Robin Green 2009, 2011
|
copyright: Copyright (C) Robin Green 2009, 2011
|
||||||
author: Robin Green
|
author: Robin Green
|
||||||
maintainer: Robin Green <greenrd@greenrd.org>
|
maintainer: Robin Green <greenrd@greenrd.org>
|
||||||
build-type: Custom
|
build-type: Custom
|
||||||
stability: experimental
|
stability: experimental
|
||||||
bug-reports: mailto:greenrd@greenrd.org
|
bug-reports: mailto:greenrd@greenrd.org
|
||||||
tested-with: GHC == 7.0.2
|
tested-with: GHC == 7.0.2
|
||||||
extra-source-files: Test.hs
|
extra-source-files: Test.hs
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: darcs
|
type: darcs
|
||||||
location: http://patch-tag.com/r/greenrd/cautious-file
|
location: http://patch-tag.com/r/greenrd/cautious-file
|
||||||
|
|
||||||
Flag posix
|
Flag posix
|
||||||
description: Use POSIX-specific features
|
description: Use POSIX-specific features
|
||||||
default: True
|
default: True
|
||||||
|
|
||||||
custom-setup
|
custom-setup
|
||||||
setup-depends: Cabal, base, process
|
setup-depends: Cabal, base, process
|
||||||
|
|
||||||
Library
|
Library
|
||||||
hs-source-dirs: src
|
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
|
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)
|
if flag(posix) && !os(Windows)
|
||||||
cpp-options: -D_POSIX
|
cpp-options: -D_POSIX
|
||||||
build-Depends: unix
|
build-Depends: unix
|
||||||
exposed-modules: System.Posix.ByteLevel, System.Posix.Fsync
|
exposed-modules: System.Posix.ByteLevel, System.Posix.Fsync
|
||||||
exposed-modules: System.IO.Cautious
|
exposed-modules: System.IO.Cautious
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
build-tools: hsc2hs
|
build-tools: hsc2hs
|
||||||
|
|
Loading…
Reference in New Issue