summaryrefslogtreecommitdiff
path: root/dev-haskell/mysql-simple
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/mysql-simple')
-rw-r--r--dev-haskell/mysql-simple/Manifest3
-rw-r--r--dev-haskell/mysql-simple/metadata.xml20
-rw-r--r--dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild42
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-haskell/mysql-simple/Manifest b/dev-haskell/mysql-simple/Manifest
new file mode 100644
index 000000000000..d880d815bb17
--- /dev/null
+++ b/dev-haskell/mysql-simple/Manifest
@@ -0,0 +1,3 @@
+DIST mysql-simple-0.4.5.tar.gz 18867 BLAKE2B 578d84c6416f67edc8d148122838c50cf864a2bedda7670d04307b99fe3fc4e957952c5602c8c8d64c0acc31f38b0c6da2bdd95c7dba3911df76e97a78964ca1 SHA512 a0f254d9adeeab7cf3e738163be900e8947903336cb3d0c6e6e847280d6aefa230cd44722d2b2eea418d098aebe610e595fc69dd54df759465e21244e763510c
+EBUILD mysql-simple-0.4.5.ebuild 1156 BLAKE2B df1a2a614e32da6dfd5c61523d3fd93f155329a03436c54a8d71790eda7aa15498ff01ad5001532c97040d86214144436c4069437c961765554a9f9b9e71810e SHA512 8c1fb5c7cbcb050aabe725872648c3475800c129c16582dc47a5c61bdd7f66ede4f2db098304e8fd3d566ef85ed176aaee2412b234c38e98cfcd286a231a2c73
+MISC metadata.xml 733 BLAKE2B 4ec9afb5953a115d17706457c6086192f2bb470427931c4225ed8de8155e7a4a230965ac6556787bca51f5fb759fecf0051a11004f0c12f1062432c950e86735 SHA512 a2ec65f86ba601783cba57dff345168244983abd287d20b5e89fc2c956314aa98349840ee2754aaf0456e03ce42589d9b16498a41845558fcf2e9b621707e050
diff --git a/dev-haskell/mysql-simple/metadata.xml b/dev-haskell/mysql-simple/metadata.xml
new file mode 100644
index 000000000000..bb3bfed65702
--- /dev/null
+++ b/dev-haskell/mysql-simple/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ A mid-level client library for the MySQL database, intended to be
+ fast and easy to use.
+
+ /Important licensing note/: This library is BSD-licensed under the
+ terms of the MySQL FOSS License Exception
+ &lt;http://www.mysql.com/about/legal/licensing/foss-exception/&gt;.
+
+ Since this library links against the GPL-licensed @mysqlclient@
+ library, a non-open-source application that uses it /may/ be
+ subject to the terms of the GPL.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild
new file mode 100644
index 000000000000..72f2b2c8d56c
--- /dev/null
+++ b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+#hackport: flags: developer:debug
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A mid-level MySQL client library"
+HOMEPAGE="https://github.com/paul-rouse/mysql-simple"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RESTRICT=test # need running mysql, missing files
+
+RDEPEND=">=dev-haskell/attoparsec-0.10.0.0:=[profile?]
+ dev-haskell/base16-bytestring:=[profile?]
+ dev-haskell/blaze-builder:=[profile?]
+ dev-haskell/blaze-textual:=[profile?]
+ >=dev-haskell/mysql-0.1.1.1:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ dev-haskell/pcre-light:=[profile?]
+ >=dev-haskell/semigroups-0.11:=[profile?] <dev-haskell/semigroups-0.19:=[profile?]
+ >=dev-haskell/text-0.11.0.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hspec )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag debug developer)
+}