summaryrefslogtreecommitdiff
path: root/gnu/packages/elixir-web.scm
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/packages/elixir-web.scm
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/packages/elixir-web.scm')
-rw-r--r--gnu/packages/elixir-web.scm48
1 files changed, 48 insertions, 0 deletions
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)))