From 38d460615898969921b648b1bc566d790a8f7666 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 17 Sep 2025 15:56:47 +0200 Subject: [PATCH] gnu: Add elixir-websock. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/local.mk | 1 + gnu/packages/elixir-web.scm | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 gnu/packages/elixir-web.scm diff --git a/gnu/local.mk b/gnu/local.mk index 13967641252f5b4b8d68c09aec6ed37089cb0b0b..ea34a6dd449815ae62080a0f1795b38d6f02ff72 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -264,6 +264,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/elixir-databases.scm \ %D%/packages/elixir-i18n.scm \ %D%/packages/elixir-markup.scm \ + %D%/packages/elixir-web.scm \ %D%/packages/elixir-xyz.scm \ %D%/packages/elm.scm \ %D%/packages/embedded.scm \ diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm new file mode 100644 index 0000000000000000000000000000000000000000..f3a3b7b57a5d3f5d0a985368cbdcb5a033b30af4 --- /dev/null +++ b/gnu/packages/elixir-web.scm @@ -0,0 +1,48 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Giacomo Leidi +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages elixir-web) + #:use-module (gnu packages erlang-xyz) + #:use-module (gnu packages elixir-databases) + #:use-module (gnu packages elixir-i18n) + #:use-module (gnu packages elixir-markup) + #:use-module (gnu packages elixir-xyz) + #:use-module (guix build-system mix) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (guix packages)) + +(define-public elixir-websock + (package + (name "elixir-websock") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "websock" version)) + (sha256 + (base32 "0lxlp1h18595nqczfg15iy34kw5xbbab3yk6ml9cf8mcgwyla1b1")))) + (build-system mix-build-system) + (synopsis "Specification for WebSocket connections") + (description + "This package provides a specification for @code{WebSocket} connections.") + (home-page "https://hexdocs.pm/websock/") + (license license:expat)))