packages feed

Cabal revisions of adler32-0.1.0.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-name:                adler32-version:             0.1.0.0-synopsis:            An implementation of Adler-32, supporting rolling checksum operation-description:-  This package provides an implementation of the Adler-32 checksum algorithm.-  In supports a rolling checksum mode, i.e. the checksum of a sliding window-  of the input message can be computed efficiently. It also supports-  compounding, i.e. the checksum of the concatenation of two messages can be-  efficiently computed from the checksums of the two parts.-  .-  By default, the highly optimized implementation of Adler-32 from @zlib@-  will be used. This can be disabled in which case a pure haskell-  implementation will be used instead. The haskell version is 2 to 3 times-  slower on my system.-homepage:            https://github.com/redneb/hs-adler32-bug-reports:         https://github.com/redneb/hs-adler32/issues-license:             BSD3-license-file:        LICENSE-author:              Marios Titas <rednebΑΤgmxDΟΤcom>-maintainer:          Marios Titas <rednebΑΤgmxDΟΤcom>-category:            Cryptography, Hash-build-type:          Simple-cabal-version:       >=1.10--source-repository head-  type: git-  location: https://github.com/redneb/hs-adler32.git--flag zlib-  description:         Bind to @zlib@ and use the implementation of Adler-32 from there-  default:             True--library-  exposed-modules:     Data.Digest.Adler32-  -- other-modules:       -  build-depends:         base >=4.6 && <5-                       , bytestring >=0.10.2-  hs-source-dirs:      src-  default-language:    Haskell2010-  ghc-options:         -Wall-  if flag(zlib)-    cpp-options:       -DUSE_ZLIB-    if !os(windows)-      extra-libraries: z-    else-      build-depends:   zlib--test-suite test-  type:                exitcode-stdio-1.0-  hs-source-dirs:      tests-  main-is:             tests.hs-  build-depends:         base-                       , adler32-                       , hspec >=2-                       , bytestring-  default-language:    Haskell2010-  ghc-options:         -Wall+name:                adler32
+version:             0.1.0.0
+x-revision: 1
+synopsis:            An implementation of Adler-32, supporting rolling checksum operation
+description:
+  This package provides an implementation of the Adler-32 checksum algorithm.
+  In supports a rolling checksum mode, i.e. the checksum of a sliding window
+  of the input message can be computed efficiently. It also supports
+  compounding, i.e. the checksum of the concatenation of two messages can be
+  efficiently computed from the checksums of the two parts.
+  .
+  By default, the highly optimized implementation of Adler-32 from @zlib@
+  will be used. This can be disabled in which case a pure haskell
+  implementation will be used instead. The haskell version is 2 to 3 times
+  slower on my system.
+homepage:            https://github.com/redneb/hs-adler32
+bug-reports:         https://github.com/redneb/hs-adler32/issues
+license:             BSD3
+license-file:        LICENSE
+author:              Marios Titas <rednebΑΤgmxDΟΤcom>
+maintainer:          Marios Titas <rednebΑΤgmxDΟΤcom>
+category:            Cryptography, Hash
+build-type:          Simple
+cabal-version:       >=1.10
+
+source-repository head
+  type: git
+  location: https://github.com/redneb/hs-adler32.git
+
+flag zlib
+  description:         Bind to @zlib@ and use the implementation of Adler-32 from there
+  default:             True
+
+library
+  exposed-modules:     Data.Digest.Adler32
+  -- other-modules:       
+  build-depends:         base >=4.6 && <4.11
+                       , bytestring >=0.10.2 && < 0.11
+  hs-source-dirs:      src
+  default-language:    Haskell2010
+  ghc-options:         -Wall
+  if flag(zlib)
+    cpp-options:       -DUSE_ZLIB
+    if !os(windows)
+      extra-libraries: z
+    else
+      build-depends:   zlib
+
+test-suite test
+  type:                exitcode-stdio-1.0
+  hs-source-dirs:      tests
+  main-is:             tests.hs
+  build-depends:         base
+                       , adler32
+                       , hspec >=2
+                       , bytestring
+  default-language:    Haskell2010
+  ghc-options:         -Wall