packages feed

storable-tuple-0.0.3: storable-tuple.cabal

Name:         storable-tuple
Version:      0.0.3
Category:     Data, Foreign
Synopsis:     Storable instance for pairs and triples
Description:
  Provides a Storable instance for pair and triple
  which should be binary compatible with C99 and C++.

  The only purpose of this package is to provide a standard location
  for this instance so that other packages needing this instance
  can play nicely together. 
License:             BSD3
License-file:        LICENSE
Author:              Henning Thielemann <storable@henning-thielemann.de>
Maintainer:          Henning Thielemann <storable@henning-thielemann.de>
Homepage:            http://code.haskell.org/~thielema/storable-tuple/
Stability:           Experimental
Build-Type:          Simple
Tested-With:         GHC==6.8.2
Cabal-Version:       >=1.6
Extra-Source-Files:
  unit/instance/Foreign/Storable/Unit.hs
  unit/no-instance/Foreign/Storable/Unit.hs

Source-Repository head
  Type:     darcs
  Location: http://code.haskell.org/~thielema/storable-tuple/

Source-Repository this
  Type:     darcs
  Location: http://code.haskell.org/~thielema/storable-tuple/
  Tag:      0.0.3

Flag splitBase
  Description: Choose the new smaller, split-up base package.

Flag instanceUnit
  Description: Custom instance Storable ()

Library
  Build-Depends:
    storable-record >=0.0.1 && <0.1,
    utility-ht >=0.0.1 && <0.1
  If flag(splitBase)
    If flag(instanceUnit)
      Build-Depends: base >=3 && <4.9
      Hs-Source-Dirs: unit/instance
    Else
      Build-Depends: base >=4.9 && <5
      Hs-Source-Dirs: unit/no-instance
  Else
    Build-Depends:
      special-functors >= 1.0 && <1.1,
      base >= 1.0 && < 2

  GHC-Options:         -Wall -fno-warn-orphans
  Hs-Source-Dirs:      src

  Exposed-Modules:
    Foreign.Storable.Tuple
  Other-Modules:
    Foreign.Storable.Unit