aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorIgor Goryachev via Guix-patches via <guix-patches@gnu.org>2024-08-05 13:44:34 +0300
committerAndrew Tropin <andrew@trop.in>2024-08-05 17:14:46 +0400
commit7b4561b932d3114ca96ee5f54dfd5660a1ad9fb0 (patch)
tree142bdc16a344d63acb80ac410aa5770f9053e1da /gnu
parent3c309a7b7020a9645bfe775d9f53f43f05d076bf (diff)
downloadguix-7b4561b932d3114ca96ee5f54dfd5660a1ad9fb0.tar.gz
guix-7b4561b932d3114ca96ee5f54dfd5660a1ad9fb0.zip
gnu: Add erlang-base64url.
* gnu/packages/erlang-xyz.scm (erlang-base64url): New variable. Change-Id: I2b7b44631408138576e4a1498a39c64810cb0582 Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/erlang-xyz.scm51
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
new file mode 100644
index 0000000000..1cf5d9c6fd
--- /dev/null
+++ b/gnu/packages/erlang-xyz.scm
@@ -0,0 +1,51 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages erlang-xyz)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages erlang)
+ #:use-module (guix build-system rebar)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix utils))
+
+(define-public erlang-base64url
+ (package
+ (name "erlang-base64url")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "base64url" version))
+ (sha256
+ (base32 "0p4zf53v86zfpnk3flinjnk6cx9yndsv960386qaj0hsfgaavczr"))))
+ (build-system rebar-build-system)
+ (synopsis "URL safe base64-compatible codec")
+ (description "This package provides URL safe base64-compatible codec
+for Erlang.")
+ (home-page "https://hex.pm/packages/base64url")
+ (license license:expat)))
+
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;