[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
241/257: gnu: Add ghc-rio.
From: |
Ricardo Wurmus |
Subject: |
241/257: gnu: Add ghc-rio. |
Date: |
Thu, 27 Sep 2018 15:47:37 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 0d28659acedd88f65217272e1395ef5586aa2e32
Author: Timothy Sample <address@hidden>
Date: Sat Sep 22 11:08:31 2018 -0400
gnu: Add ghc-rio.
* gnu/packages/haskell.scm (ghc-rio): New variable.
---
gnu/packages/haskell.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 30f7643..a0ca087 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -10556,4 +10556,56 @@ widths to the Char type.")
("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
(properties '(hidden? #t))))
+(define-public ghc-rio
+ (package
+ (name "ghc-rio")
+ (version "0.1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/rio/rio-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'add-setup-script
+ (lambda _
+ ;; The usual "Setup.hs" script is missing from the source.
+ (with-output-to-file "Setup.hs"
+ (lambda ()
+ (format #t "import Distribution.Simple~%")
+ (format #t "main = defaultMain~%"))))))))
+ (inputs
+ `(("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-microlens" ,ghc-microlens)
+ ("ghc-primitive" ,ghc-primitive)
+ ("ghc-text" ,ghc-text)
+ ("ghc-typed-process" ,ghc-typed-process)
+ ("ghc-unliftio" ,ghc-unliftio)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "https://github.com/commercialhaskell/rio#readme")
+ (synopsis "A standard library for Haskell")
+ (description "This package works as a prelude replacement for Haskell,
+providing more functionality and types out of the box than the standard
+prelude (such as common data types like @code{ByteString} and
address@hidden), as well as removing common ``gotchas'', like partial
+functions and lazy I/O. The guiding principle here is:
address@hidden
address@hidden If something is safe to use in general and has no expected naming
+conflicts, expose it.
address@hidden If something should not always be used, or has naming conflicts,
+expose it from another module in the hierarchy.
address@hidden itemize")
+ (license license:expat)))
+
;;; haskell.scm ends here
- 228/257: gnu: Add ghc-hackage-security., (continued)
- 228/257: gnu: Add ghc-hackage-security., Ricardo Wurmus, 2018/09/27
- 249/257: gnu: ghc-haddock-api: Update to 2.19.0.1., Ricardo Wurmus, 2018/09/27
- 240/257: gnu: ghc-warp-tls: Update to 3.2.4.3., Ricardo Wurmus, 2018/09/27
- 231/257: gnu: ghc-feed: Update to 1.0.0.0., Ricardo Wurmus, 2018/09/27
- 245/257: gnu: ghc-aws: Update to 0.20., Ricardo Wurmus, 2018/09/27
- 134/257: gnu: ghc-highlighting-kate: Update to 0.6.4., Ricardo Wurmus, 2018/09/27
- 237/257: gnu: ghc-persistent-template: Update to 2.5.4., Ricardo Wurmus, 2018/09/27
- 217/257: gnu: ghc-wai-extra: Update to 3.0.24.2., Ricardo Wurmus, 2018/09/27
- 226/257: gnu: Add ghc-cryptohash-sha256., Ricardo Wurmus, 2018/09/27
- 248/257: gnu: ghc-yesod-persistent: Update to 1.6.0., Ricardo Wurmus, 2018/09/27
- 241/257: gnu: Add ghc-rio.,
Ricardo Wurmus <=
- 250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints., Ricardo Wurmus, 2018/09/27
- 244/257: gnu: Add ghc-tree-diff., Ricardo Wurmus, 2018/09/27
- 213/257: gnu: ghc-rebase: Update to 1.2.4., Ricardo Wurmus, 2018/09/27
- 233/257: gnu: ghc-persistent: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 239/257: gnu: Remove old versions of ghc-doctest., Ricardo Wurmus, 2018/09/27
- 227/257: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/09/27
- 232/257: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/09/27
- 234/257: gnu: ghc-warp: Update to 3.2.23., Ricardo Wurmus, 2018/09/27
- 222/257: gnu: ghc-monad-logger: Update to 0.3.29., Ricardo Wurmus, 2018/09/27
- 218/257: gnu: ghc-vector-builder: Update to 0.3.6., Ricardo Wurmus, 2018/09/27