pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/hs-sqlite-simple databases/hs-sqlite-simple:...
details: https://anonhg.NetBSD.org/pkgsrc/rev/23eaf0108b90
branches: trunk
changeset: 374053:23eaf0108b90
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 16 09:43:12 2022 +0000
description:
databases/hs-sqlite-simple: import hs-sqlite-simple-0.4.18.0
This library is a mid-level Haskell binding to the SQLite database.
Sqlite-simple provides a convenient API to sqlite that does some level of
automatic data conversion between the database and Haskell types. The API
has been modeled directly after postgresql-simple which in turn borrows
from mysql-simple.
diffstat:
databases/hs-sqlite-simple/DESCR | 6 +
databases/hs-sqlite-simple/Makefile | 17 +++
databases/hs-sqlite-simple/PLIST | 63 ++++++++++++
databases/hs-sqlite-simple/buildlink3.mk | 20 +++
databases/hs-sqlite-simple/distinfo | 6 +
databases/hs-sqlite-simple/patches/patch-sqlite-simple.cabal | 15 ++
6 files changed, 127 insertions(+), 0 deletions(-)
diffs (151 lines):
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/DESCR Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,6 @@
+This library is a mid-level Haskell binding to the SQLite database.
+
+Sqlite-simple provides a convenient API to sqlite that does some level of
+automatic data conversion between the database and Haskell types. The API
+has been modeled directly after postgresql-simple which in turn borrows
+from mysql-simple.
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/Makefile Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:43:12 pho Exp $
+
+DISTNAME= sqlite-simple-0.4.18.0
+CATEGORIES= databases
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Mid-Level SQLite client library
+LICENSE= modified-bsd
+
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../devel/hs-blaze-textual/buildlink3.mk"
+.include "../../databases/hs-direct-sqlite/buildlink3.mk"
+.include "../../devel/hs-Only/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/PLIST Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:43:12 pho Exp $
+lib/sqlite-simple-${PKGVERSION}/${HS_VERSION}/package-description
+lib/sqlite-simple-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromField.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromField.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromField.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromRow.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromRow.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/FromRow.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Function.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Function.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Function.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Ok.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Ok.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Ok.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/QQ.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/QQ.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/QQ.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time/Implementation.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time/Implementation.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Time/Implementation.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToField.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToField.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToField.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToRow.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToRow.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/ToRow.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite/Simple/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-FromField.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-FromRow.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Function.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Internal.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Ok.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-QQ.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Time-Implementation.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Time.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-ToField.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-ToRow.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple-Types.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/Database-SQLite-Simple.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/sqlite-simple.haddock
+share/doc/${HS_PLATFORM}/sqlite-simple-${PKGVERSION}/html/synopsis.png
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/buildlink3.mk Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:43:12 pho Exp $
+
+BUILDLINK_TREE+= hs-sqlite-simple
+
+.if !defined(HS_SQLITE_SIMPLE_BUILDLINK3_MK)
+HS_SQLITE_SIMPLE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-sqlite-simple+= hs-sqlite-simple>=0.4.18
+BUILDLINK_ABI_DEPENDS.hs-sqlite-simple+= hs-sqlite-simple>=0.4.18.0
+BUILDLINK_PKGSRCDIR.hs-sqlite-simple?= ../../databases/hs-sqlite-simple
+
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../devel/hs-blaze-textual/buildlink3.mk"
+.include "../../databases/hs-direct-sqlite/buildlink3.mk"
+.include "../../devel/hs-Only/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.endif # HS_SQLITE_SIMPLE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-sqlite-simple
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/distinfo Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:43:12 pho Exp $
+
+BLAKE2s (sqlite-simple-0.4.18.0.tar.gz) = 5703b82954ca28dc1aa8b00d8c940a94625a83499d870f7955329d7a2c7c9216
+SHA512 (sqlite-simple-0.4.18.0.tar.gz) = 3fb698698aff5b9f31d06f78cf587320e693c7025cef0b0233e6fec5314af2820b8835726eadbfe1c37058c0b5c16c6ee34d2f96c2be0ad142b77f1221eadc24
+Size (sqlite-simple-0.4.18.0.tar.gz) = 33969 bytes
+SHA1 (patch-sqlite-simple.cabal) = 74f48e2c64ee52cfaf565aaaa42d67c03b751d84
diff -r e1fa5cedd4c0 -r 23eaf0108b90 databases/hs-sqlite-simple/patches/patch-sqlite-simple.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-sqlite-simple/patches/patch-sqlite-simple.cabal Wed Feb 16 09:43:12 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sqlite-simple.cabal,v 1.1 2022/02/16 09:43:12 pho Exp $
+
+Fix build with semigroups-0.20
+
+--- sqlite-simple.cabal.orig 2020-03-07 18:59:03.000000000 +0000
++++ sqlite-simple.cabal
+@@ -51,7 +51,7 @@ Library
+ bytestring >= 0.9,
+ containers,
+ direct-sqlite >= 2.3.13 && < 2.4,
+- semigroups >= 0.18 && < 0.20,
++ semigroups >= 0.18,
+ template-haskell,
+ text >= 0.11,
+ time,
Home |
Main Index |
Thread Index |
Old Index