From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/nim: new package
Date: Thu, 17 Sep 2026 09:55:41 +0200 [thread overview]
Message-ID: <aqucwrwMlEvUBdCO@windsurf> (raw)
In-Reply-To: <aqZWRD3zV37x5UzL@waldemar-brodkorb.de>
On Sun, Sep 13, 2026 at 09:52:36AM +0200, Waldemar Brodkorb wrote:
> Nim is a statically typed compiled systems programming language. It
> combines successful concepts from mature languages like Python, Ada and
> Modula. See https://nim-lang.org/ for more information.
>
> This is a host-only package required for the new chawan package.
Then this should be in a series together with the chawan patch.
> diff --git a/package/nim/nim.hash b/package/nim/nim.hash
> new file mode 100644
> index 0000000000..c455ab91a9
> --- /dev/null
> +++ b/package/nim/nim.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256 2639a06a5ea7a7fcf57df1e7e1ef4d1b2bee58c7ac9bd00dbd2aa5bea1e5a56a nim-2.2.12.tar.xz
> +sha256 1ef33f7376a2e4b4c090fcaa42d8a206c19bc70d8d816665ff983bc14c5fe159 copying.txt
> diff --git a/package/nim/nim.mk b/package/nim/nim.mk
> new file mode 100644
> index 0000000000..b9a83e4939
> --- /dev/null
> +++ b/package/nim/nim.mk
> @@ -0,0 +1,22 @@
> +################################################################################
> +#
> +# nim
> +#
> +################################################################################
> +
> +NIM_VERSION = 2.2.12
> +NIM_SITE = https://github.com/nim-lang/nightlies/releases/download/2026-09-08-version-2-2-8e8fbf60693418dc95bb0d762fd660231d08a583/
> +NIM_SOURCE = nim-$(NIM_VERSION).tar.xz
> +NIM_LICENSE = MIT
> +NIM_LICENSE_FILES = copying.txt
> +
> +define HOST_NIM_BUILD_CMDS
> + ($(HOST_MAKE_ENV) cd $(@D) && ./build.sh)
Surrounding parenthesis are not needed.
Otherwise, looks good to me.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-09-17 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 7:52 [Buildroot] [PATCH] package/nim: new package Waldemar Brodkorb
2026-09-17 7:55 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aqucwrwMlEvUBdCO@windsurf \
--to=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wbx@openadk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox