Import vault-0.3.0.3 as devel/hs-vault,

packaged for wip.

A vault is a persistent store for values of arbitrary types. It's like
having first-class access to the storage space behind IORefs.

The data structure is analogous to a bank vault, where you can access
different bank boxes with different keys; hence the name.

Also provided is a locker type, representing a store for a single element.
This commit is contained in:
szptvlfn 2014-07-28 21:01:08 +00:00
parent a6ddd36622
commit 23ad20daa8
5 changed files with 71 additions and 0 deletions

7
devel/hs-vault/DESCR Normal file
View file

@ -0,0 +1,7 @@
A vault is a persistent store for values of arbitrary types. It's like
having first-class access to the storage space behind IORefs.
The data structure is analogous to a bank vault, where you can access
different bank boxes with different keys; hence the name.
Also provided is a locker type, representing a store for a single element.

13
devel/hs-vault/Makefile Normal file
View file

@ -0,0 +1,13 @@
# $NetBSD: Makefile,v 1.1 2014/07/28 21:01:08 szptvlfn Exp $
DISTNAME= vault-0.3.0.3
CATEGORIES= devel
MAINTAINER= szptvlfn@NetBSD.org
COMMENT= Persistent store for values of arbitrary types
LICENSE= modified-bsd
.include "../../mk/haskell.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

31
devel/hs-vault/PLIST Normal file
View file

@ -0,0 +1,31 @@
@comment $NetBSD: PLIST,v 1.1 2014/07/28 21:01:08 szptvlfn Exp $
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/Data/Unique/Really.hi
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/Data/Vault/Lazy.hi
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/Data/Vault/ST/Lazy.hi
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/Data/Vault/ST/Strict.hi
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/Data/Vault/Strict.hi
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/HSvault-${PKGVERSION}.o
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/libHSvault-${PKGVERSION}.a
lib/vault-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/vault-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/Data-Unique-Really.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/Data-Vault-Lazy.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/Data-Vault-ST-Lazy.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/Data-Vault-ST-Strict.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/Data-Vault-Strict.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/frames.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/haddock-util.js
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/hslogo-16.png
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/index-frames.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/mini_Data-Unique-Really.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/mini_Data-Vault-Lazy.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/mini_Data-Vault-ST-Lazy.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/mini_Data-Vault-ST-Strict.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/mini_Data-Vault-Strict.html
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/minus.gif
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/ocean.css
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/plus.gif
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/synopsis.png
${PLIST.doc}share/doc/vault-${PKGVERSION}/html/vault.haddock

View file

@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.1 2014/07/28 21:01:08 szptvlfn Exp $
BUILDLINK_TREE+= hs-vault
.if !defined(HS_VAULT_BUILDLINK3_MK)
HS_VAULT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-vault+= hs-vault>=0.3.0
BUILDLINK_PKGSRCDIR.hs-vault?= ../../devel/hs-vault
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.endif # HS_VAULT_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-vault

5
devel/hs-vault/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/07/28 21:01:08 szptvlfn Exp $
SHA1 (vault-0.3.0.3.tar.gz) = b099aef96ef0a920d2f8ee9d824e09cee4dfcd9d
RMD160 (vault-0.3.0.3.tar.gz) = d0d9af45f39e8a71e66134733b49546eaaa63d2d
Size (vault-0.3.0.3.tar.gz) = 4906 bytes