From 3499d2369267fd218b29c21844fe3e199fc21770 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 3 Jul 2021 17:08:25 +0200 Subject: gnu: Add ghc-ini. * gnu/packages/haskell-xyz.scm (ghc-ini): New public variable. --- gnu/packages/haskell-xyz.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'gnu/packages/haskell-xyz.scm') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 087e60fc9a..898cd9b78a 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, 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2017–2019, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2018 Tonton ;;; Copyright © 2018, 2019 Timothy Sample ;;; Copyright © 2018 Arun Isaac @@ -6464,6 +6464,30 @@ lines continued at an indented level below.") license from a given license file.") (license license:expat))) +(define-public ghc-ini + (package + (name "ghc-ini") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "ini/ini-" version ".tar.gz")) + (sha256 + (base32 "0mvwii8jbh2ll54qb9dij5m66c6324s2y4vrwz1qr4wz40m3qa8l")))) + (build-system haskell-build-system) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (home-page "https://github.com/chrisdone/ini") + (synopsis + "Haskell library to easily handle configuration files in the INI format") + (description + "The @code{ghc-ini} Haskell library lets programmers quickly and easily +read and write configuration files in the simple INI format.") + (license license:bsd-3))) + (define-public ghc-inline-c (package (name "ghc-inline-c") -- cgit v1.2.3