[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add guile3.0-websocket.
From: |
guix-commits |
Subject: |
09/11: gnu: Add guile3.0-websocket. |
Date: |
Sun, 29 Mar 2020 09:37:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 8ffc20efb8ca2d7421474bad84ce780466bdab4d
Author: Evan Straw <address@hidden>
AuthorDate: Fri Mar 27 19:58:39 2020 -0700
gnu: Add guile3.0-websocket.
* gnu/packages/guile-xyz.scm (guile3.0-websocket): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/guile-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 09427da..0ed8419 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2019, 2020 Amar Singh <address@hidden>
;;; Copyright © 2019 Timothy Sample <address@hidden>
;;; Copyright © 2019 Martin Becze <address@hidden>
+;;; Copyright © 2020 Evan Straw <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3241,3 +3242,45 @@ according to Bitorrent BEP003.")
Relay Chat} (IRC).")
;; Some file headers incorrectly say LGPLv2+.
(license license:lgpl2.1+))))
+
+(define-public guile3.0-websocket
+ (let ((commit "c854e0f84a40d972cbd532bbb89c97ca0126a7cf"))
+ (package
+ (name "guile3.0-websocket")
+ (version "0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://dthompson.us/guile-websocket.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hymvsfrmq9qxr5cxnsgdz7y757yp1cpsgxmdp3f5wxxxpqgsmzx"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:make-flags
+ '("GUILE_AUTO_COMPILE=0")
+ #:phases
+ (modify-phases %standard-phases
+ ;; The package was developed for Guile 2.0 and has this version
+ ;; hardcoded in the configure.ac and Makefile.am files. Substitute
+ ;; 3.0 instead so it can support Guile 3.0.
+ (add-after 'unpack 'update-guile-version
+ (lambda _
+ (substitute* "configure.ac"
+ (("2.0.9") "3.0.0"))
+ (substitute* "Makefile.am"
+ (("2.0") "3.0"))
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs
+ `(("guile" ,guile-next)))
+ (synopsis "Websocket server/client for Guile")
+ (description "Guile-websocket provides an implementation of the
+WebSocket protocol as defined by RFC 6455.")
+ (home-page "https://git.dthompson.us/guile-websocket.git")
+ (license license:lgpl3+))))
- branch master updated (3b1886c -> 033df23), guix-commits, 2020/03/29
- 01/11: store: Add 'map/accumulate-builds'., guix-commits, 2020/03/29
- 02/11: guix build: Use 'map/accumulate-builds'., guix-commits, 2020/03/29
- 03/11: gexp: 'lower-inputs' uses 'mapm/accumulate-builds'., guix-commits, 2020/03/29
- 04/11: profiles: Use 'mapm/accumulate-builds'., guix-commits, 2020/03/29
- 06/11: grafts: Don't rely on substitute info for missing store items., guix-commits, 2020/03/29
- 05/11: store: Add 'references/cached'., guix-commits, 2020/03/29
- 11/11: packages: Change 'guile-for-grafts' back to 2.0., guix-commits, 2020/03/29
- 09/11: gnu: Add guile3.0-websocket.,
guix-commits <=
- 08/11: services: shepherd: Mark '.go' derivations as non-substitutable., guix-commits, 2020/03/29
- 10/11: gnu: guile3.0-websocket: Install .go files in the right place., guix-commits, 2020/03/29
- 07/11: '--dry-run' no longer implies '--no-grafts'., guix-commits, 2020/03/29