unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46604] [PATCH 1/1] gnu: Add trivial-channels
@ 2021-02-17 22:57 Sharlatan Hellseher
  2021-02-18 15:25 ` bug#46604: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2021-02-17 22:57 UTC (permalink / raw)
  To: 46604

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

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

[-- Attachment #2: 0001-gnu-Add-trivial-channels.patch --]
[-- Type: text/x-patch, Size: 2113 bytes --]

From 3819747ddf768112bec4fd94b0bb6f5f1a6a2229 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 17 Feb 2021 22:37:00 +0000
Subject: [PATCH] gnu: Add trivial-channels

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 79fcbd5395..649e16840f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13427,6 +13427,39 @@ backtick.  It has been forked from SHELISP.")
 (define-public ecl-clesh
   (sbcl-package->ecl-package sbcl-clesh))
 
+(define-public sbcl-trivial-channels
+  (let ((commit "e2370118d8983ba69c0360a7695f8f2e2fd6a8a6")
+        (revision "1"))
+    (package
+      (name "sbcl-trivial-channels")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/rpav/trivial-channels")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "04wnxcgk40x8p0gxnz9arv1a5wasdqrdxa8c4p5v7r2mycfps6jj"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("trivial-timeout" ,sbcl-trivial-timeout)
+         ("bordeaux-threads" ,sbcl-bordeaux-threads)))
+      (home-page "https://github.com/rpav/trivial-channels")
+      (synopsis "Common Lisp simple thread-safe channels with timeout")
+      (description
+       "It's very basic implementation of channels and queue for Common Lisp.
+
+This package provides 1 system: @code{TRIVIAL-CHANNELS}")
+      (license license:expat))))
+
+(define-public ecl-trivial-channels
+  (sbcl-package->ecl-package sbcl-trivial-channels))
+
+(define-public cl-trivial-channels
+  (sbcl-package->cl-source-package sbcl-trivial-channels))
+
 (define-public sbcl-trivial-download
   (let ((commit "d2472061d86b1cf3d32f388daacd4e32a13af699"))
     (package
-- 
2.30.0


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

* bug#46604: [PATCH 1/1] gnu: Add trivial-channels
  2021-02-17 22:57 [bug#46604] [PATCH 1/1] gnu: Add trivial-channels Sharlatan Hellseher
@ 2021-02-18 15:25 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-02-18 15:25 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 46604-done

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

Patch pushed as dba6389c4730ca1dd0eefde0462baffc696f4d67 with a few
fixes (version number, license).
Thanks.

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

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

end of thread, other threads:[~2021-02-18 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 22:57 [bug#46604] [PATCH 1/1] gnu: Add trivial-channels Sharlatan Hellseher
2021-02-18 15:25 ` bug#46604: " 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).