summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2025-09-17 15:56:47 +0200
committerLudovic Courtès <ludo@gnu.org>2025-09-30 08:43:42 +0200
commit38d460615898969921b648b1bc566d790a8f7666 (patch)
tree76fabe475d4d4b691cfc4c10fb377330272fd1c2 /gnu
parent1d59a1a217b7a535268e4d883a58e21b189f2988 (diff)
gnu: Add elixir-websock.
* gnu/packages/elixir-web.scm: New file. (elixir-websock): New variable. * gnu/local.mk: Add it. Change-Id: I0c7ad2b07f7ad7423657500a93393c571d266747 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/elixir-web.scm48
2 files changed, 49 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 13967641252..ea34a6dd449 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -264,6 +264,7 @@ GNU_SYSTEM_MODULES = \
264 %D%/packages/elixir-databases.scm \ 264 %D%/packages/elixir-databases.scm \
265 %D%/packages/elixir-i18n.scm \ 265 %D%/packages/elixir-i18n.scm \
266 %D%/packages/elixir-markup.scm \ 266 %D%/packages/elixir-markup.scm \
267 %D%/packages/elixir-web.scm \
267 %D%/packages/elixir-xyz.scm \ 268 %D%/packages/elixir-xyz.scm \
268 %D%/packages/elm.scm \ 269 %D%/packages/elm.scm \
269 %D%/packages/embedded.scm \ 270 %D%/packages/embedded.scm \
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm
new file mode 100644
index 00000000000..f3a3b7b57a5
--- /dev/null
+++ b/gnu/packages/elixir-web.scm
@@ -0,0 +1,48 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2025 Giacomo Leidi <goodoldpaul@autistici.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages elixir-web)
20 #:use-module (gnu packages erlang-xyz)
21 #:use-module (gnu packages elixir-databases)
22 #:use-module (gnu packages elixir-i18n)
23 #:use-module (gnu packages elixir-markup)
24 #:use-module (gnu packages elixir-xyz)
25 #:use-module (guix build-system mix)
26 #:use-module (guix download)
27 #:use-module (guix git-download)
28 #:use-module (guix gexp)
29 #:use-module ((guix licenses)
30 #:prefix license:)
31 #:use-module (guix packages))
32
33(define-public elixir-websock
34 (package
35 (name "elixir-websock")
36 (version "0.5.3")
37 (source
38 (origin
39 (method url-fetch)
40 (uri (hexpm-uri "websock" version))
41 (sha256
42 (base32 "0lxlp1h18595nqczfg15iy34kw5xbbab3yk6ml9cf8mcgwyla1b1"))))
43 (build-system mix-build-system)
44 (synopsis "Specification for WebSocket connections")
45 (description
46 "This package provides a specification for @code{WebSocket} connections.")
47 (home-page "https://hexdocs.pm/websock/")
48 (license license:expat)))