all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48542] [PATCH 3/3]: gnu: Add woo
@ 2021-05-20 16:37 Sharlatan Hellseher
  2021-05-20 16:39 ` [bug#48542] [PATCH 2/3]: gnu: Add lev Sharlatan Hellseher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-20 16:37 UTC (permalink / raw)
  To: 48542

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

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

[-- Attachment #2: 0003-gnu-Add-woo.patch --]
[-- Type: text/x-patch, Size: 2857 bytes --]

From c1e5fdd382cad391883b5702988c978d2cb28f5a Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 20 May 2021 17:35:01 +0100
Subject: [PATCH 3/3] gnu: Add woo

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6fb48f404b..6149536047 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16752,3 +16752,63 @@ format.")
 
 (define-public ecl-lev
   (sbcl-package->ecl-package sbcl-lev))
+
+(define-public sbcl-woo
+  (let ((commit "fba3567be95ed6e782d98a4c1477d3a74b8ad124")
+        (revision "1"))
+    (package
+      (name "sbcl-woo")
+      (version (git-version "0.12.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/fukamachi/woo")
+               (commit commit)))
+         (file-name (git-file-name "woo" version))
+         (sha256
+          (base32 "06f95x8s8v523gxmrkn9wwgw2pvc3bc66znbgrzhqb30y4aar5v5"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       ;; NOTE: (Sharlatan-20210520T164142+0100): Test failed, it tries to creat
+       ;; test data in sbcl-clack package
+       ;;
+       ;; Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD
+       ;; "main thread" RUNNING {100B7D8173}>:
+       ;;
+       ;; Error opening #P"/gnu/store/...-sbcl-clack-2.0.0-1.e3e0328/
+       ;; lib/common-lisp/sbcl/clack/src/test-tmpGHU3ALSV.fasl":
+       ;;
+       ;; Permission denied
+       ;;
+       `(#:tests? #f))
+      (native-inputs
+       `(("dexador" ,sbcl-dexador)))
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("bordeaux-threads" ,sbcl-bordeaux-threads)
+         ("cffi" ,sbcl-cffi)
+         ("cl-speedy-queue" ,ecl-cl-speedy-queue) ;; Required for ecl build
+         ("clack-socket" ,sbcl-clack)
+         ("fast-http" ,sbcl-fast-http)
+         ("fast-io" ,sbcl-fast-io)
+         ("lev" ,sbcl-lev)
+         ("quri" ,sbcl-quri)
+         ("rove" ,sbcl-rove)
+         ("smart-buffer" ,sbcl-smart-buffer)
+         ("static-vectors" ,sbcl-static-vectors)
+         ("swap-bytes" ,sbcl-swap-bytes)
+         ("trivial-utf-8" ,sbcl-trivial-utf-8)
+         ("vom" ,sbcl-vom)))
+      (home-page "https://github.com/fukamachi/woo")
+      (synopsis "Non-blocking HTTP server based on libev")
+      (description
+       "This package provides Common Lisp HTTP server @code{WOO}, which utilizes
+@code{libev} event library.")
+      (license license:expat))))
+
+(define-public cl-woo
+  (sbcl-package->cl-source-package sbcl-woo))
+
+(define-public ecl-woo
+  (sbcl-package->ecl-package sbcl-woo))
-- 
2.31.1


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

* [bug#48542] [PATCH 2/3]: gnu: Add lev
  2021-05-20 16:37 [bug#48542] [PATCH 3/3]: gnu: Add woo Sharlatan Hellseher
@ 2021-05-20 16:39 ` Sharlatan Hellseher
  2021-05-20 16:40 ` [bug#48542] [PATCH 1/3]: gnu: Add cl-speedy-queue Sharlatan Hellseher
  2021-05-21  9:22 ` bug#48542: [PATCH 3/3]: gnu: Add woo Guillaume Le Vaillant
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-20 16:39 UTC (permalink / raw)
  To: 48542

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

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

[-- Attachment #2: 0002-gnu-Add-lev-Common-Lisp-cffi-binding-to-libev.patch --]
[-- Type: text/x-patch, Size: 2189 bytes --]

From a16ac9342a5355a51a877e62a362cb9bd45495cf Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 20 May 2021 17:29:42 +0100
Subject: [PATCH 2/3] gnu: Add lev (Common Lisp cffi binding to libev)

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4cb1472078..6fb48f404b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16710,3 +16710,45 @@ format.")
 
 (define-public ecl-cl-speedy-queue
   (sbcl-package->ecl-package sbcl-cl-speedy-queue))
+
+(define-public sbcl-lev
+  (let ((commit "7d03c68dad44f1cc4ac2aeeab2d24eb525ad941a")
+        (revision "1"))
+    (package
+      (name "sbcl-lev")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/fukamachi/lev")
+               (commit commit)))
+         (file-name (git-file-name "lev" version))
+         (sha256
+          (base32 "14lfnrvfyg2nnvlwck896p6vgarzc6g4kijmvhi2d8wra7gxzifh"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       ;; NOTE: (Sharlatan-20210520T163300+0100): No tests in upstream
+       `(#:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-libev-lib-path
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* "src/lev.lisp"
+                 (("libev.so" all)
+                  (string-append (assoc-ref inputs "libev")
+                                        "/lib/" all))))))))
+      (inputs
+       `(("cffi" ,sbcl-cffi)
+         ("libev" ,libev)))
+      (home-page "https://github.com/fukamachi/lev")
+      (synopsis "Common Lisp bindins for libev")
+      (description
+"Common Lisp bindins for libev")
+      (license license:bsd-2))))
+
+(define-public cl-lev
+  (sbcl-package->cl-source-package sbcl-lev))
+
+(define-public ecl-lev
+  (sbcl-package->ecl-package sbcl-lev))
-- 
2.31.1


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

* [bug#48542] [PATCH 1/3]: gnu: Add cl-speedy-queue
  2021-05-20 16:37 [bug#48542] [PATCH 3/3]: gnu: Add woo Sharlatan Hellseher
  2021-05-20 16:39 ` [bug#48542] [PATCH 2/3]: gnu: Add lev Sharlatan Hellseher
@ 2021-05-20 16:40 ` Sharlatan Hellseher
  2021-05-21  9:22 ` bug#48542: [PATCH 3/3]: gnu: Add woo Guillaume Le Vaillant
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-20 16:40 UTC (permalink / raw)
  To: 48542

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

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

[-- Attachment #2: 0001-gnu-Add-cl-speedy-queue.patch --]
[-- Type: text/x-patch, Size: 1764 bytes --]

From 1dba712450d5dab981ad824d7f70253449d3364d Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 20 May 2021 17:22:08 +0100
Subject: [PATCH 1/3] gnu: Add cl-speedy-queue

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 570a645224..4cb1472078 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16682,3 +16682,31 @@ format.")
 
 (define-public cl-shasht
   (sbcl-package->cl-source-package sbcl-shasht))
+
+(define-public sbcl-cl-speedy-queue
+  (let ((commit "0425c7c62ad3b898a5ec58cd1b3e74f7d91eec4b")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-speedy-queue")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/zkat/cl-speedy-queue")
+               (commit commit)))
+         (file-name (git-file-name "cl-speedy-queue" version))
+         (sha256
+          (base32 "0czhnvxn9lvbjz9h1lb7y18nqrsq3drq5icd3lqdaa07362alriq"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/zkat/cl-speedy-queue")
+      (synopsis "Lightweight, optimized queue Common Lisp implementation")
+      (description
+"Lightweight, optimized queue Common Lisp implementation")
+      (license license:expat))))
+
+(define-public cl-speedy-queue
+  (sbcl-package->cl-source-package sbcl-cl-speedy-queue))
+
+(define-public ecl-cl-speedy-queue
+  (sbcl-package->ecl-package sbcl-cl-speedy-queue))
-- 
2.31.1


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

* bug#48542: [PATCH 3/3]: gnu: Add woo
  2021-05-20 16:37 [bug#48542] [PATCH 3/3]: gnu: Add woo Sharlatan Hellseher
  2021-05-20 16:39 ` [bug#48542] [PATCH 2/3]: gnu: Add lev Sharlatan Hellseher
  2021-05-20 16:40 ` [bug#48542] [PATCH 1/3]: gnu: Add cl-speedy-queue Sharlatan Hellseher
@ 2021-05-21  9:22 ` Guillaume Le Vaillant
  2 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-05-21  9:22 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 48542-done

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

Patches pushed as 0195d9041a5f440a7e2e14b39e98f596fddf0c12 and following
with a few modifications.
Thanks.

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

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

end of thread, other threads:[~2021-05-21  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 16:37 [bug#48542] [PATCH 3/3]: gnu: Add woo Sharlatan Hellseher
2021-05-20 16:39 ` [bug#48542] [PATCH 2/3]: gnu: Add lev Sharlatan Hellseher
2021-05-20 16:40 ` [bug#48542] [PATCH 1/3]: gnu: Add cl-speedy-queue Sharlatan Hellseher
2021-05-21  9:22 ` bug#48542: [PATCH 3/3]: gnu: Add woo Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.