packages feed

nats-1: nats.cabal

name:          nats
category:      Numeric, Algebra
version:       1
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     provisional
homepage:      http://github.com/ekmett/nats/
bug-reports:   http://github.com/ekmett/nats/issues
copyright:     Copyright (C) 2011-2014 Edward A. Kmett
synopsis:      Natural numbers
description:   Natural numbers
build-type:    Simple
extra-source-files:
  .ghci
  .gitignore
  .vim.custom
  .travis.yml
  README.markdown
  CHANGELOG.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/nats.git

flag hashable
  description:
    You can disable the use of the `hashable` package using `-f-hashable`.
    .
    Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
    .
    If disabled we will not supply an instance of `Hashable`
  default: True
  manual: True

library
  default-language: Haskell98
  if impl(ghc<7)
    -- {-# LANGUAGE DeriveDataTypeable #-} is only understood starting w/ GHC-7.0
    default-extensions: DeriveDataTypeable

  if !impl(ghc>=7.9)
    -- Starting with GHC 7.10/base-4.8, "Numeric.Natural" lives in `base`
    hs-source-dirs: src
    exposed-modules: Numeric.Natural
    ghc-options: -Wall
    build-depends: base >= 2 && < 4.8
    if flag(hashable)
      build-depends: hashable >= 1.1 && < 1.3