gnu: Add bqn-sources.

* gnu/packages/bqn.scm (bqn-sources): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Christopher Rodriguez 2022-08-10 13:27:57 -04:00 committed by Ludovic Courtès
parent 9aa2a41b47
commit 7bae4f1650
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -109,3 +109,17 @@ (define-public dbqn
the same author.")
(home-page "https://github.com/dzaima/BQN")
(license license:expat))))
(define bqn-sources
;; Aside from dbqn above, the main bqn repository is used by other
;; implementations as a "known good" set of sources. CBQN uses dbqn to
;; generate an intermediate bytecode for its own compilation.
(let ((commit "e219af48401473a7bac49bdd8b89d69082cf5dd8"))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mlochbaum/BQN")
(commit commit)))
(file-name (git-file-name "bqn-sources" commit))
(sha256
(base32 "0r6pa9lscl2395g4xlvmg90vpdsjzhin4f1r0s7brymmpvmns2yc")))))