forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-haskell/mysql-simple: new package, a depend of esqueleto-3.3
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Aug 29, 2020
1 parent
f7fb6ae
commit 06cd395
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST mysql-simple-0.4.5.tar.gz 18867 BLAKE2B 578d84c6416f67edc8d148122838c50cf864a2bedda7670d04307b99fe3fc4e957952c5602c8c8d64c0acc31f38b0c6da2bdd95c7dba3911df76e97a78964ca1 SHA512 a0f254d9adeeab7cf3e738163be900e8947903336cb3d0c6e6e847280d6aefa230cd44722d2b2eea418d098aebe610e595fc69dd54df759465e21244e763510c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</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 | ||
<http://www.mysql.com/about/legal/licensing/foss-exception/>. | ||
|
||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |