summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-26 12:30:00 +0000
committerpho <pho@pkgsrc.org>2022-02-26 12:30:00 +0000
commit380aa6d021bb09c872872eefdbdd46800f436197 (patch)
tree1db159f8aa3cb699424307ed37d3ab6c9ff2d2a8 /devel
parent4178ddbf90900b221eaa5a372ce87a011e8947f5 (diff)
downloadpkgsrc-380aa6d021bb09c872872eefdbdd46800f436197.tar.gz
devel/hs-shelly: import hs-shelly-1.10.0
Shelly provides a single module for convenient systems programming in Haskell. * Shelly is aimed at convenience and getting things done rather than being a demonstration of elegance. * It has detailed and useful error messages. * It maintains its own environment, making it thread-safe. * It has low memory usage: It has * run_ and other underscore variants that do not return stdout, * runFoldLines to run a fold operation over each line rather than loading all of stdout into memory, * runHandle and runHandles for complete control over handles. The focus of this library on convenience combined with good error messages should make shelly approachable for newer users of Haskell.
Diffstat (limited to 'devel')
-rw-r--r--devel/hs-shelly/DESCR15
-rw-r--r--devel/hs-shelly/Makefile18
-rw-r--r--devel/hs-shelly/PLIST64
-rw-r--r--devel/hs-shelly/buildlink3.mk21
-rw-r--r--devel/hs-shelly/distinfo5
5 files changed, 123 insertions, 0 deletions
diff --git a/devel/hs-shelly/DESCR b/devel/hs-shelly/DESCR
new file mode 100644
index 00000000000..26a200fed88
--- /dev/null
+++ b/devel/hs-shelly/DESCR
@@ -0,0 +1,15 @@
+Shelly provides a single module for convenient systems programming in
+Haskell.
+
+* Shelly is aimed at convenience and getting things done rather than being
+ a demonstration of elegance.
+* It has detailed and useful error messages.
+* It maintains its own environment, making it thread-safe.
+* It has low memory usage: It has
+ * run_ and other underscore variants that do not return stdout,
+ * runFoldLines to run a fold operation over each line rather than loading
+ all of stdout into memory,
+ * runHandle and runHandles for complete control over handles.
+
+The focus of this library on convenience combined with good error messages
+should make shelly approachable for newer users of Haskell.
diff --git a/devel/hs-shelly/Makefile b/devel/hs-shelly/Makefile
new file mode 100644
index 00000000000..39b68af12df
--- /dev/null
+++ b/devel/hs-shelly/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/02/26 12:30:00 pho Exp $
+
+DISTNAME= shelly-1.10.0
+CATEGORIES= devel
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Shell-like (systems) programming in Haskell
+LICENSE= modified-bsd
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-enclosed-exceptions/buildlink3.mk"
+.include "../../devel/hs-lifted-async/buildlink3.mk"
+.include "../../devel/hs-lifted-base/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-unix-compat/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-shelly/PLIST b/devel/hs-shelly/PLIST
new file mode 100644
index 00000000000..fb45ecb957a
--- /dev/null
+++ b/devel/hs-shelly/PLIST
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/26 12:30:00 pho Exp $
+lib/shelly-${PKGVERSION}/${HS_VERSION}/package-description
+lib/shelly-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Base.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Base.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Base.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Directory.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Directory.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Directory.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Find.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Find.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Find.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Lifted.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Lifted.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Lifted.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Pipe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Pipe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Pipe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Unix.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Unix.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Unix.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}/shelly-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Lifted.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Pipe.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Unix.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-45.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-60.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-K.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-Q.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/shelly.haddock
+share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-shelly/buildlink3.mk b/devel/hs-shelly/buildlink3.mk
new file mode 100644
index 00000000000..dbfd8e44d94
--- /dev/null
+++ b/devel/hs-shelly/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/26 12:30:00 pho Exp $
+
+BUILDLINK_TREE+= hs-shelly
+
+.if !defined(HS_SHELLY_BUILDLINK3_MK)
+HS_SHELLY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-shelly+= hs-shelly>=1.10.0
+BUILDLINK_ABI_DEPENDS.hs-shelly+= hs-shelly>=1.10.0
+BUILDLINK_PKGSRCDIR.hs-shelly?= ../../devel/hs-shelly
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-enclosed-exceptions/buildlink3.mk"
+.include "../../devel/hs-lifted-async/buildlink3.mk"
+.include "../../devel/hs-lifted-base/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-unix-compat/buildlink3.mk"
+.endif # HS_SHELLY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-shelly
diff --git a/devel/hs-shelly/distinfo b/devel/hs-shelly/distinfo
new file mode 100644
index 00000000000..80a43e3a947
--- /dev/null
+++ b/devel/hs-shelly/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/26 12:30:00 pho Exp $
+
+BLAKE2s (shelly-1.10.0.tar.gz) = 79c1828c27393422873a833846b2f390ccc4c6d139e847fbb54ab18203499d3f
+SHA512 (shelly-1.10.0.tar.gz) = b16e410dbf96b33b28069c88375296a6516bb99ec0b35058175bc466da5b400492e96ee3ee18d9208c8a096fd97df573d63cdef1eb26142e74ea13acd02e99ca
+Size (shelly-1.10.0.tar.gz) = 73208 bytes