From cb05df4bca8e636e46e8a6f085592711e4e337ba Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Jul 2023 02:00:00 +0200 Subject: gnu: Add ghc-config-schema. * gnu/packages/haskell-xyz.scm (ghc-config-schema): New public variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/haskell-xyz.scm') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 0f0b59899f..5cc72bacb3 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2378,6 +2378,35 @@ and incidental whitespace will remain unchanged. The library aims to produce human-readable error messages when things go wrong.") (license license:bsd-3))) +(define-public ghc-config-schema + (package + (name "ghc-config-schema") + (version "1.2.2.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "config-schema" version)) + (sha256 + (base32 "10mp76j2gxcb51865lb6cf3nkc2nc7fwarkghb6yz71q6sbrg3yx")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision ("3" + "16rwj3vcafq4fqqh5rq1na1g4syk63kki2gjinb6yj3h8s59vpp7"))) + (inputs + (list ghc-config-value + ghc-free + ghc-kan-extensions + ghc-semigroupoids)) + (properties '((upstream-name . "config-schema"))) + (home-page "https://github.com/glguy/config-schema") + (synopsis "Schema definitions for the config-value package") + (description + "This package makes it possible to define schemas for use when loading +configuration files using the config-value format. These schemas can be used to +process a configuration file into a Haskell value or to automatically generate +documentation for the file format.") + (license license:isc))) + (define-public ghc-config-value (package (name "ghc-config-value") -- cgit v1.2.3