summaryrefslogtreecommitdiff
path: root/www/hs-http-client
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-16 13:37:14 +0000
committerpho <pho@pkgsrc.org>2020-01-16 13:37:14 +0000
commit22965b9bf12ab526a4824f5cc1e1616ffa696a75 (patch)
tree61363ffb997721b21dc631555c6a596c26cdbe87 /www/hs-http-client
parent36692c3f23175114f32b2ef054fb713d7446840e (diff)
downloadpkgsrc-22965b9bf12ab526a4824f5cc1e1616ffa696a75.tar.gz
Import http-client-0.6.4
An HTTP client engine, intended as a base layer for more user-friendly packages. This codebase has been refactored from http-conduit. Note that, if you want to make HTTPS secure connections, you should use http-client-tls in addition to this library.
Diffstat (limited to 'www/hs-http-client')
-rw-r--r--www/hs-http-client/DESCR7
-rw-r--r--www/hs-http-client/Makefile22
-rw-r--r--www/hs-http-client/buildlink3.mk25
-rw-r--r--www/hs-http-client/distinfo6
4 files changed, 60 insertions, 0 deletions
diff --git a/www/hs-http-client/DESCR b/www/hs-http-client/DESCR
new file mode 100644
index 00000000000..55d445f8396
--- /dev/null
+++ b/www/hs-http-client/DESCR
@@ -0,0 +1,7 @@
+An HTTP client engine, intended as a base layer for more user-friendly
+packages.
+
+This codebase has been refactored from http-conduit.
+
+Note that, if you want to make HTTPS secure connections, you should
+use http-client-tls in addition to this library.
diff --git a/www/hs-http-client/Makefile b/www/hs-http-client/Makefile
new file mode 100644
index 00000000000..a0b59b9d502
--- /dev/null
+++ b/www/hs-http-client/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/01/16 13:37:14 pho Exp $
+
+DISTNAME= http-client-0.6.4
+CATEGORIES= www
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= HTTP client engine
+LICENSE= mit
+
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../www/hs-cookie/buildlink3.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-memory/buildlink3.mk"
+.include "../../net/hs-mime-types/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/hs-http-client/buildlink3.mk b/www/hs-http-client/buildlink3.mk
new file mode 100644
index 00000000000..750139abf2f
--- /dev/null
+++ b/www/hs-http-client/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/16 13:37:14 pho Exp $
+
+BUILDLINK_TREE+= hs-http-client
+
+.if !defined(HS_HTTP_CLIENT_BUILDLINK3_MK)
+HS_HTTP_CLIENT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-http-client+= hs-http-client>=0.6.4
+BUILDLINK_ABI_DEPENDS.hs-http-client+= hs-http-client>=0.6.4
+BUILDLINK_PKGSRCDIR.hs-http-client?= ../../www/hs-http-client
+
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../www/hs-cookie/buildlink3.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-memory/buildlink3.mk"
+.include "../../net/hs-mime-types/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.endif # HS_HTTP_CLIENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-http-client
diff --git a/www/hs-http-client/distinfo b/www/hs-http-client/distinfo
new file mode 100644
index 00000000000..134ffe72491
--- /dev/null
+++ b/www/hs-http-client/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/16 13:37:14 pho Exp $
+
+SHA1 (http-client-0.6.4.tar.gz) = 446afb8c65a99b44082b65fb8f73cfd84e7f8000
+RMD160 (http-client-0.6.4.tar.gz) = e7b2df26918ad2108f147c6222dfba9b6ac0bf8f
+SHA512 (http-client-0.6.4.tar.gz) = 0b7a16ca1932fa3a20d3f44f65a482277486af1319cf9ed3e138e0b9cc838816ee12aa677821a19e8c51f8bf675676233d8a648b3bf2c3c13f3c70a9348be90a
+Size (http-client-0.6.4.tar.gz) = 89810 bytes