textproc/hs-HsYAML - The NetBSD Packages Collection

Pure Haskell YAML 1.2 processor

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
* Low-level API access to lexical token-based scanner (see

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64hs-HsYAML-
NetBSD 10.0aarch64hs-HsYAML-
NetBSD 10.0_BETAx86_64hs-HsYAML-
NetBSD 8.0x86_64hs-HsYAML-
NetBSD 8.0x86_64hs-HsYAML-
NetBSD 8.0x86_64hs-HsYAML-
NetBSD 9.0aarch64hs-HsYAML-
NetBSD 9.0aarch64hs-HsYAML-
NetBSD 9.0aarch64hs-HsYAML-
NetBSD 9.0x86_64hs-HsYAML-
NetBSD 9.0x86_64hs-HsYAML-
NetBSD 9.0x86_64hs-HsYAML-
NetBSD 9.3x86_64hs-HsYAML-
NetBSD 9.3x86_64hs-HsYAML-

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.