@@ -90,3 +90,38 @@ (define-public dbqn
(description "BQN implementation based on dzaima/APL.")
(home-page "https://github.com/dzaima/BQN")
(license license:expat))))
+(define bqn-bytecode-sources
+ (let* ((tag "0")
+ (revision "1")
+ (commit "e219af48401473a7bac49bdd8b89d69082cf5dd8")
+ (hash "0r6pa9lscl2395g4xlvmg90vpdsjzhin4f1r0s7brymmpvmns2yc")
+ (version (git-version tag revision commit)))
+ (package
+ (name "bqn-bytecode-sources")
+ (version version)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mlochbaum/BQN")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ hash))))
+ (outputs '("out"))
+ (build-system copy-build-system) ;This package pulls down needed source
+ ;; files for CBQN's build process. They
+ ;; will be compiled during that build;
+ ;; none of them are prebuilt binaries.
+ (arguments
+ (list #:install-plan '(list (list "src/" "share/src"
+ #:exclude '("README.txt" "doc/"))
+ (list "test/" "share/test"
+ #:exclude '("README.txt")))))
+ (synopsis "Official BQN sources in BQN")
+ (description
+ "The collection of sources needed for building a
+BQN-based BQN implementation. These are included here for bootstrapping
+purposes.")
+ (home-page "https://github.com/mlochbaum/BQN.git")
+ (license license:gpl3))))