From b5b1dc96eb9356e708e284640ae400e7069b9a99 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Jul 2023 02:00:00 +0200 Subject: [PATCH] gnu: Add ghc-config-value. * gnu/packages/haskell-xyz.scm (ghc-config-value): New public variable. --- gnu/packages/haskell-xyz.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 71df4192dc..0f0b59899f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2017 Peter Mikkelsen ;;; Copyright © 2017, 2018 Alex Vong ;;; Copyright © 2017 rsiddharth -;;; Copyright © 2017–2019, 2021 Tobias Geerinckx-Rice +;;; Copyright © 2017–2019, 2021, 2023 Tobias Geerinckx-Rice ;;; Copyright © 2018 Tonton ;;; Copyright © 2018, 2019 Timothy Sample ;;; Copyright © 2018 Arun Isaac @@ -2378,6 +2378,31 @@ (define-public ghc-config-ini human-readable error messages when things go wrong.") (license license:bsd-3))) +(define-public ghc-config-value + (package + (name "ghc-config-value") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (hackage-uri "config-value" version)) + (sha256 + (base32 "0pkcwxg91wali7986k03d7q940hb078hlsxfknqhkp2spr3d1f3w")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision ("3" + "1qiqaad3zpgvwpcb5p1q9aaska82bfm75qrsfdcdlwc70r7w57gj"))) + (native-inputs + (list ghc-alex ghc-happy)) + (properties '((upstream-name . "config-value"))) + (home-page "https://github.com/glguy/config-value") + (synopsis "Simple, layout-based value language similar to YAML or JSON") + (description + "This package implements a language similar to YAML or JSON but with fewer +special cases and fewer dependencies. It emphasizes layout structure for +sections and lists, and requires quotes around strings.") + (license license:expat))) + (define-public ghc-configurator (package (name "ghc-configurator")