unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48105] [PATCH 1/2] gnu: Add bknr-datastore
@ 2021-04-29 18:36 Sharlatan Hellseher
  2021-04-29 18:38 ` [bug#48105] [PATCH 2/2] gnu: Add unit-test Sharlatan Hellseher
  2021-04-30  7:48 ` bug#48105: [PATCH 1/2] gnu: Add bknr-datastore Guillaume Le Vaillant
  0 siblings, 2 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2021-04-29 18:36 UTC (permalink / raw)
  To: 48105

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-bknr-datastore.patch --]
[-- Type: text/x-patch, Size: 3020 bytes --]

From 4540f61d5bb90f00a9f4e7dc2ad3180fc30f638f Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 29 Apr 2021 19:32:04 +0100
Subject: [PATCH 1/2] gnu: Add bknr-datastore

* gnu/packages/lisp-xyz.scm (sbcl-bknr-datastore, cl-bknr-datastore):
  New variables
---
 gnu/packages/lisp-xyz.scm | 62 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1ee712e37f..bd3210d8c1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16284,3 +16284,65 @@ color spaces, which supports many color models.")
 
 (define-public cl-dufy
   (sbcl-package->cl-source-package sbcl-dufy))
+
+(define-public sbcl-bknr-datastore
+  (let ((commit "c98d44f47cc88d19ff91ca3eefbd9719a8ace022")
+        (revision "1"))
+    (package
+      (name "sbcl-bknr-datastore")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               ;; Some other similar repository
+               ;; https://github.com/sharplispers/bknr.datastore
+               (url "https://github.com/hanshuebner/bknr-datastore")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1vi3w65fnczqvswkm381n6liqfrzjrg40y698qvj7skj28dm5vrm"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       `(#:asd-systems
+         '("bknr.datastore"
+           "bknr.impex"
+           "bknr.indices"
+           "bknr.skip-list"
+           "bknr.utils"
+           "bknr.xml")
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'chdir
+             (lambda _
+               (chdir "src")
+               #t)))))
+      (native-inputs
+       `(("unit-test" ,sbcl-unit-test)))
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("bordeaux-threads" ,sbcl-bordeaux-threads)
+         ("closer-mop" ,sbcl-closer-mop)
+         ("cl-interpol" ,sbcl-cl-interpol)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("cl-store" ,sbcl-cl-store)
+         ("cxml" ,sbcl-cxml)
+         ("flexi-streams" ,sbcl-flexi-streams)
+         ("md5" ,sbcl-md5)
+         ("trivial-utf-8" ,sbcl-trivial-utf-8)
+         ("yason" ,sbcl-yason)))
+      (home-page "https://github.com/hanshuebner/bknr-datastore")
+      (synopsis "MOP-Based in-memory database with transactions for Common Lisp")
+      (description
+       "BKNR.DATASTORE is an in-memory CLOS based data store.  This package
+produces 6 systems: BKNR.DATASTORE BKNR.IMPEX BKNR.INDICES BKNR.SKIP-LIST
+BKNR.UTILS BKNR.XML")
+      (license license:bsd-2))))
+
+;; NOTE: (Sharlatan-20210429T191426+0100):
+;; There is no port for ECL in upstream yet
+;; (define-public ecl-bknr-datastore
+;;   (sbcl-package->ecl-package sbcl-bknr-datastore))
+
+(define-public cl-bknr-datastore
+  (sbcl-package->cl-source-package sbcl-bknr-datastore))
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#48105] [PATCH 2/2] gnu: Add unit-test
  2021-04-29 18:36 [bug#48105] [PATCH 1/2] gnu: Add bknr-datastore Sharlatan Hellseher
@ 2021-04-29 18:38 ` Sharlatan Hellseher
  2021-04-30  7:48 ` bug#48105: [PATCH 1/2] gnu: Add bknr-datastore Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2021-04-29 18:38 UTC (permalink / raw)
  To: 48105

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hi Guix team!

Some interesting Common Lisp system from Common Lisp Recipes.
Yet it has not been ported to ECL.

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-unit-test.patch --]
[-- Type: text/x-patch, Size: 1840 bytes --]

From 451515e288cc42c1522a10d8ab89cf89dcb0f976 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 29 Apr 2021 19:33:34 +0100
Subject: [PATCH 2/2] gnu: Add unit-test

* gnu/packages/lisp-xyz.scm (sbcl-unit-test, ecl-unit-test,
  cl-unit-test):  New variables
---
 gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index bd3210d8c1..ecc0582e8d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16285,6 +16285,35 @@ color spaces, which supports many color models.")
 (define-public cl-dufy
   (sbcl-package->cl-source-package sbcl-dufy))
 
+(define-public sbcl-unit-test
+  (let ((commit "266afaf4ac091fe0e8803bac2ae72d238144e735")
+        (revision "1"))
+    (package
+      (name "sbcl-unit-test")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/hanshuebner/unit-test")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "11hpksz56iqkv7jw25p2a8r3n9dj922fyarn16d98589g6hdskj9"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/hanshuebner/unit-test")
+      (synopsis "Unit-testing framework for common lisp")
+      (description
+"Unit-testing framework for common lisp")
+      (license license:unlicense))))
+
+(define-public ecl-unit-test
+  (sbcl-package->ecl-package sbcl-unit-test))
+
+(define-public cl-unit-test
+  (sbcl-package->cl-source-package sbcl-unit-test))
+
 (define-public sbcl-bknr-datastore
   (let ((commit "c98d44f47cc88d19ff91ca3eefbd9719a8ace022")
         (revision "1"))
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#48105: [PATCH 1/2] gnu: Add bknr-datastore
  2021-04-29 18:36 [bug#48105] [PATCH 1/2] gnu: Add bknr-datastore Sharlatan Hellseher
  2021-04-29 18:38 ` [bug#48105] [PATCH 2/2] gnu: Add unit-test Sharlatan Hellseher
@ 2021-04-30  7:48 ` Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2021-04-30  7:48 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 48105-done

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

Patches pushed as c72c3e50cd29c45f9e4f32313e5d937905085050 and following
with a few modifications.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-30  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 18:36 [bug#48105] [PATCH 1/2] gnu: Add bknr-datastore Sharlatan Hellseher
2021-04-29 18:38 ` [bug#48105] [PATCH 2/2] gnu: Add unit-test Sharlatan Hellseher
2021-04-30  7:48 ` bug#48105: [PATCH 1/2] gnu: Add bknr-datastore 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).