[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec.
From: |
Carlo Holl |
Subject: |
[bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec. |
Date: |
Fri, 23 Oct 2020 10:05:33 -0700 |
---
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 ad9c49ddeb..84f28ee5a5 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5934,6 +5934,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
+ "Utility functions for testing Megaparsec parsers with Hspec.")
+ (license license:bsd-3)))
+
(define-public ghc-hs-bibutils
(package
(name "ghc-hs-bibutils")
--
2.28.0
- [bug#44174] [PATCH 00/16] Add hledger and its dependencies., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 01/16] gnu: Add ghc-control-monad-free., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 02/16] gnu: Add ghc-csv., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 03/16] gnu: Add ghc-decimal., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec.,
Carlo Holl <=
- [bug#44174] [PATCH 04/16] gnu: Upgrade ghc-doctest., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 08/16] gnu: Add ghc-text-short., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 06/16] gnu: Add ghc-lucid., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 07/16] gnu: Add ghc-only., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 09/16] gnu: Add ghc-tabular., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 11/16] gnu: Add ghc-wizards., Carlo Holl, 2020/10/23
- [bug#44174] [PATCH 15/16] gnu: Add hledger., Carlo Holl, 2020/10/23