From patchwork Sun Oct 29 14:36:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 55526 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D4A3A27BBEA; Sun, 29 Oct 2023 14:41:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D0F0327BBE2 for ; Sun, 29 Oct 2023 14:41:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx6yp-00047d-NK; Sun, 29 Oct 2023 10:41:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qx6yo-00046n-4N for guix-patches@gnu.org; Sun, 29 Oct 2023 10:41:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx6yn-0003aq-Sg for guix-patches@gnu.org; Sun, 29 Oct 2023 10:41:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qx6zK-0007eS-Er for guix-patches@gnu.org; Sun, 29 Oct 2023 10:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH va3e5ae0f..37252e07 03/32] gnu: erlang-certifi: moved to erlang-xyz.scm Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66801@debbugs.gnu.org Cc: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.169859046828999 (code B ref 66801); Sun, 29 Oct 2023 14:42:02 +0000 Received: (at 66801) by debbugs.gnu.org; 29 Oct 2023 14:41:08 +0000 Received: from localhost ([127.0.0.1]:42983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx6yR-0007XZ-RX for submit@debbugs.gnu.org; Sun, 29 Oct 2023 10:41:08 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:42122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx6yM-0007WL-Ow for 66801@debbugs.gnu.org; Sun, 29 Oct 2023 10:41:04 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-32da4ffd7e5so2069224f8f.0 for <66801@debbugs.gnu.org>; Sun, 29 Oct 2023 07:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deeplinks-com.20230601.gappssmtp.com; s=20230601; t=1698590424; x=1699195224; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ztm63R+AyDbSEhGZEbqmKCy+Iq55TkY73otvtyzbwx0=; b=0KgiKZGWRLnwYEUR5YEp20+BvX9hj9Tf/d3SOij4eTeFVpU0NAgzEuGwIjzyPN9a0r 9z3++oIlWGgJKRUJcDKdHx5XkvkR3yIqPejN94z//nN6N6AVmDoZUtLiIQ+aVh/U6sCv htYYPz80lxIvoM/GpwtTkYOfT9f4YMc1Dp+QY3Id20tJpWXsWlzivKNbX8MsOuaPxx/v /+DdQFvcC04WaT99l3tcPmfuFwOVQF9+ceA9xIVX2bWFpbnc6p0aLm86fCScv34EqlN6 qulXAyear7g5CKeMDcqX2xzA8d5qLzYjGoHEZAj4RIO3NCPPKoOMfBTislqa99p+4wfV jz4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698590424; x=1699195224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ztm63R+AyDbSEhGZEbqmKCy+Iq55TkY73otvtyzbwx0=; b=A+KL4JUwTVWMlpmoZInNbaugTzDUBD7EQKF1ysc3xNLKtkLt6deqPpvEZx2XSfhwRN 8Tr6SaGummK7r/DdU1AUmFOK+HYksIY+TKIOYAk3gBs0jCtTddTae4AYS0dfD2kMS+28 kIPo6pBtuaMgGI0elOaD57L3Nz1ZnOLa5N42EuNUxC1mxb4hzZjlt00mtV7K8osnqspy 9ohB443VQyZACf5EnIybvYwAYdb6UhTqy74Gq/AaIqTQ9Uwytf4see4Va0+4QU7Dixj9 GnRos5wrevOhgT0Iteu6s0A51uv9lwgJHALDja+O7c5cpVnvz6REmULLj7o4vEU2WNf3 N9wQ== X-Gm-Message-State: AOJu0YxL4I9Ei+vYrHHOKHOgGNqMB9Qu41J3ze6O8KVd/qOX1ad0vDqk Z7GQHYGgqMOPO58GDUCaFKtgSVpMVhYAzpXA2OQ= X-Google-Smtp-Source: AGHT+IGtgtRgc46vCN2u+wNAgWpjCzc8N2KoEGv0FpMrKEQmDhn86Ije8tcaGOuZ6Jmdw2mY3FbeYw== X-Received: by 2002:a5d:5850:0:b0:32f:7341:96bb with SMTP id i16-20020a5d5850000000b0032f734196bbmr7204742wrf.19.1698590424102; Sun, 29 Oct 2023 07:40:24 -0700 (PDT) Received: from doug.com ([2a01:e34:ec69:c8b0:530e:366:bd55:7769]) by smtp.gmail.com with ESMTPSA id s10-20020a5d69ca000000b00323287186aasm6059590wrw.32.2023.10.29.07.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 07:40:23 -0700 (PDT) From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 29 Oct 2023 15:36:56 +0100 Message-ID: <7c58f0885d71a76a852380230a2563eaf9508002.1698590244.git.phfrohring@deeplinks.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Change-Id: I7491af542af5ffb2d82b5555675f4f7dbef167af --- gnu/packages/erlang-xyz.scm | 62 +++++++++++++++++++++++++++++++++++++ gnu/packages/erlang.scm | 25 +-------------- 2 files changed, 63 insertions(+), 24 deletions(-) create mode 100644 gnu/packages/erlang-xyz.scm diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm new file mode 100644 index 00000000..444fa648 --- /dev/null +++ b/gnu/packages/erlang-xyz.scm @@ -0,0 +1,62 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Pierre-Henry Fröhring +;;; +;;; 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 erlang-xyz) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages base) + #:use-module (gnu packages version-control) + #:use-module (gnu packages) + #:use-module (guix build-system rebar) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix git-download) + #:use-module (guix hg-download) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26)) + +(define-public erlang-certifi + (package + (name "erlang-certifi") + (version "2.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "0ha6vmf5p3xlbf5w1msa89frhvfk535rnyfybz9wdmh6vdms8v96")))) + (build-system rebar-build-system) + (arguments `(#:tests? #f)) ;; have not been updated for latest cert bundle + (home-page "https://github.com/certifi/erlang-certifi/") + (synopsis "Erlang CA certificate bundle") + (description "This Erlang library contains a CA bundle that you can +reference in your Erlang application. This is useful for systems that do not +have CA bundles that Erlang can find itself, or where a uniform set of CAs is +valuable. + +This an Erlang specific port of certifi. The CA bundle is derived from +Mozilla's canonical set.") + (license license:bsd-3))) + +;;; +;;; 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. +;;; diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index dafc0e81..c729ab8a 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -29,6 +29,7 @@ (define-module (gnu packages erlang) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages elixir) + #:use-module (gnu packages erlang-xyz) #:use-module (gnu packages fontutils) #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) @@ -263,30 +264,6 @@ (define-public erlang-bbmustache Mustache template engine") (license license:expat))) -(define-public erlang-certifi - (package - (name "erlang-certifi") - (version "2.9.0") - (source - (origin - (method url-fetch) - (uri (hexpm-uri name version)) - (sha256 - (base32 "0ha6vmf5p3xlbf5w1msa89frhvfk535rnyfybz9wdmh6vdms8v96")))) - (build-system rebar-build-system) - (arguments - `(#:tests? #f)) ;; have not been updated for latest cert bundle - (home-page "https://github.com/certifi/erlang-certifi/") - (synopsis "Erlang CA certificate bundle") - (description "This Erlang library contains a CA bundle that you can -reference in your Erlang application. This is useful for systems that do not -have CA bundles that Erlang can find itself, or where a uniform set of CAs is -valuable. - -This an Erlang specific port of certifi. The CA bundle is derived from -Mozilla's canonical set.") - (license license:bsd-3))) - (define-public erlang-cf (package (name "erlang-cf")