[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/15: gnu: Add ghc-hspec-megaparsec.
From: |
guix-commits |
Subject: |
05/15: gnu: Add ghc-hspec-megaparsec. |
Date: |
Sun, 1 Nov 2020 08:36:11 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit e16f7de88f1ef9b9e5c83e40f17255d8c60a8420
Author: Carlo Holl <carloholl@gmail.com>
AuthorDate: Sat Oct 31 19:02:26 2020 -0700
gnu: Add ghc-hspec-megaparsec.
* gnu/packages/haskell-xyz.scm (ghc-hspec-megaparsec): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index e6a8580..21b0f2f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5928,6 +5928,34 @@ are described in a file named @code{package.yaml}. Both
@code{cabal2nix} and
@code{package.yaml}.")
(license license:expat)))
+(define-public ghc-hspec-megaparsec
+ (package
+ (name "ghc-hspec-megaparsec")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/"
+ "package/hspec-megaparsec/hspec-megaparsec-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hspec-expectations" ,ghc-hspec-expectations)
+ ("ghc-megaparsec" ,ghc-megaparsec)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)))
+ (home-page "https://github.com/mrkkrp/hspec-megaparsec")
+ (synopsis "Utility functions for testing Megaparsec parsers with Hspec")
+ (description
+ "Provides a small set of helper functions for testing Megaparsec parsers
+with Hspec.")
+ (license license:bsd-3)))
+
(define-public ghc-hs-bibutils
(package
(name "ghc-hs-bibutils")
- branch master updated (9e775fa -> e6bfb02), guix-commits, 2020/11/01
- 02/15: gnu: Add ghc-csv., guix-commits, 2020/11/01
- 01/15: gnu: Add ghc-control-monad-free., guix-commits, 2020/11/01
- 07/15: gnu: Add ghc-only., guix-commits, 2020/11/01
- 06/15: gnu: Add ghc-lucid., guix-commits, 2020/11/01
- 13/15: gnu: Add ghc-cassava-megaparsec., guix-commits, 2020/11/01
- 11/15: gnu: Add ghc-wizards., guix-commits, 2020/11/01
- 03/15: gnu: Add ghc-decimal., guix-commits, 2020/11/01
- 05/15: gnu: Add ghc-hspec-megaparsec.,
guix-commits <=
- 04/15: gnu: ghc-doctest: Update to 0.16.3., guix-commits, 2020/11/01
- 09/15: gnu: Add ghc-tabular., guix-commits, 2020/11/01
- 14/15: gnu: Add ghc-hledger-lib., guix-commits, 2020/11/01
- 08/15: gnu: Add ghc-text-short., guix-commits, 2020/11/01
- 12/15: gnu: Add ghc-cassava., guix-commits, 2020/11/01
- 10/15: gnu: Add ghc-uglymemo., guix-commits, 2020/11/01
- 15/15: gnu: Add hledger., guix-commits, 2020/11/01