GNU bug report logs -
#56992
[PATCH v1 3/5] gnu: bqn: Add cbqn-bootstrap.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56992 in the body.
You can then email your comments to 56992 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#56992
; Package
guix-patches
.
(Fri, 05 Aug 2022 02:21:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Rodriguez <yewscion <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 05 Aug 2022 02:21:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
---
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 29 Sep 2022 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.