Source

hs-gray-code / gray-code.cabal

Full commit
-- gray-code.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:                gray-code

-- 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.2.2

-- A short (one-line) description of the package.
Synopsis:            Gray code encoder/decoder.

-- A longer description of the package.
Description:
   Gray code is a binary numeral system where two successive numbers
   differ in only one bit.
   .
   This package allows to convert numbers to one of the possible Gray
   codes and back. Two binary representations of a number are supported:
   @[Bool]@ and types of @Bits@ type class.
   @Bits@ is the default implementation.

-- URL for the project homepage or repository.
Homepage:            http://bitbucket.org/astanin/hs-gray-code

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

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

-- The package author(s).
Author:              Sergey Astanin

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

-- A copyright notice.
-- Copyright:

-- Stability of the pakcage (experimental, provisional, stable...)
Stability:           Experimental

Category:            Codec

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files:
     Codec/Binary/Gray_props.hs

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


Library
  -- Modules exported by the library.
  Exposed-modules:
     Codec.Binary.Gray
     , Codec.Binary.Gray.Bits
     , Codec.Binary.Gray.List

  -- Packages needed in order to build this package.
  Build-depends:
     base >= 3 && < 5

  -- Modules not exported by this package.
  -- Other-modules:

  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:

Test-Suite test-qc
    type:       exitcode-stdio-1.0
    main-is:    test.hs
    build-depends: base, QuickCheck >= 2