GNU bug report logs - #56992
[PATCH v1 3/5] gnu: bqn: Add cbqn-bootstrap.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Christopher Rodriguez <yewscion@HIDDEN>; Keywords: patch; merged with #56989, #56990, #56991, #56993; dated Fri, 5 Aug 2022 02:21:04 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 56989 56990 56991 56992 56993. Request was from Liliana Marie Prikler <liliana.prikler@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 02:20:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 04 22:20:57 2022
Received: from localhost ([127.0.0.1]:55518 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oJmxM-0006LJ-H0
	for submit <at> debbugs.gnu.org; Thu, 04 Aug 2022 22:20:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:57174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yewscion@HIDDEN>) id 1oJmxJ-0006Kw-Rz
 for submit <at> debbugs.gnu.org; Thu, 04 Aug 2022 22:20:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46102)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yewscion@HIDDEN>)
 id 1oJmxJ-00014k-La
 for guix-patches@HIDDEN; Thu, 04 Aug 2022 22:20:53 -0400
Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:36412)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yewscion@HIDDEN>)
 id 1oJmxI-0007kc-5l
 for guix-patches@HIDDEN; Thu, 04 Aug 2022 22:20:53 -0400
Received: by mail-qt1-x833.google.com with SMTP id h22so1199077qta.3
 for <guix-patches@HIDDEN>; Thu, 04 Aug 2022 19:20:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc;
 bh=0ryJG8FKFCMusEEETyBeyPxnRZTPuQN8MFwxZqKJjnE=;
 b=l8NP9QJ8NzQednffC/gb7KLXtcsGg3zoPgdLrB0KknObwtmfqmYJ9mKs0utGXpg3Un
 EdAAVq+JGE2610IgP1aK/tQ0ehr0BHh2KHY7cCnzDnt84ZrA0KtXQY5JF+gepfYk5sz7
 zmMZ8mGjnsMY5eYumk+0x8jtpvC51Bp4G1bRjHtlFivx3rry/YoUjEuonFCgzdGLdfF1
 H8eMigh4xzv6JVluZtXVmdKcGayw9hLvWs7mHzj+vIEIIilKZDnUl8jNR3xpw3kJF9rv
 Ei/eqYYNVM/OdtlDWKxa2ahsLkmnp50TVcQOVsdFOrupQNgkyl5su/vnLjnmlFnQ85YP
 dUIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc;
 bh=0ryJG8FKFCMusEEETyBeyPxnRZTPuQN8MFwxZqKJjnE=;
 b=3GnTfKpECocigcTd6vP9Pc0pnoHv1x0fot16GmnoxZ+dW0Lw7PT/sQb4oNub75R8eH
 TL243kgbNHTEqWP63oZDscqKWoyW8+O+jnfI3bpO6S8w5oLVsPQvDBKa8knYxedb2ybA
 wKNDHE1i7CrxNCyYr+CUbHTp4x4YE9FNbKNioE7EppDFaSpOcI/Z/7r5QoXBQPsRyew4
 cArHJ57q6blbDQdQdiuBsZ2RdWFR4GneYQiCrAAx00V/ja1VaFArqpZVCY74ZssN4pV9
 Bk9vKDaxfhZef2Tr7x9gcm53AXaeivy+fkjD3/0WcOEHut+GfOjhf8eq2fgj6AcLlYiH
 HQ5A==
X-Gm-Message-State: ACgBeo2rWuLkPdenR7I/5ZNZNXLsz1XAimgqmjvW50tEIPoZB4TsKVQt
 9qDI0vhMkFNq3JNrJTCyh0Zv2KPTTTH8cA==
X-Google-Smtp-Source: AA6agR56D+hAw6XkCrMuh6aWQU8TndroNku16YZEUCfwxffFuYZ28YtODCpd5zmGcg9BbUJqP0pwgg==
X-Received: by 2002:a05:622a:1487:b0:31f:4cbf:ba8c with SMTP id
 t7-20020a05622a148700b0031f4cbfba8cmr4147801qtx.3.1659666050808; 
 Thu, 04 Aug 2022 19:20:50 -0700 (PDT)
Received: from gmail.com ([2601:547:a00:7720::7bb0])
 by smtp.gmail.com with ESMTPSA id
 g3-20020a05620a40c300b006b919c6749esm186386qko.91.2022.08.04.19.20.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 04 Aug 2022 19:20:50 -0700 (PDT)
From: Christopher Rodriguez <yewscion@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH v1 3/5] gnu: bqn: Add cbqn-bootstrap.
Date: Thu,  4 Aug 2022 22:20:21 -0400
Message-Id: <20220805022023.5044-3-yewscion@HIDDEN>
X-Mailer: git-send-email 2.37.1
In-Reply-To: <20220805022023.5044-1-yewscion@HIDDEN>
References: <20220805022023.5044-1-yewscion@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::833;
 envelope-from=yewscion@HIDDEN; helo=mail-qt1-x833.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Christopher Rodriguez <yewscion@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

---
 gnu/packages/bqn.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
index 221ed9eaaa..0e26706476 100644
--- a/gnu/packages/bqn.scm
+++ b/gnu/packages/bqn.scm
@@ -125,3 +125,49 @@ (define bqn-bytecode-sources
 purposes.")
       (home-page "https://github.com/mlochbaum/BQN.git")
       (license license:gpl3))))
+(define cbqn-bootstrap
+  (let* ((tag "0")
+         (revision "1")
+         (commit "88f65850fa6ac28bc50886c5942652f21d5be924")
+         (hash "0bqwpvzwp2v20k2l725cwxx4fkvisniw9nls3685wd0fa3agpb47")
+         (version (git-version tag revision commit)))
+    (package
+      (name "cbqn-bootstrap")
+      (version version)
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/dzaima/CBQN")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  hash))))
+      (build-system gnu-build-system)
+      (outputs '("out"))
+      (arguments
+       (list #:tests? #f ;Skipping Tests for Bootstrap.
+             #:phases #~(modify-phases %standard-phases
+                          (delete 'configure)
+                          (add-before 'build 'generate-bytecode
+                            (lambda* (#:key inputs #:allow-other-keys)
+                              (system (string-append #$(this-package-native-input
+                                                        "dbqn")
+                                       "/bin/dbqn ./genRuntime "
+                                       #$(this-package-input
+                                          "bqn-bytecode-sources") "/share/"))))
+                          (replace 'install
+                            (lambda* (#:key outputs #:allow-other-keys)
+                              (mkdir-p (string-append #$output "/bin"))
+                              (chmod "BQN" 493)
+                              (copy-recursively "BQN"
+                                                (string-append #$output
+                                                               "/bin/bqn")))))))
+      (native-inputs (list dbqn openjdk17 clang-toolchain))
+      (inputs (list bqn-bytecode-sources libffi))
+      (synopsis "BQN implementation in C")
+      (description
+       "The expected implementation for the BQN language,
+according to the official documentation of that specification.")
+      (home-page "https://mlochbaum.github.io/BQN/")
+      (license license:gpl3))))
-- 
2.37.1





Acknowledgement sent to Christopher Rodriguez <yewscion@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#56992; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 5 Aug 2022 07:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.