gnu: Add ghc-ini.

* gnu/packages/haskell-xyz.scm (ghc-ini): New public variable.
This commit is contained in:
Tobias Geerinckx-Rice 2021-07-03 17:08:25 +02:00
parent b35adf09e7
commit 3499d23692
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -12,7 +12,7 @@
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 20172019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Tonton <tonton@riseup.net>
;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
@ -6464,6 +6464,30 @@ (define-public ghc-infer-license
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")