sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Conner Clere (598c71715d5d45ce45ca03a23f0b7b7d642ce29b)
- From: Conner Clere <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (598c71715d5d45ce45ca03a23f0b7b7d642ce29b)
- Date: Wed, 31 May 2023 04:21:57 +0000
GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:
ChangeLog | 1 +
devel/nim-lang/BUILD | 4 ++++
devel/nim-lang/DEPENDS | 4 ++++
devel/nim-lang/DETAILS | 17 +++++++++++++++++
devel/nim-lang/HISTORY | 3 +++
devel/nim-lang/INSTALL | 19 +++++++++++++++++++
6 files changed, 48 insertions(+)
New commits:
commit 598c71715d5d45ce45ca03a23f0b7b7d642ce29b
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>
devel/nim-lang: new spell, nim programming language
diff --git a/ChangeLog b/ChangeLog
index 930e2a9..f35762a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2023-05-30 Conner Clere <xenanthropy AT sourcemage.org>
* devel/algol68g: new spell, implementation of algol68 programming
language
+ * devel/nim-lang: new spell, nim programming language
2023-05-21 Pavel Vinogradov <public AT sourcemage.org>
* libs/finalcut: new spell, a text-based widget toolkit
diff --git a/devel/nim-lang/BUILD b/devel/nim-lang/BUILD
new file mode 100755
index 0000000..e184a95
--- /dev/null
+++ b/devel/nim-lang/BUILD
@@ -0,0 +1,4 @@
+default_build_make &&
+bin/nim c koch &&
+./koch boot -d:release &&
+./koch tools
diff --git a/devel/nim-lang/DEPENDS b/devel/nim-lang/DEPENDS
new file mode 100755
index 0000000..218f33c
--- /dev/null
+++ b/devel/nim-lang/DEPENDS
@@ -0,0 +1,4 @@
+depends PKG-CONFIG &&
+
+optional_depends pcre2 '' '' 'pcre2 support' &&
+optional_depends openssl '' '' 'openssl support'
diff --git a/devel/nim-lang/DETAILS b/devel/nim-lang/DETAILS
new file mode 100755
index 0000000..0196d79
--- /dev/null
+++ b/devel/nim-lang/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=nim-lang
+ VERSION=1.6.12
+ SOURCE=nim-$VERSION.tar.xz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/nim-$VERSION
+ SOURCE_URL[0]=https://nim-lang.org/download/$SOURCE
+
SOURCE_HASH=sha256:acef0b0ab773604d4d7394b68519edb74fb30f46912294b28bc27e0c7b4b4dc2
+ LICENSE[0]=MIT
+ WEB_SITE=https://nim-lang.org/
+ ENTERED=20230530
+ KEYWORDS="devel nim"
+ SHORT="nim programming language"
+cat << EOF
+Nim is a statically typed compiled systems programming language.
+It combines successful concepts from mature languages like Python,
+Ada, and Modula. Its design focuses on efficiency, expressiveness,
+and elegance (in that order of priority).
+EOF
diff --git a/devel/nim-lang/HISTORY b/devel/nim-lang/HISTORY
new file mode 100644
index 0000000..8a2afa2
--- /dev/null
+++ b/devel/nim-lang/HISTORY
@@ -0,0 +1,3 @@
+2023-05-30 Conner Clere <xenanthropy AT sourcemage.org>
+ * INSTALL, BUILD, DEPENDS, DETAILS: version 1.6.12, new spell
+
diff --git a/devel/nim-lang/INSTALL b/devel/nim-lang/INSTALL
new file mode 100755
index 0000000..599a322
--- /dev/null
+++ b/devel/nim-lang/INSTALL
@@ -0,0 +1,19 @@
+cd "${SOURCE_DIRECTORY}/bin" &&
+find . | cpio --pass-through --make-directories --unconditional --verbose \
+ "${INSTALL_ROOT}/usr/bin/" &&
+
+cd "${SOURCE_DIRECTORY}/config" &&
+find . | cpio --pass-through --make-directories --unconditional --verbose \
+ "${INSTALL_ROOT}/etc/nim/" &&
+
+#cd "${SOURCE_DIRECTORY}/doc" &&
+#find . | cpio --pass-through --make-directories --unconditional --verbose \
+# "${INSTALL_ROOT}/usr/share/nim/doc/" &&
+
+cd "${SOURCE_DIRECTORY}/lib" &&
+find . | cpio --pass-through --make-directories --unconditional --verbose \
+ "${INSTALL_ROOT}/usr/lib/nim/" &&
+
+cd "${SOURCE_DIRECTORY}/compiler" &&
+find . | cpio --pass-through --make-directories --unconditional --verbose \
+ "${INSTALL_ROOT}/opt/nimble/pkgs/nim-${VERSION}/compiler/"
- [SM-Commit] GIT changes to master grimoire by Conner Clere (598c71715d5d45ce45ca03a23f0b7b7d642ce29b), Conner Clere, 05/31/2023
Archive powered by MHonArc 2.6.24.