pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import the Carp language -- still a work in progress



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Wed Dec 30 15:28:46 2020 -0800
Changeset:	e03df52dfe10fe5dcefc26fa0801dc1509d0b849

Added Files:
	hs-carp/DESCR
	hs-carp/Makefile
	hs-carp/TODO
	hs-carp/distinfo

Log Message:
Import the Carp language -- still a work in progress

Be sure to take a look at the TODOs -- This seems to work for me, but
there's still some work left to be done

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e03df52dfe10fe5dcefc26fa0801dc1509d0b849

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 hs-carp/DESCR    | 13 +++++++++++++
 hs-carp/Makefile | 28 ++++++++++++++++++++++++++++
 hs-carp/TODO     |  8 ++++++++
 hs-carp/distinfo |  6 ++++++
 4 files changed, 55 insertions(+)

diffs:
diff --git a/hs-carp/DESCR b/hs-carp/DESCR
new file mode 100644
index 0000000000..c0de5a49a6
--- /dev/null
+++ b/hs-carp/DESCR
@@ -0,0 +1,13 @@
+Carp is a programming language designed to work well for interactive and
+performance sensitive use cases like games, sound synthesis and
+visualizations.
+
+The key features of Carp are the following:
+
+- Automatic and deterministic memory management (no garbage collector or VM)
+- Inferred static types for great speed and reliability
+- Ownership tracking enables a functional programming style while still
+  using mutation of cache-friendly data structures under the hood
+- No hidden performance penalties – allocation and copying are explicit
+- Straightforward integration with existing C code
+- Lisp macros, compile time scripting and a helpful REPL
diff --git a/hs-carp/Makefile b/hs-carp/Makefile
new file mode 100644
index 0000000000..426a054050
--- /dev/null
+++ b/hs-carp/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	carp-0.4.8
+CATEGORIES=	lang
+#MASTER_SITES=	${MASTER_SITE_GITHUB:=carp-lang/}
+MASTER_SITES+=	${MASTER_SITE_GITHUB:=dressupgeekout/}
+GITHUB_PROJECT=	Carp
+#GITHUB_TAG=	v${PKGVERSION_NOREV}
+GITHUB_TAG=	00757580ecf6ca1fe5fce62908ae21fd3d3b36bf
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+COMMENT=	A statically typed Lisp
+LICENSE=	apache-2.0
+
+NOT_PAX_MPROTECT_SAFE+=	bin/carp
+NOT_PAX_MPROTECT_SAFE+=	bin/carp-header-parse
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../textproc/hs-blaze-markup/buildlink3.mk"
+.include "../../textproc/hs-edit-distance/buildlink3.mk"
+.include "../../wip/hs-cmark/buildlink3.mk"
+.include "../../wip/hs-open-browser/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/hs-carp/TODO b/hs-carp/TODO
new file mode 100644
index 0000000000..013269ae37
--- /dev/null
+++ b/hs-carp/TODO
@@ -0,0 +1,8 @@
+- (30 Dec 2020) charlotte: NetBSD support has not yet been merged upstream,
+  see https://github.com/carp-lang/Carp/pull/1109
+
+- (30 Dec 2020) charlotte: Need to upgrade devel/hs-ansi-terminal to 0.10.3
+  -- works for me, locally
+
+- (30 Dec 2020) charlotte: Should probably find a way to ship a complete
+  CARP_DIR, too
diff --git a/hs-carp/distinfo b/hs-carp/distinfo
new file mode 100644
index 0000000000..5f3b55b9bf
--- /dev/null
+++ b/hs-carp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 70c1b80b574358e351d009ba4e6e31fc39028497
+RMD160 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 89530213ea066b0dec66c3f41109a2210cca6d53
+SHA512 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = a268b8ef6ffff6da1d4187de21a6e4fc752fdf22f040c160bc1a5140d1618d805c587cddb9b253615cf4f7e0e0a1a29091ea4b97eac45279672639be80812da8
+Size (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 4903252 bytes


Home | Main Index | Thread Index | Old Index