From 4756424235c5222a832e1967d54c5ddb369f6fbf Mon Sep 17 00:00:00 2001 From: Sam T Date: Thu, 26 Sep 2013 20:58:11 +0400 Subject: Initial commit --- base32-bytestring.cabal | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 base32-bytestring.cabal (limited to 'base32-bytestring.cabal') diff --git a/base32-bytestring.cabal b/base32-bytestring.cabal new file mode 100644 index 0000000..ccba67e --- /dev/null +++ b/base32-bytestring.cabal @@ -0,0 +1,61 @@ +name: base32-bytestring +version: 0.0.0.0 +license: BSD3 +license-file: LICENSE +author: Sam Truzjan +maintainer: Sam Truzjan +copyright: (c) 2013 Sam Truzjan +category: Codec, Data +build-type: Simple +cabal-version: >= 1.10 +synopsis: Fast base32 encoding and decoding for ByteStrings +description: + Base32 encoding according to RFC4648 + + This package have API similar to base64-bytestring. + +source-repository head + type: git + location: git://github.com/cobit/base32.git + branch: master + +source-repository this + type: git + location: git://github.com/cobit/base32.git + branch: master + tag: v0.0.0.0 + +library + default-language: Haskell2010 + default-extensions: + hs-source-dirs: src + exposed-modules: Data.ByteString.Base32 + build-depends: base == 4.6.* + , bytestring == 0.10.* + , cpu + , bits-extras + ghc-options: -O2 -Wall + +test-suite spec + default-language: Haskell2010 + default-extensions: OverloadedStrings + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Spec.hs + build-depends: base == 4.* + , base32-bytestring + , bytestring + , hspec >= 1.7 + , QuickCheck + ghc-options: -Wall + +benchmark bench + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: bench + main-is: Main.hs + build-depends: base == 4.* + , base32-bytestring + , bytestring + , criterion + ghc-options: -O2 -Wall -fno-warn-orphans -- cgit v1.2.3