packages feed

prefix-units-0.1.0: prefix-units.cabal

-- prefix-units.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:                prefix-units

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

-- A short (one-line) description of the package.
Synopsis:            A basic library for SI/binary prefix units

-- A longer description of the package.
Description:
  This library deals with parsing values containing \"prefix units\"
  (both binary and SI). For example, it can parse 10M and 1G, and it
  can also format values for displaying with the \"optimal\" unit.

  For more details, see the man page units(7),
  <http://physics.nist.gov/cuu/Units/prefixes.html> and
  <http://physics.nist.gov/cuu/Units/binary.html>.

-- URL for the project homepage or repository.
Homepage:            http://code.google.com/p/prefix-units/

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

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

-- The package author(s).
Author:              Iustin Pop <iustin@google.com>

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          Iustin Pop <iustin@google.com>

-- A copyright notice.
Copyright:           (c) 2012 Google Inc.

Category:            Data

-- Stability field.
Stability:           alpha

Bug-reports:         https://code.google.com/p/prefix-units/issues/

Build-type:          Simple

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

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

Tested-with:         GHC==6.12.1, GHC==7.4.1

Source-repository head
  Type:             git
  Location:         https://code.google.com/p/prefix-units/

Source-repository this
  Type:             git
  Location:         https://code.google.com/p/prefix-units/
  Tag:              prefix-units-v0.1.0

Library
  -- Modules exported by the library.
  Exposed-modules: Data.Prefix.Units

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

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

  GHC-Options:    -Wall

  Extensions:     Safe TypeSynonymInstances FlexibleInstances

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

Test-Suite test-units
  type:              exitcode-stdio-1.0
  hs-source-dirs:    tests
  main-is:           Properties.hs
  build-depends:     base  >= 3 && < 5
                   , Cabal >= 1.9.2
                   , test-framework >= 0.6 && < 0.7
                   , test-framework-quickcheck2 >= 0.2.12 && < 0.3
                   , QuickCheck >= 2.4.2 && < 2.5
                   , prefix-units
  ghc-options:       -Wall -fno-warn-orphans