[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/14: gnu: Add ghc-config-ini.
From: |
guix-commits |
Subject: |
01/14: gnu: Add ghc-config-ini. |
Date: |
Sun, 4 Jul 2021 11:56:07 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit efbe2667561ffa9829359457709300850692d5d2
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jul 3 17:22:09 2021 +0200
gnu: Add ghc-config-ini.
* gnu/packages/haskell-xyz.scm (ghc-config-ini): New public variable.
---
gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 898cd9b..f1d2b3b 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -2592,6 +2592,44 @@ a very thin wrapper around the
interface}.")
(license license:expat)))
+(define-public ghc-config-ini
+ (package
+ (name "ghc-config-ini")
+ (version "0.2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "config-ini/config-ini-" version ".tar.gz"))
+ (sha256
+ (base32 "0dfm4xb1sd713rcqzplzdgw68fyhj24i6lj8j3q8kldpmkl98lbf"))))
+ (build-system haskell-build-system)
+ (arguments
+ ;; XXX The tests fail to compile: “The constructor ‘I1.Ini’ should have 2
+ ;; arguments, but has been given 1”.
+ `(#:tests? #f
+ #:cabal-revision
+ ("2" "0iwraaa0y1b3xdsg760j1wpylkqshky0k2djcg0k4s97lrwqpbcz")))
+ (native-inputs
+ `(("ghc-doctest" ,ghc-doctest)
+ ("ghc-hedgehog" ,ghc-hedgehog)
+ ("ghc-ini" ,ghc-ini)
+ ("ghc-microlens" ,ghc-microlens)))
+ (inputs
+ `(("ghc-megaparsec" ,ghc-megaparsec)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)))
+ (home-page "https://github.com/aisamanra/config-ini")
+ (synopsis "Monadic Haskell DSL for parsing simple INI configuration files")
+ (description
+ "The @code{config-ini} Haskell library exports some simple monadic
+functions to ease the parsing of @file{.ini}-style configuration files, and
+to write and update them in an efficient @i{diff-minimal} way. This means that
+if you parse a file, update a single field, and reserialize, that file should
+differ only in the field we changed and @emph{that's it}: field order,
comments,
+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-configurator
(package
(name "ghc-configurator")
- branch master updated (d9c4009 -> 9e63baf), guix-commits, 2021/07/04
- 01/14: gnu: Add ghc-config-ini.,
guix-commits <=
- 02/14: gnu: Add ghc-data-clist., guix-commits, 2021/07/04
- 08/14: gnu: abiword: Update to 3.0.5., guix-commits, 2021/07/04
- 09/14: gnu: tarlz: Update to 0.21., guix-commits, 2021/07/04
- 14/14: gnu: procenv: Update to 0.58., guix-commits, 2021/07/04
- 11/14: gnu: lynis: Update to 3.0.5., guix-commits, 2021/07/04
- 03/14: gnu: Add ghc-text-zipper., guix-commits, 2021/07/04
- 06/14: gnu: Add ghc-quickcheck-assertions., guix-commits, 2021/07/04
- 07/14: gnu: nanovna-saver: Update to 0.3.9., guix-commits, 2021/07/04
- 10/14: gnu: faudio: Update to 21.07., guix-commits, 2021/07/04
- 04/14: gnu: Add ghc-finite-typelits., guix-commits, 2021/07/04