pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lang/nim: update to version 2.4.2
Module Name: pkgsrc-wip
Committed By: arcathrax <ivan%ivanpollak.com@localhost>
Pushed By: arcathrax
Date: Sun Nov 15 16:23:17 2026 +0100
Changeset: b5c1915ecb28876b0b38e238dfd4d870b48c388e
Added Files:
nim/DESCR
nim/Makefile
nim/PLIST
nim/PLIST.doc
nim/buildlink3.mk
nim/distinfo
nim/options.mk
nim/patches/patch-dist_nimble_src_nimblepkg_downloadnim.nim
nim/patches/patch-dist_nimble_vendor_chronos_chronos_sendfile.nim
Log Message:
lang/nim: update to version 2.4.2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5c1915ecb28876b0b38e238dfd4d870b48c388e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nim/DESCR | 11 +
nim/Makefile | 138 ++++
nim/PLIST | 552 +++++++++++++
nim/PLIST.doc | 900 +++++++++++++++++++++
nim/buildlink3.mk | 14 +
nim/distinfo | 16 +
nim/options.mk | 32 +
...patch-dist_nimble_src_nimblepkg_downloadnim.nim | 16 +
...dist_nimble_vendor_chronos_chronos_sendfile.nim | 19 +
9 files changed, 1698 insertions(+)
diffs:
diff --git a/nim/DESCR b/nim/DESCR
new file mode 100644
index 0000000000..063ab39e40
--- /dev/null
+++ b/nim/DESCR
@@ -0,0 +1,11 @@
+Nim (formerly known as "Nimrod") is a statically typed, imperative
+programming language that tries to give the programmer ultimate power
+without compromises on runtime efficiency. This means it focuses on
+compile-time mechanisms in all their various forms.
+
+Beneath a nice infix/indentation based syntax with a powerful (AST based,
+hygienic) macro system lies a semantic model that supports a soft realtime
+GC on thread local heaps. Asynchronous message passing is used between
+threads, so no "stop the world" mechanism is necessary. An unsafe shared
+memory heap is also provided for the increased efficiency that results from
+that model.
diff --git a/nim/Makefile b/nim/Makefile
new file mode 100644
index 0000000000..da8eb08ff1
--- /dev/null
+++ b/nim/Makefile
@@ -0,0 +1,138 @@
+# $NetBSD: Makefile,v 1.39 2026/11/11 11:54:14 wiz Exp $
+
+# Nim is quite a weird language to package, meaning that the official packaging
+# guideline recommends using a tarball that is created via a CI and also
+# because the bootstrap script uses git to clone some submodules. It however
+# seems that both of those weridinesses can be bypassed, for once because
+# just downloading the nim from the homepage is the same version as the one
+# that the CI created (checksums matched) and the git clone only happens if
+# the submodules are not already present. Because of this, we pull not only
+# the nim tarball but also the ones for:
+#
+# - Atlas (Package cloner, that manages project dependencies in an isolated
+# deps/ directory)
+# - sat (SAT solver written in nim)
+#
+# When taking a look at `koch.nim` in the source tree of nim, we can see, that
+# these packages are not pinned to a version but rather a commit hash. We do
+# the same with the `*_TAG` variables. Afterwards we add the needed
+# `*_DISTFILE`'s to the distfiles and extract them into the root. Furthermore
+# we then move the extracted folders to the correct location in `post-extract`.
+#
+# Helpful sources:
+# - https://nim-lang.github.io/Nim/packaging.html
+# - `koch.nim` in the source tree
+
+DISTNAME= nim-2.4.2
+CATEGORIES= lang
+MASTER_SITES= http://nim-lang.org/download/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://nim-lang.org/
+COMMENT= The Nim programming language
+LICENSE= mit
+
+ATLAS_TAG= aa6fb162006f3015aa84c4305e15cb4d230f5ad6
+SAT_TAG= 9d52513b3c68bfb929dbd687d4fb2836cfee6936
+NIMBLE_TAG= 302a71139254b43b1488d65de111b6734d1a7490
+
+GH_SFX= .tar.gz
+
+ATLAS_DISTNAME= atlas-${ATLAS_TAG}
+SAT_DISTNAME= sat-${SAT_TAG}
+NIMBLE_DISTNAME=nimble-${NIMBLE_TAG}
+
+ATLAS_DISTFILE= ${ATLAS_DISTNAME}${GH_SFX}
+SAT_DISTFILE= ${SAT_DISTNAME}${GH_SFX}
+NIMBLE_DISTFILE=${NIMBLE_DISTNAME}${GH_SFX}
+
+DISTFILES= ${DEFAULT_DISTFILES}
+DISTFILES+= ${ATLAS_DISTFILE}
+DISTFILES+= ${SAT_DISTFILE}
+DISTFILES+= ${NIMBLE_DISTFILE}
+
+SITES.${ATLAS_DISTFILE}= -${MASTER_SITE_GITHUB:=nim-lang/atlas/archive/}${ATLAS_TAG}${GH_SFX}
+SITES.${SAT_DISTFILE}= -${MASTER_SITE_GITHUB:=nim-lang/sat/archive/}${SAT_TAG}${GH_SFX}
+SITES.${NIMBLE_DISTFILE}= -${MASTER_SITE_GITHUB:=nim-lang/nimble/archive/}${NIMBLE_TAG}${GH_SFX}
+
+EXTRACT_DIR.${ATLAS_DISTFILE}= ${WRKSRC}
+EXTRACT_DIR.${SAT_DISTFILE}= ${WRKSRC}
+EXTRACT_DIR.${NIMBLE_DISTFILE}= ${WRKSRC}
+
+DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
+
+USE_TOOLS+= bash gmake
+REPLACE_BASH+= bin/nim-gdb
+
+USE_LANGUAGES= c
+
+# SUBST_CLASSES+= paths
+# SUBST_STAGE.paths= pre-configure
+# SUBST_FILES.paths= config/nim.cfg
+# SUBST_SED.paths= -e 's,/usr/pkg,${PREFIX},g'
+
+# Nim doesn't automatically passes LDFLAGS/CFLAGS variables to the compiler
+# but rather uses its own --passL/--passC flags. The two lines below translate
+# the flags so the nim compiler actually uses them.
+NIM_FLAGS= ${LDFLAGS:S/^/--passL:/}
+NIM_FLAGS+= ${CFLAGS:S/^/--passC:/}
+
+INSTALLATION_DIRS+= bin
+
+post-extract:
+ # TODO: csources for cross-building?
+ # ${MV} ${WRKSRC}/csources_v2-${C2VERSION_TAG} ${WRKSRC}/csources_v2
+
+ ${MKDIR} ${WRKSRC}/dist
+ ${MV} ${WRKSRC}/atlas-${ATLAS_TAG} ${WRKSRC}/dist/atlas
+
+ ${MV} ${WRKSRC}/nimble-${NIMBLE_TAG} ${WRKSRC}/dist/nimble
+
+ ${MKDIR} ${WRKSRC}/dist/atlas/dist
+ ${MV} ${WRKSRC}/sat-${SAT_TAG} ${WRKSRC}/dist/atlas/dist/sat
+
+
+do-build:
+ cd ${WRKSRC} && ${GMAKE}
+
+ # build koch
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./bin/nim c \
+ -d:release \
+ --parallelBuild:${_MAKE_JOBS_N} \
+ koch
+
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./koch \
+ boot \
+ -d:release \
+ --parallelBuild:${_MAKE_JOBS_N} \
+ ${NIM_FLAGS}
+
+ # Build tools
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./koch \
+ tools \
+ -d:release \
+ --parallelBuild:${_MAKE_JOBS_N} \
+ ${NIM_FLAGS}
+
+
+# The test suite will fail, however it may work in the future. For now, this
+# is commented out.
+# do-test:
+# cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./koch \
+# tests \
+# --pedantic \
+# --targets="c js" \
+# all
+
+
+do-install:
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./install.sh \
+ ${DESTDIR}${PREFIX}
+
+.for fn in nim nimble nimsuggest nimgrep
+ ${LN} -sf ${DESTDIR}${PREFIX}/nim/bin/${fn} ${DESTDIR}${PREFIX}/bin/${fn}
+.endfor
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nim/PLIST b/nim/PLIST
new file mode 100644
index 0000000000..657fe70463
--- /dev/null
+++ b/nim/PLIST
@@ -0,0 +1,552 @@
+@comment $NetBSD$
+bin/nim
+bin/nimble
+bin/nimgrep
+bin/nimsuggest
+nim/bin/nim
+nim/compiler/aliasanalysis.nim
+nim/compiler/aliases.nim
+nim/compiler/ast.nim
+nim/compiler/ast2nif.nim
+nim/compiler/astalgo.nim
+nim/compiler/astdef.nim
+nim/compiler/astmsgs.nim
+nim/compiler/astyaml.nim
+nim/compiler/bitsets.nim
+nim/compiler/btrees.nim
+nim/compiler/cbuilderbase.nim
+nim/compiler/cbuilderdecls.nim
+nim/compiler/cbuilderexprs.nim
+nim/compiler/cbuilderstmts.nim
+nim/compiler/ccgcalls.nim
+nim/compiler/ccgexprs.nim
+nim/compiler/ccgliterals.nim
+nim/compiler/ccgmerge_unused.nim
+nim/compiler/ccgreset.nim
+nim/compiler/ccgstmts.nim
+nim/compiler/ccgthreadvars.nim
+nim/compiler/ccgtrav.nim
+nim/compiler/ccgtypes.nim
+nim/compiler/ccgutils.nim
+nim/compiler/cgen.nim
+nim/compiler/cgendata.nim
+nim/compiler/cgmeth.nim
+nim/compiler/closureiters.nim
+nim/compiler/cmdlinehelper.nim
+nim/compiler/cnif.nim
+nim/compiler/commands.nim
+nim/compiler/compiler.nimble
+nim/compiler/concepts.nim
+nim/compiler/concurrency.nim
+nim/compiler/condsyms.nim
+nim/compiler/debuginfo.nim
+nim/compiler/debugutils.nim
+nim/compiler/depends.nim
+nim/compiler/deps.nim
+nim/compiler/dfa.nim
+nim/compiler/docgen.nim
+nim/compiler/docgen2.nim
+nim/compiler/enumtostr.nim
+nim/compiler/errorhandling.nim
+nim/compiler/evaltempl.nim
+nim/compiler/expanddefaults.nim
+nim/compiler/extccomp.nim
+nim/compiler/filter_tmpl.nim
+nim/compiler/filters.nim
+nim/compiler/gorgeimpl.nim
+nim/compiler/guards.nim
+nim/compiler/hlo.nim
+nim/compiler/ic/enum2nif.nim
+nim/compiler/ic/replayer.nim
+nim/compiler/ic/sharedcounters.nim
+nim/compiler/icbif.nim
+nim/compiler/icconfig.nim
+nim/compiler/icmodnames.nim
+nim/compiler/icnifcore.nim
+nim/compiler/icprof.nim
+nim/compiler/idents.nim
+nim/compiler/idetools.nim
+nim/compiler/importer.nim
+nim/compiler/index.nim
+nim/compiler/injectdestructors.nim
+nim/compiler/inliner.nim
+nim/compiler/installer.ini
+nim/compiler/int128.nim
+nim/compiler/isolation_check.nim
+nim/compiler/itemids.nim
+nim/compiler/jsgen.nim
+nim/compiler/jstypes.nim
+nim/compiler/lambdalifting.nim
+nim/compiler/layeredtable.nim
+nim/compiler/layouter.nim
+nim/compiler/lexer.nim
+nim/compiler/liftdestructors.nim
+nim/compiler/liftlocals.nim
+nim/compiler/lineinfos.nim
+nim/compiler/linter.nim
+nim/compiler/llstream.nim
+nim/compiler/lookups.nim
+nim/compiler/lowerings.nim
+nim/compiler/macrocacheimpl.nim
+nim/compiler/magicsys.nim
+nim/compiler/main.nim
+nim/compiler/mangleutils.nim
+nim/compiler/mapping.txt
+nim/compiler/modulegraphs.nim
+nim/compiler/modulepaths.nim
+nim/compiler/modules.nim
+nim/compiler/msgs.nim
+nim/compiler/nifbackend.nim
+nim/compiler/nifgen.nim
+nim/compiler/nifstreams.nim
+nim/compiler/nilcheck.nim
+nim/compiler/nim.cfg
+nim/compiler/nim.nim
+nim/compiler/nimblecmd.nim
+nim/compiler/nimconf.nim
+nim/compiler/nimeval.nim
+nim/compiler/nimlexbase.nim
+nim/compiler/nimpaths.nim
+nim/compiler/nimsets.nim
+nim/compiler/nodejs.nim
+nim/compiler/nodekinds.nim
+nim/compiler/nversion.nim
+nim/compiler/optimizer.nim
+nim/compiler/options.nim
+nim/compiler/packagehandling.nim
+nim/compiler/packages.nim
+nim/compiler/parampatterns.nim
+nim/compiler/parser.nim
+nim/compiler/passaux.nim
+nim/compiler/passes.nim
+nim/compiler/pathcache.nim
+nim/compiler/pathutils.nim
+nim/compiler/patterns.nim
+nim/compiler/pipelines.nim
+nim/compiler/pipelineutils.nim
+nim/compiler/platform.nim
+nim/compiler/plugins/active.nim
+nim/compiler/plugins/customast.nim
+nim/compiler/plugins/itersgen.nim
+nim/compiler/plugins/locals.nim
+nim/compiler/plugins/plugins.nimble
+nim/compiler/pluginsupport.nim
+nim/compiler/pragmas.nim
+nim/compiler/prefixmatches.nim
+nim/compiler/procfind.nim
+nim/compiler/pushpoppragmas.nim
+nim/compiler/readme.md
+nim/compiler/renderer.nim
+nim/compiler/renderverbatim.nim
+nim/compiler/reorder.nim
+nim/compiler/rodutils.nim
+nim/compiler/ropes.nim
+nim/compiler/saturate.nim
+nim/compiler/scriptconfig.nim
+nim/compiler/sem.nim
+nim/compiler/semcall.nim
+nim/compiler/semdata.nim
+nim/compiler/semexprs.nim
+nim/compiler/semfields.nim
+nim/compiler/semfold.nim
+nim/compiler/semgnrc.nim
+nim/compiler/seminst.nim
+nim/compiler/semmacrosanity.nim
+nim/compiler/semmagic.nim
+nim/compiler/semobjconstr.nim
+nim/compiler/semparallel.nim
+nim/compiler/sempass2.nim
+nim/compiler/semstmts.nim
+nim/compiler/semstrictfuncs.nim
+nim/compiler/semtempl.nim
+nim/compiler/semtypes.nim
+nim/compiler/semtypinst.nim
+nim/compiler/sighashes.nim
+nim/compiler/sigmatch.nim
+nim/compiler/sinkparameter_inference.nim
+nim/compiler/sizealignoffsetimpl.nim
+nim/compiler/sourcemap.nim
+nim/compiler/spawn.nim
+nim/compiler/suggest.nim
+nim/compiler/suggestsymdb.nim
+nim/compiler/syntaxes.nim
+nim/compiler/tccgen.nim
+nim/compiler/transf.nim
+nim/compiler/trees.nim
+nim/compiler/treetab.nim
+nim/compiler/typeallowed.nim
+nim/compiler/typekeys.nim
+nim/compiler/types.nim
+nim/compiler/typesrenderer.nim
+nim/compiler/varpartitions.nim
+nim/compiler/vm.nim
+nim/compiler/vmconv.nim
+nim/compiler/vmdef.nim
+nim/compiler/vmdeps.nim
+nim/compiler/vmffi.nim
+nim/compiler/vmgen.nim
+nim/compiler/vmhooks.nim
+nim/compiler/vmlayout.nim
+nim/compiler/vmmarshal.nim
+nim/compiler/vmmem.nim
+nim/compiler/vmops.nim
+nim/compiler/vmprofiler.nim
+nim/compiler/vmvalue.nim
+nim/compiler/vtables.nim
+nim/compiler/wordrecg.nim
+nim/config/config.nims
+nim/config/nim.cfg
+nim/config/nimdoc.cfg
+nim/config/nimdoc.tex.cfg
+nim/config/rename.rules.cfg
+nim/doc/advopt.txt
+nim/doc/basicopt.txt
+nim/doc/nimdoc.cls
+nim/doc/nimdoc.css
+nim/lib/arch/x86/amd64.S
+nim/lib/arch/x86/i386.S
+nim/lib/core/hotcodereloading.nim
+nim/lib/core/locks.nim
+nim/lib/core/macrocache.nim
+nim/lib/core/macros.nim
+nim/lib/core/rlocks.nim
+nim/lib/core/typeinfo.nim
+nim/lib/cycle.h
+nim/lib/deprecated/pure/future.nim
+nim/lib/deprecated/pure/mersenne.nim
+nim/lib/deprecated/pure/ospaths.nim
+nim/lib/deprecated/pure/oswalkdir.nim
+nim/lib/deprecated/pure/sums.nim
+nim/lib/deps.txt
+nim/lib/experimental/diff.nim
+nim/lib/genode/alloc.nim
+nim/lib/genode/constructibles.nim
+nim/lib/genode/entrypoints.nim
+nim/lib/genode/env.nim
+nim/lib/genode/signals.nim
+nim/lib/genode_cpp/signals.h
+nim/lib/genode_cpp/syslocks.h
+nim/lib/genode_cpp/threads.h
+nim/lib/impure/nre.nim
+nim/lib/impure/nre/private/util.nim
+nim/lib/impure/rdstdin.nim
+nim/lib/impure/re.nim
+nim/lib/js/asyncjs.nim
+nim/lib/js/dom.nim
+nim/lib/js/jsconsole.nim
+nim/lib/js/jscore.nim
+nim/lib/js/jsffi.nim
+nim/lib/js/jsre.nim
+nim/lib/nimbase.h
+nim/lib/nimhcr.nim
+nim/lib/nimhcr.nim.cfg
+nim/lib/nimrtl.nim
+nim/lib/nimrtl.nim.cfg
+nim/lib/packages/docutils/dochelpers.nim
+nim/lib/packages/docutils/docutils.nimble.old
+nim/lib/packages/docutils/highlite.nim
+nim/lib/packages/docutils/rst.nim
+nim/lib/packages/docutils/rstast.nim
+nim/lib/packages/docutils/rstgen.nim
+nim/lib/packages/docutils/rstidx.nim
+nim/lib/posix/epoll.nim
+nim/lib/posix/inotify.nim
+nim/lib/posix/kqueue.nim
+nim/lib/posix/linux.nim
+nim/lib/posix/posix.nim
+nim/lib/posix/posix_freertos_consts.nim
+nim/lib/posix/posix_haiku.nim
+nim/lib/posix/posix_linux_amd64.nim
+nim/lib/posix/posix_linux_amd64_consts.nim
+nim/lib/posix/posix_macos_amd64.nim
+nim/lib/posix/posix_nintendoswitch.nim
+nim/lib/posix/posix_nintendoswitch_consts.nim
+nim/lib/posix/posix_openbsd_amd64.nim
+nim/lib/posix/posix_other.nim
+nim/lib/posix/posix_other_consts.nim
+nim/lib/posix/posix_utils.nim
+nim/lib/posix/termios.nim
+nim/lib/pure/algorithm.nim
+nim/lib/pure/async.nim
+nim/lib/pure/asyncdispatch.nim
+nim/lib/pure/asyncdispatch.nim.cfg
+nim/lib/pure/asyncfile.nim
+nim/lib/pure/asyncfutures.nim
+nim/lib/pure/asynchttpserver.nim
+nim/lib/pure/asyncmacro.nim
+nim/lib/pure/asyncnet.nim
+nim/lib/pure/asyncstreams.nim
+nim/lib/pure/base64.nim
+nim/lib/pure/bitops.nim
+nim/lib/pure/browsers.nim
+nim/lib/pure/cgi.nim
+nim/lib/pure/collections/chains.nim
+nim/lib/pure/collections/critbits.nim
+nim/lib/pure/collections/deques.nim
+nim/lib/pure/collections/hashcommon.nim
+nim/lib/pure/collections/heapqueue.nim
+nim/lib/pure/collections/intsets.nim
+nim/lib/pure/collections/lists.nim
+nim/lib/pure/collections/rtarrays.nim
+nim/lib/pure/collections/sequtils.nim
+nim/lib/pure/collections/setimpl.nim
+nim/lib/pure/collections/sets.nim
+nim/lib/pure/collections/sharedlist.nim
+nim/lib/pure/collections/sharedtables.nim
+nim/lib/pure/collections/tableimpl.nim
+nim/lib/pure/collections/tables.nim
+nim/lib/pure/colors.nim
+nim/lib/pure/complex.nim
+nim/lib/pure/concurrency/atomics.nim
+nim/lib/pure/concurrency/cpuinfo.nim
+nim/lib/pure/concurrency/cpuload.nim
+nim/lib/pure/concurrency/threadpool.nim
+nim/lib/pure/concurrency/threadpool.nim.cfg
+nim/lib/pure/cookies.nim
+nim/lib/pure/coro.nim
+nim/lib/pure/coro.nimcfg
+nim/lib/pure/cstrutils.nim
+nim/lib/pure/distros.nim
+nim/lib/pure/dynlib.nim
+nim/lib/pure/encodings.nim
+nim/lib/pure/endians.nim
+nim/lib/pure/fenv.nim
+nim/lib/pure/hashes.nim
+nim/lib/pure/htmlgen.nim
+nim/lib/pure/htmlparser.nim
+nim/lib/pure/httpclient.nim
+nim/lib/pure/httpcore.nim
+nim/lib/pure/includes/unicode_ranges.nim
+nim/lib/pure/ioselects/ioselectors_epoll.nim
+nim/lib/pure/ioselects/ioselectors_kqueue.nim
+nim/lib/pure/ioselects/ioselectors_poll.nim
+nim/lib/pure/ioselects/ioselectors_select.nim
+nim/lib/pure/json.nim
+nim/lib/pure/lenientops.nim
+nim/lib/pure/lexbase.nim
+nim/lib/pure/logging.nim
+nim/lib/pure/marshal.nim
+nim/lib/pure/math.nim
+nim/lib/pure/md5.nim
+nim/lib/pure/memfiles.nim
+nim/lib/pure/mimetypes.nim
+nim/lib/pure/nativesockets.nim
+nim/lib/pure/net.nim
+nim/lib/pure/nimprof.nim
+nim/lib/pure/nimprof.nim.cfg
+nim/lib/pure/oids.nim
+nim/lib/pure/options.nim
+nim/lib/pure/os.nim
+nim/lib/pure/osproc.nim
+nim/lib/pure/parsecfg.nim
+nim/lib/pure/parsecsv.nim
+nim/lib/pure/parsejson.nim
+nim/lib/pure/parseopt.nim
+nim/lib/pure/parsesql.nim
+nim/lib/pure/parseutils.nim
+nim/lib/pure/parsexml.nim
+nim/lib/pure/pathnorm.nim
+nim/lib/pure/pegs.nim
+nim/lib/pure/prelude.nim
+nim/lib/pure/random.nim
+nim/lib/pure/rationals.nim
+nim/lib/pure/reservedmem.nim
+nim/lib/pure/ropes.nim
+nim/lib/pure/segfaults.nim
+nim/lib/pure/selectors.nim
+nim/lib/pure/ssl_certs.nim
+nim/lib/pure/ssl_config.nim
+nim/lib/pure/stats.nim
+nim/lib/pure/streams.nim
+nim/lib/pure/streamwrapper.nim
+nim/lib/pure/strformat.nim
+nim/lib/pure/strmisc.nim
+nim/lib/pure/strscans.nim
+nim/lib/pure/strtabs.nim
+nim/lib/pure/strutils.nim
+nim/lib/pure/sugar.nim
+nim/lib/pure/terminal.nim
+nim/lib/pure/times.nim
+nim/lib/pure/typetraits.nim
+nim/lib/pure/unicode.nim
+nim/lib/pure/unidecode/gen.py
+nim/lib/pure/unidecode/unidecode.dat
+nim/lib/pure/unidecode/unidecode.nim
+nim/lib/pure/unittest.nim
+nim/lib/pure/uri.nim
+nim/lib/pure/volatile.nim
+nim/lib/pure/xmlparser.nim
+nim/lib/pure/xmltree.nim
+nim/lib/std/appdirs.nim
+nim/lib/std/assertions.nim
+nim/lib/std/cmdline.nim
+nim/lib/std/compilesettings.nim
+nim/lib/std/decls.nim
+nim/lib/std/dirs.nim
+nim/lib/std/editdistance.nim
+nim/lib/std/effecttraits.nim
+nim/lib/std/enumerate.nim
+nim/lib/std/enumutils.nim
+nim/lib/std/envvars.nim
+nim/lib/std/exitprocs.nim
+nim/lib/std/files.nim
+nim/lib/std/formatfloat.nim
+nim/lib/std/genasts.nim
+nim/lib/std/importutils.nim
+nim/lib/std/isolation.nim
+nim/lib/std/jsbigints.nim
+nim/lib/std/jsfetch.nim
+nim/lib/std/jsformdata.nim
+nim/lib/std/jsheaders.nim
+nim/lib/std/jsonutils.nim
+nim/lib/std/logic.nim
+nim/lib/std/monotimes.nim
+nim/lib/std/nre2.nim
+nim/lib/std/nre2.nims
+nim/lib/std/objectdollar.nim
+nim/lib/std/oserrors.nim
+nim/lib/std/outparams.nim
+nim/lib/std/packedsets.nim
+nim/lib/std/paths.nim
+nim/lib/std/private/asciitables.nim
+nim/lib/std/private/bitops_utils.nim
+nim/lib/std/private/decode_helpers.nim
+nim/lib/std/private/digitsutils.nim
+nim/lib/std/private/dragonbox.nim
+nim/lib/std/private/gitutils.nim
+nim/lib/std/private/globs.nim
+nim/lib/std/private/jsutils.nim
+nim/lib/std/private/miscdollars.nim
+nim/lib/std/private/ntpath.nim
+nim/lib/std/private/osappdirs.nim
+nim/lib/std/private/oscommon.nim
+nim/lib/std/private/osdirs.nim
+nim/lib/std/private/osfiles.nim
+nim/lib/std/private/ospaths2.nim
+nim/lib/std/private/osseps.nim
+nim/lib/std/private/ossymlinks.nim
+nim/lib/std/private/schubfach.nim
+nim/lib/std/private/since.nim
+nim/lib/std/private/strimpl.nim
+nim/lib/std/private/syslocks.nim
+nim/lib/std/private/threadtypes.nim
+nim/lib/std/private/underscored_calls.nim
+nim/lib/std/private/win_getsysteminfo.nim
+nim/lib/std/private/win_setenv.nim
+nim/lib/std/setutils.nim
+nim/lib/std/sha1.nim
+nim/lib/std/socketstreams.nim
+nim/lib/std/stackframes.nim
+nim/lib/std/staticos.nim
+nim/lib/std/strbasics.nim
+nim/lib/std/symlinks.nim
+nim/lib/std/syncio.nim
+nim/lib/std/sysatomics.nim
+nim/lib/std/sysrand.nim
+nim/lib/std/tasks.nim
+nim/lib/std/tempfiles.nim
+nim/lib/std/time_t.nim
+nim/lib/std/typedthreads.nim
+nim/lib/std/varints.nim
+nim/lib/std/vmutils.nim
+nim/lib/std/widestrs.nim
+nim/lib/std/with.nim
+nim/lib/std/wordwrap.nim
+nim/lib/std/wrapnils.nim
+nim/lib/stdlib.nimble
+nim/lib/system.nim
+nim/lib/system/alloc.nim
+nim/lib/system/ansi_c.nim
+nim/lib/system/arc.nim
+nim/lib/system/arithmetics.nim
+nim/lib/system/assign.nim
+nim/lib/system/avltree.nim
+nim/lib/system/basic_types.nim
+nim/lib/system/bitmasks.nim
+nim/lib/system/cellseqs_v1.nim
+nim/lib/system/cellseqs_v2.nim
+nim/lib/system/cellsets.nim
+nim/lib/system/cgprocs.nim
+nim/lib/system/channels_builtin.nim
+nim/lib/system/chcks.nim
+nim/lib/system/comparisons.nim
+nim/lib/system/compilation.nim
+nim/lib/system/coro_detection.nim
+nim/lib/system/countbits_impl.nim
+nim/lib/system/ctypes.nim
+nim/lib/system/cyclebreaker.nim
+nim/lib/system/deepcopy.nim
+nim/lib/system/dollars.nim
+nim/lib/system/dyncalls.nim
+nim/lib/system/embedded.nim
+nim/lib/system/exceptions.nim
+nim/lib/system/excpt.nim
+nim/lib/system/fatal.nim
+nim/lib/system/formatfloat.nim
+nim/lib/system/gc.nim
+nim/lib/system/gc_common.nim
+nim/lib/system/gc_hooks.nim
+nim/lib/system/gc_interface.nim
+nim/lib/system/gc_ms.nim
+nim/lib/system/gc_regions.nim
+nim/lib/system/hti.nim
+nim/lib/system/inclrtl.nim
+nim/lib/system/indexerrors.nim
+nim/lib/system/indices.nim
+nim/lib/system/integerops.nim
+nim/lib/system/integerprims.nim
+nim/lib/system/iterators.nim
+nim/lib/system/iterators_1.nim
+nim/lib/system/jssys.nim
+nim/lib/system/memalloc.nim
+nim/lib/system/memory.nim
+nim/lib/system/memtracker.nim
+nim/lib/system/mm/boehm.nim
+nim/lib/system/mm/go.nim
+nim/lib/system/mm/malloc.nim
+nim/lib/system/mm/none.nim
+nim/lib/system/mmdisp.nim
+nim/lib/system/nimscript.nim
+nim/lib/system/orc.nim
+nim/lib/system/osalloc.nim
+nim/lib/system/platforms.nim
+nim/lib/system/profiler.nim
+nim/lib/system/ptrarith.nim
+nim/lib/system/rawquits.nim
+nim/lib/system/repr.nim
+nim/lib/system/repr_impl.nim
+nim/lib/system/repr_v2.nim
+nim/lib/system/reprjs.nim
+nim/lib/system/rwlocks.nim
+nim/lib/system/seqs_v2.nim
+nim/lib/system/seqs_v2_reimpl.nim
+nim/lib/system/setops.nim
+nim/lib/system/sets.nim
+nim/lib/system/stacktraces.nim
+nim/lib/system/strmantle.nim
+nim/lib/system/strs_v2.nim
+nim/lib/system/strs_v3.nim
+nim/lib/system/sysmem.nim
+nim/lib/system/sysstr.nim
+nim/lib/system/threadids.nim
+nim/lib/system/threadimpl.nim
+nim/lib/system/threadlocalstorage.nim
+nim/lib/system/timers.nim
+nim/lib/system/yrc.nim
+nim/lib/system/yrc_opt_proof.lean
+nim/lib/system/yrc_proof.lean
+nim/lib/system/yrc_proof.tla
+nim/lib/system/yrc_tarjan_proof.lean
+nim/lib/system_overview.rst
+nim/lib/windows/registry.nim
+nim/lib/windows/winlean.nim
+nim/lib/wrappers/linenoise/LICENSE.txt
+nim/lib/wrappers/linenoise/README.markdown
+nim/lib/wrappers/linenoise/linenoise.c
+nim/lib/wrappers/linenoise/linenoise.h
+nim/lib/wrappers/linenoise/linenoise.nim
+nim/lib/wrappers/openssl.nim
+nim/lib/wrappers/pcre.nim
+nim/lib/wrappers/tinyc.nim
+nim/nim.nimble
+@pkgdir nim/data
diff --git a/nim/PLIST.doc b/nim/PLIST.doc
new file mode 100644
index 0000000000..d1462110ba
--- /dev/null
+++ b/nim/PLIST.doc
@@ -0,0 +1,900 @@
+@comment $NetBSD: PLIST.doc,v 1.1 2026/11/07 22:43:53 wiz Exp $
+share/doc/nim/algorithm.html
+share/doc/nim/algorithm.idx
+share/doc/nim/apis.html
+share/doc/nim/apis.idx
+share/doc/nim/appdirs.html
+share/doc/nim/appdirs.idx
+share/doc/nim/asciitables.html
+share/doc/nim/asciitables.idx
+share/doc/nim/assertions.html
+share/doc/nim/assertions.idx
+share/doc/nim/async.html
+share/doc/nim/async.idx
+share/doc/nim/asyncdispatch.html
+share/doc/nim/asyncdispatch.idx
+share/doc/nim/asyncfile.html
+share/doc/nim/asyncfile.idx
+share/doc/nim/asyncftpclient.html
+share/doc/nim/asyncftpclient.idx
+share/doc/nim/asyncfutures.html
+share/doc/nim/asyncfutures.idx
+share/doc/nim/asynchttpserver.html
+share/doc/nim/asynchttpserver.idx
+share/doc/nim/asyncjs.html
+share/doc/nim/asyncjs.idx
+share/doc/nim/asyncmacro.html
+share/doc/nim/asyncmacro.idx
+share/doc/nim/asyncnet.html
+share/doc/nim/asyncnet.idx
+share/doc/nim/asyncstreams.html
+share/doc/nim/asyncstreams.idx
+share/doc/nim/atlas.html
+share/doc/nim/atlas.idx
+share/doc/nim/atomics.html
+share/doc/nim/atomics.idx
+share/doc/nim/backends.html
+share/doc/nim/backends.idx
+share/doc/nim/base64.html
+share/doc/nim/base64.idx
+share/doc/nim/bcrypt.html
+share/doc/nim/bcrypt.idx
+share/doc/nim/bitops.html
+share/doc/nim/bitops.idx
+share/doc/nim/bitops_utils.html
+share/doc/nim/bitops_utils.idx
+share/doc/nim/browsers.html
+share/doc/nim/browsers.idx
+share/doc/nim/cgi.html
+share/doc/nim/cgi.idx
+share/doc/nim/chains.html
+share/doc/nim/chains.idx
+share/doc/nim/cmdline.html
+share/doc/nim/cmdline.idx
+share/doc/nim/colors.html
+share/doc/nim/colors.idx
+share/doc/nim/compiler/aliasanalysis.html
+share/doc/nim/compiler/aliasanalysis.idx
+share/doc/nim/compiler/aliases.html
+share/doc/nim/compiler/aliases.idx
+share/doc/nim/compiler/ast.html
+share/doc/nim/compiler/ast.idx
+share/doc/nim/compiler/ast2nif.html
+share/doc/nim/compiler/ast2nif.idx
+share/doc/nim/compiler/astalgo.html
+share/doc/nim/compiler/astalgo.idx
+share/doc/nim/compiler/astdef.html
+share/doc/nim/compiler/astdef.idx
+share/doc/nim/compiler/astmsgs.html
+share/doc/nim/compiler/astmsgs.idx
+share/doc/nim/compiler/astyaml.html
+share/doc/nim/compiler/astyaml.idx
+share/doc/nim/compiler/bitsets.html
+share/doc/nim/compiler/bitsets.idx
+share/doc/nim/compiler/btrees.html
+share/doc/nim/compiler/btrees.idx
+share/doc/nim/compiler/cbuilderbase.html
+share/doc/nim/compiler/cbuilderbase.idx
+share/doc/nim/compiler/ccgutils.html
+share/doc/nim/compiler/ccgutils.idx
+share/doc/nim/compiler/cgen.html
+share/doc/nim/compiler/cgen.idx
+share/doc/nim/compiler/cgendata.html
+share/doc/nim/compiler/cgendata.idx
+share/doc/nim/compiler/cgmeth.html
+share/doc/nim/compiler/cgmeth.idx
+share/doc/nim/compiler/closureiters.html
+share/doc/nim/compiler/closureiters.idx
+share/doc/nim/compiler/cmdlinehelper.html
+share/doc/nim/compiler/cmdlinehelper.idx
+share/doc/nim/compiler/cnif.html
+share/doc/nim/compiler/cnif.idx
+share/doc/nim/compiler/commands.html
+share/doc/nim/compiler/commands.idx
+share/doc/nim/compiler/concepts.html
+share/doc/nim/compiler/concepts.idx
+share/doc/nim/compiler/condsyms.html
+share/doc/nim/compiler/condsyms.idx
+share/doc/nim/compiler/depends.html
+share/doc/nim/compiler/depends.idx
+share/doc/nim/compiler/deps.html
+share/doc/nim/compiler/deps.idx
+share/doc/nim/compiler/dfa.html
+share/doc/nim/compiler/dfa.idx
+share/doc/nim/compiler/docgen.html
+share/doc/nim/compiler/docgen.idx
+share/doc/nim/compiler/docgen2.html
+share/doc/nim/compiler/docgen2.idx
+share/doc/nim/compiler/dochack.js
+share/doc/nim/compiler/enumtostr.html
+share/doc/nim/compiler/enumtostr.idx
+share/doc/nim/compiler/errorhandling.html
+share/doc/nim/compiler/errorhandling.idx
+share/doc/nim/compiler/evaltempl.html
+share/doc/nim/compiler/evaltempl.idx
+share/doc/nim/compiler/expanddefaults.html
+share/doc/nim/compiler/expanddefaults.idx
+share/doc/nim/compiler/extccomp.html
+share/doc/nim/compiler/extccomp.idx
+share/doc/nim/compiler/filter_tmpl.html
+share/doc/nim/compiler/filter_tmpl.idx
+share/doc/nim/compiler/filters.html
+share/doc/nim/compiler/filters.idx
+share/doc/nim/compiler/gorgeimpl.html
+share/doc/nim/compiler/gorgeimpl.idx
+share/doc/nim/compiler/guards.html
+share/doc/nim/compiler/guards.idx
+share/doc/nim/compiler/ic/enum2nif.html
+share/doc/nim/compiler/ic/enum2nif.idx
+share/doc/nim/compiler/ic/replayer.html
+share/doc/nim/compiler/ic/replayer.idx
+share/doc/nim/compiler/ic/sharedcounters.html
+share/doc/nim/compiler/ic/sharedcounters.idx
+share/doc/nim/compiler/icbif.html
+share/doc/nim/compiler/icbif.idx
+share/doc/nim/compiler/icconfig.html
+share/doc/nim/compiler/icconfig.idx
+share/doc/nim/compiler/icmodnames.html
+share/doc/nim/compiler/icmodnames.idx
+share/doc/nim/compiler/icnifcore.html
+share/doc/nim/compiler/icnifcore.idx
+share/doc/nim/compiler/icprof.html
+share/doc/nim/compiler/icprof.idx
+share/doc/nim/compiler/idents.html
+share/doc/nim/compiler/idents.idx
+share/doc/nim/compiler/idetools.html
+share/doc/nim/compiler/idetools.idx
+share/doc/nim/compiler/importer.html
+share/doc/nim/compiler/importer.idx
+share/doc/nim/compiler/index.html
+share/doc/nim/compiler/index.idx
+share/doc/nim/compiler/injectdestructors.html
+share/doc/nim/compiler/injectdestructors.idx
+share/doc/nim/compiler/int128.html
+share/doc/nim/compiler/int128.idx
+share/doc/nim/compiler/isolation_check.html
+share/doc/nim/compiler/isolation_check.idx
+share/doc/nim/compiler/itemids.html
+share/doc/nim/compiler/itemids.idx
+share/doc/nim/compiler/jsgen.html
+share/doc/nim/compiler/jsgen.idx
+share/doc/nim/compiler/lambdalifting.html
+share/doc/nim/compiler/lambdalifting.idx
+share/doc/nim/compiler/layeredtable.html
+share/doc/nim/compiler/layeredtable.idx
+share/doc/nim/compiler/lexer.html
+share/doc/nim/compiler/lexer.idx
+share/doc/nim/compiler/liftdestructors.html
+share/doc/nim/compiler/liftdestructors.idx
+share/doc/nim/compiler/liftlocals.html
+share/doc/nim/compiler/liftlocals.idx
+share/doc/nim/compiler/lineinfos.html
+share/doc/nim/compiler/lineinfos.idx
+share/doc/nim/compiler/linter.html
+share/doc/nim/compiler/linter.idx
+share/doc/nim/compiler/llstream.html
+share/doc/nim/compiler/llstream.idx
+share/doc/nim/compiler/lookups.html
+share/doc/nim/compiler/lookups.idx
+share/doc/nim/compiler/lowerings.html
+share/doc/nim/compiler/lowerings.idx
+share/doc/nim/compiler/macrocacheimpl.html
+share/doc/nim/compiler/macrocacheimpl.idx
+share/doc/nim/compiler/magicsys.html
+share/doc/nim/compiler/magicsys.idx
+share/doc/nim/compiler/main.html
+share/doc/nim/compiler/main.idx
+share/doc/nim/compiler/mangleutils.html
+share/doc/nim/compiler/mangleutils.idx
+share/doc/nim/compiler/modulegraphs.html
+share/doc/nim/compiler/modulegraphs.idx
+share/doc/nim/compiler/modulepaths.html
+share/doc/nim/compiler/modulepaths.idx
+share/doc/nim/compiler/modules.html
+share/doc/nim/compiler/modules.idx
+share/doc/nim/compiler/msgs.html
+share/doc/nim/compiler/msgs.idx
+share/doc/nim/compiler/nifbackend.html
+share/doc/nim/compiler/nifbackend.idx
+share/doc/nim/compiler/nifgen.html
+share/doc/nim/compiler/nifgen.idx
+share/doc/nim/compiler/nifstreams.html
+share/doc/nim/compiler/nifstreams.idx
+share/doc/nim/compiler/nilcheck.html
+share/doc/nim/compiler/nilcheck.idx
+share/doc/nim/compiler/nim.html
+share/doc/nim/compiler/nim.idx
+share/doc/nim/compiler/nimblecmd.html
+share/doc/nim/compiler/nimblecmd.idx
+share/doc/nim/compiler/nimconf.html
+share/doc/nim/compiler/nimconf.idx
+share/doc/nim/compiler/nimdoc.out.css
+share/doc/nim/compiler/nimlexbase.html
+share/doc/nim/compiler/nimlexbase.idx
+share/doc/nim/compiler/nimpaths.html
+share/doc/nim/compiler/nimpaths.idx
+share/doc/nim/compiler/nimsets.html
+share/doc/nim/compiler/nimsets.idx
+share/doc/nim/compiler/nodejs.html
+share/doc/nim/compiler/nodejs.idx
+share/doc/nim/compiler/nodekinds.html
+share/doc/nim/compiler/nodekinds.idx
+share/doc/nim/compiler/nversion.html
+share/doc/nim/compiler/nversion.idx
+share/doc/nim/compiler/optimizer.html
+share/doc/nim/compiler/optimizer.idx
+share/doc/nim/compiler/options.html
+share/doc/nim/compiler/options.idx
+share/doc/nim/compiler/packages.html
+share/doc/nim/compiler/packages.idx
+share/doc/nim/compiler/parampatterns.html
+share/doc/nim/compiler/parampatterns.idx
+share/doc/nim/compiler/parser.html
+share/doc/nim/compiler/parser.idx
+share/doc/nim/compiler/pathutils.html
+share/doc/nim/compiler/pathutils.idx
+share/doc/nim/compiler/patterns.html
+share/doc/nim/compiler/patterns.idx
+share/doc/nim/compiler/pipelines.html
+share/doc/nim/compiler/pipelines.idx
+share/doc/nim/compiler/pipelineutils.html
+share/doc/nim/compiler/pipelineutils.idx
+share/doc/nim/compiler/platform.html
+share/doc/nim/compiler/platform.idx
+share/doc/nim/compiler/pluginsupport.html
+share/doc/nim/compiler/pluginsupport.idx
+share/doc/nim/compiler/pragmas.html
+share/doc/nim/compiler/pragmas.idx
+share/doc/nim/compiler/prefixmatches.html
+share/doc/nim/compiler/prefixmatches.idx
+share/doc/nim/compiler/procfind.html
+share/doc/nim/compiler/procfind.idx
+share/doc/nim/compiler/pushpoppragmas.html
+share/doc/nim/compiler/pushpoppragmas.idx
+share/doc/nim/compiler/renderer.html
+share/doc/nim/compiler/renderer.idx
+share/doc/nim/compiler/renderverbatim.html
+share/doc/nim/compiler/renderverbatim.idx
+share/doc/nim/compiler/reorder.html
+share/doc/nim/compiler/reorder.idx
+share/doc/nim/compiler/rodutils.html
+share/doc/nim/compiler/rodutils.idx
+share/doc/nim/compiler/ropes.html
+share/doc/nim/compiler/ropes.idx
+share/doc/nim/compiler/saturate.html
+share/doc/nim/compiler/saturate.idx
+share/doc/nim/compiler/scriptconfig.html
+share/doc/nim/compiler/scriptconfig.idx
+share/doc/nim/compiler/sem.html
+share/doc/nim/compiler/sem.idx
+share/doc/nim/compiler/semdata.html
+share/doc/nim/compiler/semdata.idx
+share/doc/nim/compiler/semfold.html
+share/doc/nim/compiler/semfold.idx
+share/doc/nim/compiler/semmacrosanity.html
+share/doc/nim/compiler/semmacrosanity.idx
+share/doc/nim/compiler/semparallel.html
+share/doc/nim/compiler/semparallel.idx
+share/doc/nim/compiler/sempass2.html
+share/doc/nim/compiler/sempass2.idx
+share/doc/nim/compiler/semstrictfuncs.html
+share/doc/nim/compiler/semstrictfuncs.idx
+share/doc/nim/compiler/semtypinst.html
+share/doc/nim/compiler/semtypinst.idx
+share/doc/nim/compiler/sighashes.html
+share/doc/nim/compiler/sighashes.idx
+share/doc/nim/compiler/sigmatch.html
+share/doc/nim/compiler/sigmatch.idx
+share/doc/nim/compiler/sourcemap.html
+share/doc/nim/compiler/sourcemap.idx
+share/doc/nim/compiler/spawn.html
+share/doc/nim/compiler/spawn.idx
+share/doc/nim/compiler/suggestsymdb.html
+share/doc/nim/compiler/suggestsymdb.idx
+share/doc/nim/compiler/syntaxes.html
+share/doc/nim/compiler/syntaxes.idx
+share/doc/nim/compiler/theindex.html
+share/doc/nim/compiler/transf.html
+share/doc/nim/compiler/transf.idx
+share/doc/nim/compiler/trees.html
+share/doc/nim/compiler/trees.idx
+share/doc/nim/compiler/treetab.html
+share/doc/nim/compiler/treetab.idx
+share/doc/nim/compiler/typeallowed.html
+share/doc/nim/compiler/typeallowed.idx
+share/doc/nim/compiler/typekeys.html
+share/doc/nim/compiler/typekeys.idx
+share/doc/nim/compiler/types.html
+share/doc/nim/compiler/types.idx
+share/doc/nim/compiler/typesrenderer.html
+share/doc/nim/compiler/typesrenderer.idx
+share/doc/nim/compiler/varpartitions.html
+share/doc/nim/compiler/varpartitions.idx
+share/doc/nim/compiler/vm.html
+share/doc/nim/compiler/vm.idx
+share/doc/nim/compiler/vmconv.html
+share/doc/nim/compiler/vmconv.idx
+share/doc/nim/compiler/vmdef.html
+share/doc/nim/compiler/vmdef.idx
+share/doc/nim/compiler/vmdeps.html
+share/doc/nim/compiler/vmdeps.idx
+share/doc/nim/compiler/vmgen.html
+share/doc/nim/compiler/vmgen.idx
+share/doc/nim/compiler/vmlayout.html
+share/doc/nim/compiler/vmlayout.idx
+share/doc/nim/compiler/vmmarshal.html
+share/doc/nim/compiler/vmmarshal.idx
+share/doc/nim/compiler/vmmem.html
+share/doc/nim/compiler/vmmem.idx
+share/doc/nim/compiler/vmprofiler.html
+share/doc/nim/compiler/vmprofiler.idx
+share/doc/nim/compiler/vmvalue.html
+share/doc/nim/compiler/vmvalue.idx
+share/doc/nim/compiler/vtables.html
+share/doc/nim/compiler/vtables.idx
+share/doc/nim/compiler/wordrecg.html
+share/doc/nim/compiler/wordrecg.idx
+share/doc/nim/compilesettings.html
+share/doc/nim/compilesettings.idx
+share/doc/nim/complex.html
+share/doc/nim/complex.idx
+share/doc/nim/contributing.html
+share/doc/nim/contributing.idx
+share/doc/nim/cookies.html
+share/doc/nim/cookies.idx
+share/doc/nim/coro.html
+share/doc/nim/coro.idx
+share/doc/nim/cpuinfo.html
+share/doc/nim/cpuinfo.idx
+share/doc/nim/cpuload.html
+share/doc/nim/cpuload.idx
+share/doc/nim/critbits.html
+share/doc/nim/critbits.idx
+share/doc/nim/cstrutils.html
+share/doc/nim/cstrutils.idx
+share/doc/nim/ctypes.html
+share/doc/nim/ctypes.idx
+share/doc/nim/db_common.html
+share/doc/nim/db_common.idx
+share/doc/nim/db_mysql.html
+share/doc/nim/db_mysql.idx
+share/doc/nim/db_odbc.html
+share/doc/nim/db_odbc.idx
+share/doc/nim/db_postgres.html
+share/doc/nim/db_postgres.idx
+share/doc/nim/db_sqlite.html
+share/doc/nim/db_sqlite.idx
+share/doc/nim/dbutils.html
+share/doc/nim/decls.html
+share/doc/nim/decls.idx
+share/doc/nim/decode_helpers.html
+share/doc/nim/decode_helpers.idx
+share/doc/nim/deques.html
+share/doc/nim/deques.idx
+share/doc/nim/destructors.html
+share/doc/nim/destructors.idx
+share/doc/nim/diff.html
+share/doc/nim/diff.idx
+share/doc/nim/digitsutils.html
+share/doc/nim/digitsutils.idx
+share/doc/nim/dirs.html
+share/doc/nim/dirs.idx
+share/doc/nim/distros.html
+share/doc/nim/distros.idx
+share/doc/nim/docgen.html
+share/doc/nim/docgen.idx
+share/doc/nim/docgen_sample.html
+share/doc/nim/dochack.js
+share/doc/nim/dochelpers.html
+share/doc/nim/dochelpers.idx
+share/doc/nim/dollars.html
+share/doc/nim/dollars.idx
+share/doc/nim/dom.html
+share/doc/nim/dom.idx
+share/doc/nim/dragonbox.html
+share/doc/nim/dragonbox.idx
+share/doc/nim/drnim.html
+share/doc/nim/drnim.idx
+share/doc/nim/dynlib.html
+share/doc/nim/dynlib.idx
+share/doc/nim/editdistance.html
+share/doc/nim/editdistance.idx
+share/doc/nim/effecttraits.html
+share/doc/nim/effecttraits.idx
+share/doc/nim/encodings.html
+share/doc/nim/encodings.idx
+share/doc/nim/endians.html
+share/doc/nim/endians.idx
+share/doc/nim/enumerate.html
+share/doc/nim/enumerate.idx
+share/doc/nim/enumutils.html
+share/doc/nim/enumutils.idx
+share/doc/nim/envvars.html
+share/doc/nim/envvars.idx
+share/doc/nim/epoll.html
+share/doc/nim/epoll.idx
+share/doc/nim/estp.html
+share/doc/nim/estp.idx
+share/doc/nim/exceptions.html
+share/doc/nim/exceptions.idx
+share/doc/nim/exitprocs.html
+share/doc/nim/exitprocs.idx
+share/doc/nim/fenv.html
+share/doc/nim/fenv.idx
+share/doc/nim/files.html
+share/doc/nim/files.idx
+share/doc/nim/filters.html
+share/doc/nim/filters.idx
+share/doc/nim/formatfloat.html
+share/doc/nim/formatfloat.idx
+share/doc/nim/genasts.html
+share/doc/nim/genasts.idx
+share/doc/nim/gitutils.html
+share/doc/nim/gitutils.idx
+share/doc/nim/globs.html
+share/doc/nim/globs.idx
+share/doc/nim/hashes.html
+share/doc/nim/hashes.idx
+share/doc/nim/hcr.html
+share/doc/nim/hcr.idx
+share/doc/nim/heapqueue.html
+share/doc/nim/heapqueue.idx
+share/doc/nim/highlite.html
+share/doc/nim/highlite.idx
+share/doc/nim/hotcodereloading.html
+share/doc/nim/hotcodereloading.idx
+share/doc/nim/htmlgen.html
+share/doc/nim/htmlgen.idx
+share/doc/nim/htmlparser.html
+share/doc/nim/htmlparser.idx
+share/doc/nim/httpclient.html
+share/doc/nim/httpclient.idx
+share/doc/nim/httpcore.html
+share/doc/nim/httpcore.idx
+share/doc/nim/ic.html
+share/doc/nim/ic.idx
+share/doc/nim/idetools.html
+share/doc/nim/idetools.idx
+share/doc/nim/importutils.html
+share/doc/nim/importutils.idx
+share/doc/nim/index.html
+share/doc/nim/inotify.html
+share/doc/nim/inotify.idx
+share/doc/nim/intern.html
+share/doc/nim/intern.idx
+share/doc/nim/intsets.html
+share/doc/nim/intsets.idx
+share/doc/nim/isolation.html
+share/doc/nim/isolation.idx
+share/doc/nim/iterators.html
+share/doc/nim/iterators.idx
+share/doc/nim/jsbigints.html
+share/doc/nim/jsbigints.idx
+share/doc/nim/jsconsole.html
+share/doc/nim/jsconsole.idx
+share/doc/nim/jscore.html
+share/doc/nim/jscore.idx
+share/doc/nim/jsfetch.html
+share/doc/nim/jsfetch.idx
+share/doc/nim/jsffi.html
+share/doc/nim/jsffi.idx
+share/doc/nim/jsformdata.html
+share/doc/nim/jsformdata.idx
+share/doc/nim/jsheaders.html
+share/doc/nim/jsheaders.idx
+share/doc/nim/json.html
+share/doc/nim/json.idx
+share/doc/nim/jsonutils.html
+share/doc/nim/jsonutils.idx
+share/doc/nim/jsre.html
+share/doc/nim/jsre.idx
+share/doc/nim/jsutils.html
+share/doc/nim/jsutils.idx
+share/doc/nim/koch.html
+share/doc/nim/koch.idx
+share/doc/nim/kqueue.html
+share/doc/nim/kqueue.idx
+share/doc/nim/lenientops.html
+share/doc/nim/lenientops.idx
+share/doc/nim/lexbase.html
+share/doc/nim/lexbase.idx
+share/doc/nim/lib.html
+share/doc/nim/lib.idx
+share/doc/nim/linenoise.html
+share/doc/nim/linenoise.idx
+share/doc/nim/linux.html
+share/doc/nim/lists.html
+share/doc/nim/lists.idx
+share/doc/nim/locks.html
+share/doc/nim/locks.idx
+share/doc/nim/logging.html
+share/doc/nim/logging.idx
+share/doc/nim/logic.html
+share/doc/nim/logic.idx
+share/doc/nim/macrocache.html
+share/doc/nim/macrocache.idx
+share/doc/nim/macros.html
+share/doc/nim/macros.idx
+share/doc/nim/manual.html
+share/doc/nim/manual.idx
+share/doc/nim/manual_experimental.html
+share/doc/nim/manual_experimental.idx
+share/doc/nim/manual_experimental_strictnotnil.html
+share/doc/nim/manual_experimental_strictnotnil.idx
+share/doc/nim/markdown_rst.html
+share/doc/nim/markdown_rst.idx
+share/doc/nim/marshal.html
+share/doc/nim/marshal.idx
+share/doc/nim/math.html
+share/doc/nim/math.idx
+share/doc/nim/md5.html
+share/doc/nim/md5.idx
+share/doc/nim/memfiles.html
+share/doc/nim/memfiles.idx
+share/doc/nim/mimetypes.html
+share/doc/nim/mimetypes.idx
+share/doc/nim/miscdollars.html
+share/doc/nim/miscdollars.idx
+share/doc/nim/mm.html
+share/doc/nim/mm.idx
+share/doc/nim/monotimes.html
+share/doc/nim/monotimes.idx
+share/doc/nim/mysql.html
+share/doc/nim/nativesockets.html
+share/doc/nim/nativesockets.idx
+share/doc/nim/nep1.html
+share/doc/nim/nep1.idx
+share/doc/nim/net.html
+share/doc/nim/net.idx
+share/doc/nim/nimc.html
+share/doc/nim/nimc.idx
+share/doc/nim/nimcache/runnableExamples/asyncjs_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/asyncjs_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/asyncjs_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/asyncjs_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/dom_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/dom_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/dom_examples_3.nim
+share/doc/nim/nimcache/runnableExamples/dom_examples_4.nim
+share/doc/nim/nimcache/runnableExamples/dom_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/dom_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_10.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_11.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_12.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_13.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_14.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_15.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_16.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_17.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_18.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_19.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_20.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_21.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_22.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_23.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_24.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_25.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_26.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_27.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_28.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_29.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_3.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_30.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_31.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_4.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_5.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_6.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_7.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_8.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_examples_9.nim
+share/doc/nim/nimcache/runnableExamples/jsbigints_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsbigints_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsconsole_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsconsole_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jsconsole_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsconsole_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsconsole_group1_examples.js
+share/doc/nim/nimcache/runnableExamples/jsconsole_group1_examples.nim
+share/doc/nim/nimcache/runnableExamples/jscore_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jscore_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jscore_examples_3.nim
+share/doc/nim/nimcache/runnableExamples/jscore_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jscore_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jscore_group1_examples.js
+share/doc/nim/nimcache/runnableExamples/jscore_group1_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsfetch_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsfetch_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsfetch_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsffi_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsffi_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jsffi_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsffi_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsformdata_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsformdata_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsformdata_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsheaders_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsheaders_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsheaders_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsre_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsre_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jsre_examples_3.nim
+share/doc/nim/nimcache/runnableExamples/jsre_examples_4.nim
+share/doc/nim/nimcache/runnableExamples/jsre_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsre_group0_examples.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_1.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_2.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_3.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_4.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_5.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_examples_6.nim
+share/doc/nim/nimcache/runnableExamples/jsutils_group0_examples.js
+share/doc/nim/nimcache/runnableExamples/jsutils_group0_examples.nim
+share/doc/nim/nimdoc.out.css
+share/doc/nim/nimgrep.html
+share/doc/nim/nimgrep.idx
+share/doc/nim/nimhcr.html
+share/doc/nim/nimhcr.idx
+share/doc/nim/niminst.html
+share/doc/nim/niminst.idx
+share/doc/nim/nimprof.html
+share/doc/nim/nimprof.idx
+share/doc/nim/nimrtl.html
+share/doc/nim/nimrtl.idx
+share/doc/nim/nims.html
+share/doc/nim/nims.idx
+share/doc/nim/nimscript.html
+share/doc/nim/nimscript.idx
+share/doc/nim/nimsuggest.html
+share/doc/nim/nimsuggest.idx
+share/doc/nim/nre.html
+share/doc/nim/nre.idx
+share/doc/nim/nre2.html
+share/doc/nim/nre2.idx
+share/doc/nim/ntpath.html
+share/doc/nim/ntpath.idx
+share/doc/nim/objectdollar.html
+share/doc/nim/objectdollar.idx
+share/doc/nim/odbcsql.html
+share/doc/nim/oids.html
+share/doc/nim/oids.idx
+share/doc/nim/openssl.html
+share/doc/nim/options.html
+share/doc/nim/options.idx
+share/doc/nim/os.html
+share/doc/nim/os.idx
+share/doc/nim/osappdirs.html
+share/doc/nim/osappdirs.idx
+share/doc/nim/oscommon.html
+share/doc/nim/oscommon.idx
+share/doc/nim/osdirs.html
+share/doc/nim/osdirs.idx
+share/doc/nim/oserrors.html
+share/doc/nim/oserrors.idx
+share/doc/nim/osfiles.html
+share/doc/nim/osfiles.idx
+share/doc/nim/ospaths2.html
+share/doc/nim/ospaths2.idx
+share/doc/nim/osproc.html
+share/doc/nim/osproc.idx
+share/doc/nim/osseps.html
+share/doc/nim/osseps.idx
+share/doc/nim/ossymlinks.html
+share/doc/nim/ossymlinks.idx
+share/doc/nim/outparams.html
+share/doc/nim/outparams.idx
+share/doc/nim/overview.html
+share/doc/nim/overview.idx
+share/doc/nim/packaging.html
+share/doc/nim/packaging.idx
+share/doc/nim/packedsets.html
+share/doc/nim/packedsets.idx
+share/doc/nim/parallel_compiler.html
+share/doc/nim/parallel_compiler.idx
+share/doc/nim/parsecfg.html
+share/doc/nim/parsecfg.idx
+share/doc/nim/parsecsv.html
+share/doc/nim/parsecsv.idx
+share/doc/nim/parsejson.html
+share/doc/nim/parsejson.idx
+share/doc/nim/parseopt.html
+share/doc/nim/parseopt.idx
+share/doc/nim/parsesql.html
+share/doc/nim/parsesql.idx
+share/doc/nim/parseutils.html
+share/doc/nim/parseutils.idx
+share/doc/nim/parsexml.html
+share/doc/nim/parsexml.idx
+share/doc/nim/pathnorm.html
+share/doc/nim/pathnorm.idx
+share/doc/nim/paths.html
+share/doc/nim/paths.idx
+share/doc/nim/pcre.html
+share/doc/nim/pegs.html
+share/doc/nim/pegs.idx
+share/doc/nim/posix.html
+share/doc/nim/posix_utils.html
+share/doc/nim/posix_utils.idx
+share/doc/nim/postgres.html
+share/doc/nim/prelude.html
+share/doc/nim/prelude.idx
+share/doc/nim/punycode.html
+share/doc/nim/punycode.idx
+share/doc/nim/random.html
+share/doc/nim/random.idx
+share/doc/nim/rationals.html
+share/doc/nim/rationals.idx
+share/doc/nim/rdstdin.html
+share/doc/nim/rdstdin.idx
+share/doc/nim/re.html
+share/doc/nim/re.idx
+share/doc/nim/refc.html
+share/doc/nim/refc.idx
+share/doc/nim/registry.html
+share/doc/nim/registry.idx
+share/doc/nim/repr_v2.html
+share/doc/nim/repr_v2.idx
+share/doc/nim/reservedmem.html
+share/doc/nim/reservedmem.idx
+share/doc/nim/rlocks.html
+share/doc/nim/rlocks.idx
+share/doc/nim/ropes.html
+share/doc/nim/ropes.idx
+share/doc/nim/rst.html
+share/doc/nim/rst.idx
+share/doc/nim/rstast.html
+share/doc/nim/rstast.idx
+share/doc/nim/rstgen.html
+share/doc/nim/rstgen.idx
+share/doc/nim/rstidx.html
+share/doc/nim/rstidx.idx
+share/doc/nim/rtarrays.html
+share/doc/nim/rtarrays.idx
+share/doc/nim/schubfach.html
+share/doc/nim/schubfach.idx
+share/doc/nim/segfaults.html
+share/doc/nim/segfaults.idx
+share/doc/nim/selectors.html
+share/doc/nim/selectors.idx
+share/doc/nim/sequtils.html
+share/doc/nim/sequtils.idx
+share/doc/nim/sets.html
+share/doc/nim/sets.idx
+share/doc/nim/setutils.html
+share/doc/nim/setutils.idx
+share/doc/nim/sexp.html
+share/doc/nim/sexp.idx
+share/doc/nim/sha1.html
+share/doc/nim/sha1.idx
+share/doc/nim/sha2.html
+share/doc/nim/sha2.idx
+share/doc/nim/sha3.html
+share/doc/nim/sha3.idx
+share/doc/nim/sharedlist.html
+share/doc/nim/sharedlist.idx
+share/doc/nim/sharedtables.html
+share/doc/nim/sharedtables.idx
+share/doc/nim/since.html
+share/doc/nim/since.idx
+share/doc/nim/smtp.html
+share/doc/nim/smtp.idx
+share/doc/nim/socketstreams.html
+share/doc/nim/socketstreams.idx
+share/doc/nim/sqlite3.html
+share/doc/nim/ssl_certs.html
+share/doc/nim/ssl_certs.idx
+share/doc/nim/ssl_config.html
+share/doc/nim/ssl_config.idx
+share/doc/nim/stackframes.html
+share/doc/nim/stackframes.idx
+share/doc/nim/staticos.html
+share/doc/nim/staticos.idx
+share/doc/nim/stats.html
+share/doc/nim/stats.idx
+share/doc/nim/strbasics.html
+share/doc/nim/strbasics.idx
+share/doc/nim/streams.html
+share/doc/nim/streams.idx
+share/doc/nim/streamwrapper.html
+share/doc/nim/streamwrapper.idx
+share/doc/nim/strformat.html
+share/doc/nim/strformat.idx
+share/doc/nim/strimpl.html
+share/doc/nim/strimpl.idx
+share/doc/nim/strmisc.html
+share/doc/nim/strmisc.idx
+share/doc/nim/strscans.html
+share/doc/nim/strscans.idx
+share/doc/nim/strtabs.html
+share/doc/nim/strtabs.idx
+share/doc/nim/strutils.html
+share/doc/nim/strutils.idx
+share/doc/nim/sugar.html
+share/doc/nim/sugar.idx
+share/doc/nim/symlinks.html
+share/doc/nim/symlinks.idx
+share/doc/nim/syncio.html
+share/doc/nim/syncio.idx
+share/doc/nim/sysatomics.html
+share/doc/nim/sysatomics.idx
+share/doc/nim/syslocks.html
+share/doc/nim/syslocks.idx
+share/doc/nim/sysrand.html
+share/doc/nim/sysrand.idx
+share/doc/nim/system.html
+share/doc/nim/system.idx
+share/doc/nim/tables.html
+share/doc/nim/tables.idx
+share/doc/nim/tasks.html
+share/doc/nim/tasks.idx
+share/doc/nim/tempfiles.html
+share/doc/nim/tempfiles.idx
+share/doc/nim/terminal.html
+share/doc/nim/terminal.idx
+share/doc/nim/termios.html
+share/doc/nim/testament.html
+share/doc/nim/testament.idx
+share/doc/nim/theindex.html
+share/doc/nim/threadpool.html
+share/doc/nim/threadpool.idx
+share/doc/nim/threadtypes.html
+share/doc/nim/threadtypes.idx
+share/doc/nim/time_t.html
+share/doc/nim/time_t.idx
+share/doc/nim/times.html
+share/doc/nim/times.idx
+share/doc/nim/tinyc.html
+share/doc/nim/tools.html
+share/doc/nim/tools.idx
+share/doc/nim/tut1.html
+share/doc/nim/tut1.idx
+share/doc/nim/tut2.html
+share/doc/nim/tut2.idx
+share/doc/nim/tut3.html
+share/doc/nim/tut3.idx
+share/doc/nim/typedthreads.html
+share/doc/nim/typedthreads.idx
+share/doc/nim/typeinfo.html
+share/doc/nim/typeinfo.idx
+share/doc/nim/typetraits.html
+share/doc/nim/typetraits.idx
+share/doc/nim/underscored_calls.html
+share/doc/nim/underscored_calls.idx
+share/doc/nim/unicode.html
+share/doc/nim/unicode.idx
+share/doc/nim/unidecode.html
+share/doc/nim/unidecode.idx
+share/doc/nim/unittest.html
+share/doc/nim/unittest.idx
+share/doc/nim/uri.html
+share/doc/nim/uri.idx
+share/doc/nim/util.html
+share/doc/nim/util.idx
+share/doc/nim/var_t_return.html
+share/doc/nim/var_t_return.idx
+share/doc/nim/varints.html
+share/doc/nim/varints.idx
+share/doc/nim/vmutils.html
+share/doc/nim/vmutils.idx
+share/doc/nim/volatile.html
+share/doc/nim/volatile.idx
+share/doc/nim/widestrs.html
+share/doc/nim/widestrs.idx
+share/doc/nim/win_getsysteminfo.html
+share/doc/nim/win_getsysteminfo.idx
+share/doc/nim/win_setenv.html
+share/doc/nim/win_setenv.idx
+share/doc/nim/winlean.html
+share/doc/nim/winlean.idx
+share/doc/nim/with.html
+share/doc/nim/with.idx
+share/doc/nim/wordwrap.html
+share/doc/nim/wordwrap.idx
+share/doc/nim/wrapnils.html
+share/doc/nim/wrapnils.idx
+share/doc/nim/xmlparser.html
+share/doc/nim/xmlparser.idx
+share/doc/nim/xmltree.html
+share/doc/nim/xmltree.idx
+@pkgdir nim/data
diff --git a/nim/buildlink3.mk b/nim/buildlink3.mk
new file mode 100644
index 0000000000..acd5b9ef80
--- /dev/null
+++ b/nim/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.5 2024/04/22 13:23:55 nikita Exp $
+
+BUILDLINK_TREE+= nim
+
+.if !defined(NIM_BUILDLINK3_MK)
+NIM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nim+= nim>=2.0.4
+BUILDLINK_ABI_DEPENDS.nim+= nim>=2.0.4
+BUILDLINK_PKGSRCDIR.nim?= ../../lang/nim
+
+.endif # NIM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -nim
diff --git a/nim/distinfo b/nim/distinfo
new file mode 100644
index 0000000000..722bd55842
--- /dev/null
+++ b/nim/distinfo
@@ -0,0 +1,16 @@
+$NetBSD: distinfo,v 1.31 2026/11/07 22:43:07 wiz Exp $
+
+BLAKE2s (atlas-aa6fb162006f3015aa84c4305e15cb4d230f5ad6.tar.gz) = ea416dc909621edec9b06fa0cc510e3248b9638331055d5b9faaa1dce0f0f0d9
+SHA512 (atlas-aa6fb162006f3015aa84c4305e15cb4d230f5ad6.tar.gz) = 66c37492872dc47105f9c40d3f0c7be105b69e089293996eb9b0ccf441248dce351be2fa8bfbc9ecd7914fd2a6d66f64d83f3280f32561a03a6b4f4d581e7b0b
+Size (atlas-aa6fb162006f3015aa84c4305e15cb4d230f5ad6.tar.gz) = 160714 bytes
+BLAKE2s (nim-2.4.2.tar.xz) = a92f7c08e6a083a185b5165c610236658e6127f191e2f52414e7c1c2d98da322
+SHA512 (nim-2.4.2.tar.xz) = c9d3fb4573c3ac583f063d4e9364e7a0bcda69eb588cd843d9c0470a26c8151b20861a1eceef9fcea8358a627403ae4aa0ef698db241282c9fc8eb1b61b0cc10
+Size (nim-2.4.2.tar.xz) = 17078328 bytes
+BLAKE2s (nimble-302a71139254b43b1488d65de111b6734d1a7490.tar.gz) = 50e8c4847bd696258ae085d9388d32cccabcd68e9aca7c1aadbff22f5358761d
+SHA512 (nimble-302a71139254b43b1488d65de111b6734d1a7490.tar.gz) = 083359b314f7f61963b1d7949071e59d618d9ab2b9749a5a4238da5789ef0511f0988ddfb8d193b42b6cb15cbdf103dcb7d8342a1eaec495fa0f7a6b59da0c39
+Size (nimble-302a71139254b43b1488d65de111b6734d1a7490.tar.gz) = 930840 bytes
+BLAKE2s (sat-9d52513b3c68bfb929dbd687d4fb2836cfee6936.tar.gz) = e61713da1b17aea1a345df71dc22cd8ec2058623546668a7b9af6db501d1a224
+SHA512 (sat-9d52513b3c68bfb929dbd687d4fb2836cfee6936.tar.gz) = 6dff5f65bb7aaa7c59b7c832e760b35ba6f9aebbc53ef6e4d87ef3dde6308458cd6c27988c309f60f8eca9019e135fb34981704310cb55b5dd5c84de1641b20d
+Size (sat-9d52513b3c68bfb929dbd687d4fb2836cfee6936.tar.gz) = 10247 bytes
+SHA1 (patch-dist_nimble_src_nimblepkg_downloadnim.nim) = 499197b81265ecf16d4c6baeca54673aead052c6
+SHA1 (patch-dist_nimble_vendor_chronos_chronos_sendfile.nim) = da30276501e0521056267c28f35e14949f5a2f96
diff --git a/nim/options.mk b/nim/options.mk
new file mode 100644
index 0000000000..decc1a2db5
--- /dev/null
+++ b/nim/options.mk
@@ -0,0 +1,32 @@
+# $NetBSD: options.mk,v 1.1 2026/11/07 22:43:53 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nim
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+# This will build the documentation for nim. Because both post-build and
+# post-install are not defined prior to this, we can safely just initialize
+# them here. Note that to build the documentation, NodeJS is needed, which
+# is quite large.
+.if !empty(PKG_OPTIONS:Mdoc)
+.include "../../lang/nodejs/buildlink3.mk"
+
+USE_LANGUAGES+= c++
+PLIST_SRC+= PLIST
+PLIST_SRC+= PLIST.doc
+
+post-build:
+ # Build docs
+ cd ${WRKSRC} && ./koch \
+ docs \
+ --parallelBuild:${_MAKE_JOBS_N}
+
+INSTALLATION_DIRS+= share/doc/nim
+
+post-install:
+ # Copy over docs to ${DESTDIR}
+ cd ${WRKSRC} && ${CP} -r doc/html/* ${DESTDIR}${PREFIX}/share/doc/nim
+
+.endif
diff --git a/nim/patches/patch-dist_nimble_src_nimblepkg_downloadnim.nim b/nim/patches/patch-dist_nimble_src_nimblepkg_downloadnim.nim
new file mode 100644
index 0000000000..6f7579ced0
--- /dev/null
+++ b/nim/patches/patch-dist_nimble_src_nimblepkg_downloadnim.nim
@@ -0,0 +1,16 @@
+$NetBSD: patch-dist_nimble_src_nimblepkg_downloadnim.nim,v 1.1 2026/11/07 22:43:07 wiz Exp $
+
+Add NetBSD to nimble's nightly-OS detection. Without a matching branch the
+`when` expression in getNightliesUrl is empty on NetBSD and the compiler
+rejects it with "expression '' has no type (or is ambiguous)".
+
+--- dist/nimble/src/nimblepkg/downloadnim.nim.orig
++++ dist/nimble/src/nimblepkg/downloadnim.nim
+@@ -146,5 +146,7 @@
+ elif defined(openbsd):
+ "openbsd"
+ elif defined(haiku):
+ "haiku"
++ elif defined(netbsd):
++ "netbsd"
+ for jn in parsedContents.getElems():
diff --git a/nim/patches/patch-dist_nimble_vendor_chronos_chronos_sendfile.nim b/nim/patches/patch-dist_nimble_vendor_chronos_chronos_sendfile.nim
new file mode 100644
index 0000000000..0d2d2f9909
--- /dev/null
+++ b/nim/patches/patch-dist_nimble_vendor_chronos_chronos_sendfile.nim
@@ -0,0 +1,19 @@
+$NetBSD: patch-dist_nimble_vendor_chronos_chronos_sendfile.nim,v 1.1 2026/11/07 22:43:07 wiz Exp $
+
+NetBSD does not provide sendfile(2) (no libc symbol, no header declaration,
+no man page). chronos grouped NetBSD with the BSDs that do, so the generated
+code called an implicitly-declared function, which the pkgsrc compiler
+wrapper turns into an error. Treat NetBSD like emscripten/haiku instead.
+
+--- dist/nimble/vendor/chronos/chronos/sendfile.nim.orig
++++ dist/nimble/vendor/chronos/chronos/sendfile.nim
+@@ -41,3 +41,3 @@
+-elif defined(emscripten) or defined(haiku):
++elif defined(emscripten) or defined(haiku) or defined(netbsd):
+
+ proc sendfile*(outfd, infd: int, offset: int, count: var int): int =
+@@ -67,3 +67,2 @@
+-elif defined(freebsd) or defined(openbsd) or defined(netbsd) or
+- defined(dragonflybsd):
++elif defined(freebsd) or defined(openbsd) or defined(dragonflybsd):
+ import oserrno
Home |
Main Index |
Thread Index |
Old Index