diff options
author | riastradh <riastradh@pkgsrc.org> | 2020-03-30 16:49:19 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2020-03-30 16:49:19 +0000 |
commit | 82f53b8abc7c55a59f222e4248f9a81711eb24d4 (patch) | |
tree | eedb69004a9c8e46541d237544b48630c3f51de1 /textproc | |
parent | 56d80baea9c8248be1301e537da0d74125a17810 (diff) | |
download | pkgsrc-82f53b8abc7c55a59f222e4248f9a81711eb24d4.tar.gz |
hs-cassava: Import version 0.5.2.0
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 4 | ||||
-rw-r--r-- | textproc/hs-cassava/DESCR | 14 | ||||
-rw-r--r-- | textproc/hs-cassava/Makefile | 18 | ||||
-rw-r--r-- | textproc/hs-cassava/buildlink3.mk | 13 | ||||
-rw-r--r-- | textproc/hs-cassava/distinfo | 6 |
5 files changed, 54 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d860f0138a2..d8a906f605b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1125 2020/03/30 16:48:01 riastradh Exp $ +# $NetBSD: Makefile,v 1.1126 2020/03/30 16:49:19 riastradh Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -291,6 +291,7 @@ SUBDIR+= hs-attoparsec SUBDIR+= hs-blaze-html SUBDIR+= hs-blaze-markup SUBDIR+= hs-case-insensitive +SUBDIR+= hs-cassava SUBDIR+= hs-cgrep SUBDIR+= hs-cheapskate SUBDIR+= hs-cmark-gfm @@ -323,6 +324,7 @@ SUBDIR+= hs-skylighting-core SUBDIR+= hs-stringsearch SUBDIR+= hs-tagsoup SUBDIR+= hs-texmath +SUBDIR+= hs-text-short SUBDIR+= hs-unicode-show SUBDIR+= hs-unicode-transforms SUBDIR+= hs-xml diff --git a/textproc/hs-cassava/DESCR b/textproc/hs-cassava/DESCR new file mode 100644 index 00000000000..06eb6439d23 --- /dev/null +++ b/textproc/hs-cassava/DESCR @@ -0,0 +1,14 @@ +cassava is a library for parsing and encoding RFC 4180 compliant +comma-separated values (CSV) data, which is a textual line-oriented +format commonly used for exchanging tabular data. + +cassava's API includes support for + +- Index-based record-conversion +- Name-based record-conversion +- Typeclass directed conversion of fields and records +- Built-in field-conversion instances for standard types +- Customizable record-conversion instance derivation via GHC generics +- Low-level bytestring builders (see "Data.Csv.Builder") +- Incremental decoding and encoding API (see "Data.Csv.Incremental") +- Streaming API for constant-space decoding (see "Data.Csv.Streaming") diff --git a/textproc/hs-cassava/Makefile b/textproc/hs-cassava/Makefile new file mode 100644 index 00000000000..5a6c2c492b9 --- /dev/null +++ b/textproc/hs-cassava/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2020/03/30 16:49:19 riastradh Exp $ + +DISTNAME= cassava-0.5.2.0 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_HASKELL_HACKAGE:=cassava-${PKGVERSION_NOREV}/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/hvr/cassava +COMMENT= CSV parsing and encoding library +LICENSE= modified-bsd + +USE_LANGUAGES= # none + +.include "../../devel/hs-Only/buildlink3.mk" +.include "../../devel/hs-bytestring-builder/buildlink3.mk" +.include "../../mk/haskell.mk" +.include "../../textproc/hs-text-short/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/hs-cassava/buildlink3.mk b/textproc/hs-cassava/buildlink3.mk new file mode 100644 index 00000000000..5b62506df18 --- /dev/null +++ b/textproc/hs-cassava/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/03/30 16:49:19 riastradh Exp $ + +BUILDLINK_TREE+= hs-cassava + +.if !defined(HS_CASSAVA_BUILDLINK3_MK) +HS_CASSAVA_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-cassava+= hs-cassava>=0.5.2.0 +BUILDLINK_ABI_DEPENDS.hs-cassava+= hs-cassava>=0.5.2.0 +BUILDLINK_PKGSRCDIR.hs-cassava?= ../../textproc/hs-cassava +.endif # HS_CASSAVA_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-cassava diff --git a/textproc/hs-cassava/distinfo b/textproc/hs-cassava/distinfo new file mode 100644 index 00000000000..a132257fa88 --- /dev/null +++ b/textproc/hs-cassava/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/03/30 16:49:19 riastradh Exp $ + +SHA1 (cassava-0.5.2.0.tar.gz) = 8288560c1b1328dc930da8e850439824c2842277 +RMD160 (cassava-0.5.2.0.tar.gz) = 1913809650916b73dd6cab17d4374666bb6f83c4 +SHA512 (cassava-0.5.2.0.tar.gz) = f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383 +Size (cassava-0.5.2.0.tar.gz) = 37411 bytes |