summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2022-10-30 08:23:55 +0100
committerHans de Graaff <hans@degraaff.org>2022-10-30 08:23:55 +0100
commitb1b832d21c3f60a1c8fbcaeeb4f36f6e5ba840a1 (patch)
treebda7b999735c57c9c0938e05de20c9555ee1694b /dev-haskell
parentdev-haskell/megaparsec: import from haskell overlay (diff)
downloadgraaff-b1b832d21c3f60a1c8fbcaeeb4f36f6e5ba840a1.tar.gz
graaff-b1b832d21c3f60a1c8fbcaeeb4f36f6e5ba840a1.tar.bz2
graaff-b1b832d21c3f60a1c8fbcaeeb4f36f6e5ba840a1.zip
dev-haskell/hspec-megaparsec: import from haskell overlay
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hspec-megaparsec/Manifest1
-rw-r--r--dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild33
-rw-r--r--dev-haskell/hspec-megaparsec/metadata.xml5
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-haskell/hspec-megaparsec/Manifest b/dev-haskell/hspec-megaparsec/Manifest
new file mode 100644
index 00000000..5f4ffb75
--- /dev/null
+++ b/dev-haskell/hspec-megaparsec/Manifest
@@ -0,0 +1 @@
+DIST hspec-megaparsec-2.2.0.tar.gz 5298 BLAKE2B fe18c95325a7b17c214635d8e57477dcd55b10b9a8dad20ccbf7c3d8bdd9027b49da394397493276b1b5aceb5a8337f51688c409fbb1ea1ddf86e96502e19c8e SHA512 347e1d5275fbd52bc0a51a1106aab8de123034ec34d5f0a113af76136009bc16d2c570aa747e903e050899cf3d53a091e765af5aa67dd7eb3ee7aef6e62054a4
diff --git a/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild
new file mode 100644
index 00000000..be6d5d78
--- /dev/null
+++ b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.7.9999
+#hackport: flags: -dev
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Utility functions for testing Megaparsec parsers with Hspec"
+HOMEPAGE="https://github.com/mrkkrp/hspec-megaparsec"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/hspec-expectations-0.8:=[profile?] <dev-haskell/hspec-expectations-0.9:=[profile?]
+ >=dev-haskell/megaparsec-9.0:=[profile?] <dev-haskell/megaparsec-10.0:=[profile?]
+ >=dev-lang/ghc-8.6.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.4.0.1
+ test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-dev
+}
diff --git a/dev-haskell/hspec-megaparsec/metadata.xml b/dev-haskell/hspec-megaparsec/metadata.xml
new file mode 100644
index 00000000..bd70e455
--- /dev/null
+++ b/dev-haskell/hspec-megaparsec/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person"><email>graaff@gentoo.org</email></maintainer>
+</pkgmetadata>