packages feed

simple-c-value-0.0.0.1: simple-c-value.cabal

-- simple-c-value.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                simple-c-value

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.0.0.1

-- A short (one-line) description of the package.
Synopsis:            A simple C value type

-- A longer description of the package.
Description: This library provides a very simple C like AST and conversion type classes. The classes use GHC.Generics and default signatures so you can painless convert to and from Haskell types. 

    This is not a library for parsing C. There are plenty of great ones on Hackage though. This is meant to make the process of converting from a non-recursive Haskell value to a C value easier for data serialization tasks. 


-- URL for the project homepage or repository.
Homepage:            https://github.com/jfischoff/simple-c-value

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Jonathan Fischoff

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          jonathangfischoff@gmail.com

-- A copyright notice.
-- Copyright:           

Category:            Language

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:  

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.8


Library
  Hs-Source-Dirs: src

  -- Modules exported by the library.
  Exposed-modules:     Language.C.Simple.CValue
  
  -- Packages needed in order to build this package.
  Build-depends: base >= 4.0 && <= 6.0,
                 tuple >= 0.2.0.1,
                 DebugTraceHelpers >= 0.12,
                 dlist >= 0.5,
                 ghc-prim
  
  -- Modules not exported by this package.
  -- Other-modules:       
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:   

Test-Suite tests
  Hs-Source-Dirs: src, tests
  type:       exitcode-stdio-1.0
  main-is:    Main.hs
  build-depends: base >= 4.0 && <= 6.0,
               template-haskell >= 2.6.0.0,
               DebugTraceHelpers >= 0.12,
               QuickCheck >= 2.4.1.1,
               HUnit >= 1.2.4.2,
               test-framework-quickcheck2 >= 0.2.10,
               test-framework-hunit >= 0.2.7,
               test-framework >= 0.4.1.1,
               uniplate >= 1.6.5,
               checkers >= 0.2.8,
               mtl >= 2.0.1.0,
               tuple >= 0.2.0.1,
               derive >= 2.5.4,
               ghc-prim,
               dlist >= 0.5