diff options
author | pgj <pgj@FreeBSD.org> | 2014-11-10 22:09:03 +0000 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2014-11-10 22:09:03 +0000 |
commit | 3537bf87d4a7977f743277bce7d4b42972e05d94 (patch) | |
tree | 6436c83198bbce77db29bffadd5d6352d801f627 | |
parent | fed0febc4e467b4f056928836aaaade07a9246b8 (diff) | |
download | FreeBSD-ports-3537bf87d4a7977f743277bce7d4b42972e05d94.zip FreeBSD-ports-3537bf87d4a7977f743277bce7d4b42972e05d94.tar.gz |
- Add Haskell API and bindings for Redis:
devel/hs-BoundedChan Channels with bounded sizes
devel/hs-bytestring-lexing Parse and produce literals from bytestrings
databases/hs-hedis Haskell API for Redis
PR: 194299
Submitted by: martin@sugioarto.com
Obtained from: FreeBSD Haskell
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/hs-hedis/Makefile | 17 | ||||
-rw-r--r-- | databases/hs-hedis/distinfo | 2 | ||||
-rw-r--r-- | databases/hs-hedis/pkg-descr | 6 | ||||
-rw-r--r-- | devel/Makefile | 2 | ||||
-rw-r--r-- | devel/hs-BoundedChan/Makefile | 14 | ||||
-rw-r--r-- | devel/hs-BoundedChan/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-BoundedChan/pkg-descr | 4 | ||||
-rw-r--r-- | devel/hs-bytestring-lexing/Makefile | 16 | ||||
-rw-r--r-- | devel/hs-bytestring-lexing/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-bytestring-lexing/pkg-descr | 3 | ||||
-rw-r--r-- | lang/ghc/bsd.hackage.mk | 3 |
12 files changed, 72 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 83ecf04..2757acb 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -89,6 +89,7 @@ SUBDIR += hbase SUBDIR += hiredis SUBDIR += hs-esqueleto + SUBDIR += hs-hedis SUBDIR += hs-mysql SUBDIR += hs-persistent SUBDIR += hs-persistent-sqlite diff --git a/databases/hs-hedis/Makefile b/databases/hs-hedis/Makefile new file mode 100644 index 0000000..6916ded --- /dev/null +++ b/databases/hs-hedis/Makefile @@ -0,0 +1,17 @@ +# Created by: martin@sugioarto.com +# $FreeBSD$ + +PORTNAME= hedis +PORTVERSION= 0.6.5 +CATEGORIES= databases haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Haskell API for Redis + +LICENSE= BSD3CLAUSE + +USE_CABAL= attoparsec>=0.10 BoundedChan>=1.0 bytestring-lexing>=0.4 \ + mtl>=2.0 network>=2.0 resource-pool>=0.2 vector>=0.9 + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/databases/hs-hedis/distinfo b/databases/hs-hedis/distinfo new file mode 100644 index 0000000..24cfdf9 --- /dev/null +++ b/databases/hs-hedis/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/hedis-0.6.5.tar.gz) = 70fa3843b3d52203b831ec13bf7f29273ee6fd4695f8cbe55d41d7ee1389c8ce +SIZE (cabal/hedis-0.6.5.tar.gz) = 27113 diff --git a/databases/hs-hedis/pkg-descr b/databases/hs-hedis/pkg-descr new file mode 100644 index 0000000..a6a74e2 --- /dev/null +++ b/databases/hs-hedis/pkg-descr @@ -0,0 +1,6 @@ +Redis is an open source, advanced key-value store. It is often referred to +as a data structure server since keys can contain strings, hashes, lists, +sets and sorted sets. This library is a Haskell client for the Redis +datastore. + +WWW: https://github.com/informatikr/hedis diff --git a/devel/Makefile b/devel/Makefile index 2076dec..2db19c2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -647,6 +647,7 @@ SUBDIR += hp48xgcc SUBDIR += hs-BNFC SUBDIR += hs-Boolean + SUBDIR += hs-BoundedChan SUBDIR += hs-ConfigFile SUBDIR += hs-DrIFT SUBDIR += hs-Glob @@ -695,6 +696,7 @@ SUBDIR += hs-bsd-sysctl SUBDIR += hs-byteable SUBDIR += hs-byteorder + SUBDIR += hs-bytestring-lexing SUBDIR += hs-bytestring-nums SUBDIR += hs-bytestring-show SUBDIR += hs-c2hs diff --git a/devel/hs-BoundedChan/Makefile b/devel/hs-BoundedChan/Makefile new file mode 100644 index 0000000..131bed2 --- /dev/null +++ b/devel/hs-BoundedChan/Makefile @@ -0,0 +1,14 @@ +# Created by: martin@sugioarto.com +# $FreeBSD$ + +PORTNAME= BoundedChan +PORTVERSION= 1.0.3.0 +CATEGORIES= devel haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Channels with bounded sizes + +LICENSE= BSD3CLAUSE + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/devel/hs-BoundedChan/distinfo b/devel/hs-BoundedChan/distinfo new file mode 100644 index 0000000..1c925cc --- /dev/null +++ b/devel/hs-BoundedChan/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/BoundedChan-1.0.3.0.tar.gz) = 531ceaed7f62844c2a63a7cbfdcab332ea5eaa218e9922ca3305580438adc46d +SIZE (cabal/BoundedChan-1.0.3.0.tar.gz) = 3591 diff --git a/devel/hs-BoundedChan/pkg-descr b/devel/hs-BoundedChan/pkg-descr new file mode 100644 index 0000000..d6bc7c8 --- /dev/null +++ b/devel/hs-BoundedChan/pkg-descr @@ -0,0 +1,4 @@ +This library introduces BoundedChan. BoundedChans differ from Chans in that +they are guaranteed to contain no more than a certain number of elements. + +WWW: http://hackage.haskell.org/package/BoundedChan diff --git a/devel/hs-bytestring-lexing/Makefile b/devel/hs-bytestring-lexing/Makefile new file mode 100644 index 0000000..ea57dd6 --- /dev/null +++ b/devel/hs-bytestring-lexing/Makefile @@ -0,0 +1,16 @@ +# Created by: martin@sugioarto.com +# $FreeBSD$ + +PORTNAME= bytestring-lexing +PORTVERSION= 0.4.3.2 +CATEGORIES= devel haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Parse and produce literals from strict or lazy bytestrings + +LICENSE= BSD3CLAUSE + +USE_ALEX= yes + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/devel/hs-bytestring-lexing/distinfo b/devel/hs-bytestring-lexing/distinfo new file mode 100644 index 0000000..fd3aa82 --- /dev/null +++ b/devel/hs-bytestring-lexing/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/bytestring-lexing-0.4.3.2.tar.gz) = 05b0c59969e70b9e92bfcfaa0552fa0ea54f3103af670589e5c898206c78d527 +SIZE (cabal/bytestring-lexing-0.4.3.2.tar.gz) = 15975 diff --git a/devel/hs-bytestring-lexing/pkg-descr b/devel/hs-bytestring-lexing/pkg-descr new file mode 100644 index 0000000..ad6ba28 --- /dev/null +++ b/devel/hs-bytestring-lexing/pkg-descr @@ -0,0 +1,3 @@ +Parse and produce literals efficiently from strict or lazy bytestrings. + +WWW: http://code.haskell.org/~wren/ diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index d4b250c..e755a70 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -49,12 +49,14 @@ blaze-textual_port= devel/hs-blaze-textual bloomfilter_port= devel/hs-bloomfilter BNFC_port= devel/hs-BNFC # executable Boolean_port= devel/hs-Boolean +BoundedChan_port= devel/hs-BoundedChan boxes_port= devel/hs-boxes brainfuck_port= lang/hs-brainfuck # executable bsd-sysctl_port= devel/hs-bsd-sysctl byteable_port= devel/hs-byteable byteorder_port= devel/hs-byteorder bytestring-csv_port= textproc/hs-bytestring-csv +bytestring-lexing_port= devel/hs-bytestring-lexing bytestring-nums_port= devel/hs-bytestring-nums # executable bytestring-show_port= devel/hs-bytestring-show c2hs_port= devel/hs-c2hs # executable @@ -196,6 +198,7 @@ haskell-src-exts_port= devel/hs-haskell-src-exts hasktags_port= devel/hs-hasktags # executable hastache_port= devel/hs-hastache HaXml_port= textproc/hs-HaXml # executable +hedis_port= databases/hs-hedis heist_port= www/hs-heist hexpat_port= textproc/hs-hexpat HGL_port= graphics/hs-HGL |