File uuid.cabal of Package ghc-uuid

cabal-version:      1.12
name:               uuid
version:            1.3.16
x-revision:         1
copyright:          (c) 2008-2014 Antoine Latter
author:             Antoine Latter
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
license:            BSD3
license-file:       LICENSE
category:           Data
build-type:         Simple
tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.6
   || ==9.8.2
   || ==9.10.1

synopsis:
  For creating, comparing, parsing and printing Universally Unique Identifiers

description:
  This library is useful for creating, comparing, parsing and
  printing Universally Unique Identifiers.
  .
  See <http://en.wikipedia.org/wiki/UUID> for the general idea.

homepage:           https://github.com/haskell-hvr/uuid
bug-reports:        https://github.com/haskell-hvr/uuid/issues
extra-source-files: CHANGES.md

source-repository head
  type:     git
  location: https://github.com/haskell-hvr/uuid.git
  subdir:   uuid

library
  build-depends:
      base             >=4.12     && <5
    , binary           >=0.8.6.0  && <0.9
    , bytestring       >=0.10.8.2 && <0.13
    , cryptohash-md5   >=0.11.100 && <0.12
    , cryptohash-sha1  >=0.11.100 && <0.12
    , entropy          >=0.3.7    && <0.5
    , network-info     >=0.2      && <0.3
    , random           >=1.2.1.2  && <1.3
    , text             >=1.2.3.0  && <1.3  || >=2.0 && <2.2
    , time             >=1.4      && <1.13

  -- strict dependency on uuid-types,
  -- as we re-rexport datatype, thus leak instances etc.
  build-depends:      uuid-types >=1.0.6 && <1.0.7
  exposed-modules:
    Data.UUID
    Data.UUID.Util
    Data.UUID.V1
    Data.UUID.V3
    Data.UUID.V4
    Data.UUID.V5

  other-modules:
    Data.UUID.Named
    Data.Word.Util

  default-language:   Haskell2010
  default-extensions: DeriveDataTypeable
  other-extensions:   TypeFamilies
  ghc-options:        -Wall
  hs-source-dirs:     src

test-suite testuuid
  type:               exitcode-stdio-1.0
  main-is:            TestUUID.hs
  hs-source-dirs:     tests
  default-language:   Haskell2010
  default-extensions: DeriveDataTypeable
  other-extensions:   ViewPatterns
  ghc-options:        -Wall -fno-warn-orphans

  -- inherited constraints
  build-depends:
      base
    , bytestring
    , random
    , uuid

  -- deps w/o inherited constraints
  build-depends:
      QuickCheck        >=2.14.2  && <2.16
    , tasty             >=1.4.0.1 && <1.6
    , tasty-hunit       >=0.10    && <0.11
    , tasty-quickcheck  >=0.10    && <0.12
openSUSE Build Service is sponsored by