on master help sign in
Update package dependencies
03ffcf7Antoine Latter
tests/BenchUUID.hs+4
@@ -1,3 +1,5 @@
1+{-# LANGUAGE CPP #-}
2+
1import Control.DeepSeq
3import Control.DeepSeq
2import Criterion.Main
4import Criterion.Main
3import Data.Char (ord)
5import Data.Char (ord)
@@ -14,9 +16,11 @@ import qualified Data.UUID.V5 as U5
14import System.Random
16import System.Random
15import System.Random.Mersenne.Pure64
17import System.Random.Mersenne.Pure64
16
18
19+#if !(MIN_VERSION_bytestring(0,10,0))
17instance NFData BL.ByteString where
20instance NFData BL.ByteString where
18 rnf BL.Empty = ()
21 rnf BL.Empty = ()
19 rnf (BL.Chunk _ ts) = rnf ts
22 rnf (BL.Chunk _ ts) = rnf ts
23+#endif
20
24
21instance NFData U.UUID where
25instance NFData U.UUID where
22
26
uuid.cabal+21−6
@@ -26,8 +26,13 @@ Extra-Source-Files:
26
26
27
27
28Library
28Library
29− Build-Depends: random >= 1.0.1 && < 1.1, binary, bytestring, cryptohash >= 0.7 && < 0.8, maccatcher,
29+ Build-Depends: base >=3 && < 5,
30+ binary >= 0.4 && < 0.7,
31+ bytestring >= 0.9 && < 1.1,
32+ cryptohash >= 0.7 && < 0.8,
33+ maccatcher >= 1.0 && < 2.2,
34+ random >= 1.0.1 && < 1.1,
30− time, base >=3 && < 5
35+ time >= 1.1 && < 1.5
31
36
32 Exposed-Modules:
37 Exposed-Modules:
33 Data.UUID
38 Data.UUID
@@ -55,8 +60,14 @@ Test-Suite benchmark
55 Main-is: BenchUUID.hs
60 Main-is: BenchUUID.hs
56 Hs-source-dirs: tests
61 Hs-source-dirs: tests
57 Extensions: DeriveDataTypeable, CPP
62 Extensions: DeriveDataTypeable, CPP
58− Build-depends: base == 4.*, uuid, random, criterion >= 0.4 && < 0.7, mersenne-random-pure64,
63+ Build-depends: base == 4.*,
64+ uuid,
59− bytestring == 0.9.*, containers == 0.4.*, deepseq >= 1.1 && < 1.4
65+ bytestring >= 0.9 && < 1.1,
66+ containers >= 0.4 && < 0.6,
67+ criterion >= 0.4 && < 0.7,
68+ deepseq >= 1.1 && < 1.4,
69+ mersenne-random-pure64,
70+ random >= 1.0.1 && < 1.1
60
71
61Test-Suite testuuid
72Test-Suite testuuid
62 Type: exitcode-stdio-1.0
73 Type: exitcode-stdio-1.0
@@ -64,5 +75,9 @@ Test-Suite testuuid
64 Hs-source-dirs: tests
75 Hs-source-dirs: tests
65 Extensions: DeriveDataTypeable
76 Extensions: DeriveDataTypeable
66 Ghc-Options: -Wall -fno-warn-orphans
77 Ghc-Options: -Wall -fno-warn-orphans
67− Build-Depends: random, bytestring, base >=3, base < 5, uuid,
78+ Build-Depends: base >= 3 && < 5,
79+ uuid,
80+ bytestring >= 0.9 && < 1.1,
81+ HUnit >=1.2 && < 1.3,
68− HUnit >=1.2 && < 1.3, QuickCheck >=2.4 && < 2.5
82+ QuickCheck >=2.4 && < 2.6,
83+ random >= 1.0.1 && < 1.1