From bf67d19fc0e5b366a2fca1991a250ee14b93070c Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Wed, 8 Dec 2021 23:10:53 -0600 Subject: [PATCH 3/7] gnu: Add cl-vex-templates. * gnu/packages/lisp-xyz.scm (sbcl-vex-templates, cl-vex-templates, ecl-vex-templates): New variables. --- gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5f864656b7..e698f6bcf6 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -20028,3 +20028,46 @@ (define-public cl-maxpc (define-public ecl-maxpc (sbcl-package->ecl-package sbcl-maxpc)) + +(define-public sbcl-vex-templates + (package + (name "sbcl-vex-templates") + (version "0.9.55") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phantomics/april") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ijx1csrb1i2kw3fx8f08541b2zg4p72b8l0izkv278yk8cw44v5")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("array-operations" ,sbcl-array-operations) + ("maxpc" ,sbcl-maxpc) + ("cl-ppcre" ,sbcl-cl-ppcre) + ("symbol-munger" ,sbcl-symbol-munger) + ("prove" ,sbcl-prove))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build + (lambda _ + (for-each delete-file + '("april.asd" + "aplesque/aplesque.asd")) + #t))) + #:asd-systems '("vex"))) + (home-page "https://github.com/phantomics/april") + (synopsis "Templates for implementing your own vector programming language") + (description "This package provides a set of templates for implementing +your own vector programming language that compiles to Common Lisp.") + (license license:asl2.0))) + +(define-public cl-vex-templates + (sbcl-package->cl-source-package sbcl-vex-templates)) + +(define-public ecl-vex-templates + (sbcl-package->ecl-package sbcl-vex-templates)) -- 2.34.0