* [bug#62390] [PATCH 1/3] gnu: Add lunamech-matrix-api
@ 2023-03-22 17:45 jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 1/3] gnu: Add cl-reader jgart via Guix-patches via
2023-03-27 9:05 ` bug#62390: [PATCH 1/3] gnu: Add lunamech-matrix-api Guillaume Le Vaillant
0 siblings, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2023-03-22 17:45 UTC (permalink / raw)
To: 62390
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#62390] [PATCH 1/3] gnu: Add cl-reader.
2023-03-22 17:45 [bug#62390] [PATCH 1/3] gnu: Add lunamech-matrix-api jgart via Guix-patches via
@ 2023-03-22 17:46 ` jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 2/3] gnu: Add cl-hash-set jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 3/3] gnu: Add cl-lunamech-matrix-api jgart via Guix-patches via
2023-03-27 9:05 ` bug#62390: [PATCH 1/3] gnu: Add lunamech-matrix-api Guillaume Le Vaillant
1 sibling, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2023-03-22 17:46 UTC (permalink / raw)
To: 62390; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-reader, ecl-reader, sbcl-reader):
New variables.
---
gnu/packages/lisp-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4bca9e323b..9b521039e7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -192,6 +192,55 @@ (define-public cl-alexandria
(define-public ecl-alexandria
(sbcl-package->ecl-package sbcl-alexandria))
+(define-public sbcl-reader
+ (package
+ (name "sbcl-reader")
+ (version "0.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/digikar99/reader")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0pbv6w0d8d4qmfkdsz2rk21bp1las9r7pyvpmd95qjz7kpxrirl7"))
+ (file-name (git-file-name name version))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "reader.lisp"
+ (("echo")
+ (search-input-file inputs "/bin/echo"))))))))
+ (inputs
+ (list coreutils ; Needed for call to echo.
+ sbcl-alexandria
+ sbcl-hash-set
+ sbcl-fiveam ; Tests are written directly in the source files.
+ sbcl-iterate
+ sbcl-split-sequence
+ sbcl-trivial-types))
+ (synopsis "Reader macros for common objects and data structures")
+ (description "This package provides A utility library intended
+at providing configurable reader macros for common tasks such as
+accessors, hash-tables, sets, uiop:run-program, arrays and a few others.")
+ (home-page "https://github.com/digikar99/reader/")
+ (license license:expat)))
+
+(define-public cl-reader
+ (sbcl-package->cl-source-package sbcl-reader))
+
+(define-public ecl-reader
+ (package
+ (inherit (sbcl-package->ecl-package sbcl-reader))
+ (arguments
+ ;; TODO: Tests fail on call to coreutils echo for ecl.
+ `(#:tests? #f))))
+
(define-public sbcl-stdutils
(let ((commit "4a4e5a4036b815318282da5dee2a22825369137b")
(revision "0"))
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#62390] [PATCH 2/3] gnu: Add cl-hash-set.
2023-03-22 17:46 ` [bug#62390] [PATCH 1/3] gnu: Add cl-reader jgart via Guix-patches via
@ 2023-03-22 17:46 ` jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 3/3] gnu: Add cl-lunamech-matrix-api jgart via Guix-patches via
1 sibling, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2023-03-22 17:46 UTC (permalink / raw)
To: 62390; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-hash-set, ecl-hash-set, sbcl-hash-set):
New variables.
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9b521039e7..af39bd4391 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -308,6 +308,37 @@ (define-public cl-langutils
(define-public ecl-langutils
(sbcl-package->ecl-package sbcl-langutils))
+(define-public sbcl-hash-set
+ (let ((commit "6feb20de457f14e24a83815be1097aa02cca5986")
+ (revision "0"))
+ (package
+ (name "sbcl-hash-set")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/samebchase/hash-set")
+ (commit commit)))
+ (file-name (git-file-name "cl-hash-set" version))
+ (sha256
+ (base32 "0a966y9yfarhmki4wwzg371ziaygnp13yc6r13w9zz327fkhz8na"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-fiveam))
+ (inputs (list sbcl-alexandria))
+ (home-page "https://github.com/samebchase/hash-set/")
+ (synopsis "Implementation of a hash-set")
+ (description "This package provides an implementation of the
+hash-set data structure. It has constant time lookup, insertion and
+deletion.")
+ (license license:unlicense))))
+
+(define-public cl-hash-set
+ (sbcl-package->cl-source-package sbcl-hash-set))
+
+(define-public ecl-hash-set
+ (sbcl-package->ecl-package sbcl-hash-set))
+
(define-public sbcl-duologue
(let ((commit "ea1ada244a81da65f85b548823c9a6d7c9c145e1")
(revision "0"))
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#62390] [PATCH 3/3] gnu: Add cl-lunamech-matrix-api.
2023-03-22 17:46 ` [bug#62390] [PATCH 1/3] gnu: Add cl-reader jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 2/3] gnu: Add cl-hash-set jgart via Guix-patches via
@ 2023-03-22 17:46 ` jgart via Guix-patches via
1 sibling, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2023-03-22 17:46 UTC (permalink / raw)
To: 62390; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-lunamech-matrix-api,
ecl-lunamech-matrix-api, sbcl-lunamech-matrix-api): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index af39bd4391..3feeb7cca1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -6021,6 +6021,46 @@ (define-public ecl-hunchentoot
;; Tests fail on ECL with 'Socket error in "socket": EINVAL'.
'(#:tests? #f))))
+(define-public sbcl-lunamech-matrix-api
+ (let ((commit "aa54a820149584c237b03d500ad83397fe25dc92")
+ (revision "0"))
+ (package
+ (name "sbcl-lunamech-matrix-api")
+ (version (git-version "0.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/K1D77A/lunamech-matrix-api")
+ (commit commit)))
+ (file-name (git-file-name "lunamech-matrix-api" version))
+ (sha256
+ (base32 "09r6qy4fipriqa0d6g9qm6dq992lr58vh24g5j0adm19i5fnjavh"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cl-str
+ sbcl-drakma
+ sbcl-alexandria
+ sbcl-jonathan
+ sbcl-dexador
+ sbcl-plump
+ sbcl-quri
+ sbcl-do-urlencode
+ sbcl-reader
+ sbcl-closer-mop
+ sbcl-shasht))
+ (home-page "https://github.com/K1D77A/lunamech-matrix-api/")
+ (synopsis "Implementation of the Matrix API")
+ (description "This package provides an implementation of the Matrix
+API for Common Lisp.")
+ (license license:expat))))
+
+(define-public cl-lunamech-matrix-api
+ (sbcl-package->cl-source-package sbcl-lunamech-matrix-api))
+
+(define-public ecl-lunamech-matrix-api
+ (sbcl-package->ecl-package sbcl-lunamech-matrix-api))
+
(define-public sbcl-trivial-types
(package
(name "sbcl-trivial-types")
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#62390: [PATCH 1/3] gnu: Add lunamech-matrix-api
2023-03-22 17:45 [bug#62390] [PATCH 1/3] gnu: Add lunamech-matrix-api jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 1/3] gnu: Add cl-reader jgart via Guix-patches via
@ 2023-03-27 9:05 ` Guillaume Le Vaillant
1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2023-03-27 9:05 UTC (permalink / raw)
To: jgart; +Cc: 62390-done
[-- Attachment #1: Type: text/plain, Size: 126 bytes --]
Patches pushed as 4b7c81c6b5a5e05fa93c2a44539f8c66d96b3c86 and following
with a few fixes for cl-lunamech-matrix-api.
Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-27 9:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22 17:45 [bug#62390] [PATCH 1/3] gnu: Add lunamech-matrix-api jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 1/3] gnu: Add cl-reader jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 2/3] gnu: Add cl-hash-set jgart via Guix-patches via
2023-03-22 17:46 ` [bug#62390] [PATCH 3/3] gnu: Add cl-lunamech-matrix-api jgart via Guix-patches via
2023-03-27 9:05 ` bug#62390: [PATCH 1/3] gnu: Add lunamech-matrix-api Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).