BSD Ports

textproc/hs-HsYAML 0.2.1.4nb4 NetBSD

Pure Haskell YAML 1.2 processor

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
textproc
Package size
1323.8 KiB, 21677.8 KiB installed

Description

HsYAML is a YAML 1.2 processor, i.e. a library for parsing and serializing YAML documents.

Features of HsYAML include: * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the YAML 1.2 specification. * Direct decoding to native Haskell types via (aeson-inspired) typeclass-based API (see Data.YAML). * Allows round-tripping while preserving ordering, anchors, and comments at Event-level. * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). * Support for the standard (untyped) Failsafe, (strict) JSON, and (flexible) Core "schemas" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see Data.YAML.Schema). * Support for emitting YAML using Failsafe, (strict) JSON, and (flexible) Core "schemas" (including support for user-defined custom encoding schemas; see Data.YAML.Schema). * Event-based API resembling LibYAML's Event-based API (see Data.YAML.Event). * Low-level API access to lexical token-based scanner (see Data.YAML.Token).

Install

Binary package:

pkgin install hs-HsYAML

From pkgsrc:

cd /usr/pkgsrc/textproc/hs-HsYAML && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.2.1.4nb4
NetBSD 10.1 aarch640.2.1.4nb4
SmartOS / illumos x86_640.2.1.4nb4
macOS 15 arm640.2.1.4nb4

Dependencies

Run dependencies 1
Required by 1