Message ID | 64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 569C927BBEA; Fri, 8 Apr 2022 18:16:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 267B327BBE9 for <patchwork@mira.cbaines.net>; Fri, 8 Apr 2022 18:16:42 +0100 (BST) Received: from localhost ([::1]:57322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1ncsDx-0006DW-9j for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ncs2m-0005td-JS for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ncs2m-0005eo-9G for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ncs2m-0001dK-4N for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. Resent-From: Hartmut Goebel <h.goebel@crazy-compilers.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:08 +0000 Resent-Message-ID: <handler.54796.B54796.16494374736020@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374736020 (code B ref 54796); Fri, 08 Apr 2022 17:05:08 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:33 +0000 Received: from localhost ([127.0.0.1]:35798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1ncs2C-0001Yw-Lk for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:33 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:58703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <h.goebel@crazy-compilers.com>) id 1ncs2B-0001YD-0z for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:31 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MfHxt-1oApvu1qO3-00gmyk for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:25 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id EB3396647F; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel <h.goebel@crazy-compilers.com> Date: Fri, 8 Apr 2022 19:03:46 +0200 Message-Id: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <cover.1649436566.git.h.goebel@crazy-compilers.com> References: <cover.1649436566.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:65nt7O7X/XRrEmz3ed2xGtG6ILYncBrl8yxI786HqI2LO8KIetK MQ2kcnyvfgZWVHkq4o3EXHWCKQEkZ4KPdecGsz7jFipPGZkiI1jvWipRoxNGU7Hf1h7VzbQ vyByc4k2UCrp3u/xEIAt/bnmZXhRZjQJ+2hTewZAITqoFyutSPW149C7mV+btcncxKhsiqi rxHJw9VVzzmHBnWVezRnQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Z0H5dw5zT74=:vkB1UXXPRQ7F9yM958B/zs xAPKW+O4U38b0u2AQWt82kR6enD9+K9SAyivbJzrBlw30+Rj7yb9TvLIMam+kfhcnxqrn/C5+ 87Bvsn38/CRn+jHd1XIkqUOwVO00jzQX9xaEdex0i/Wpn7MvBSBIPGaSpJtaYEt7s+wAAeCZ0 MMohCFGVsZc5jD+awyxCg3WIiOFECg9h4zVD7tiy/8wINTCr+TaksycaVUQVGMGcgo3VcnjiU Cf9XbBm65K5uqAoeDV8g5/mdWhQExclGmWEnNKrPQKrEmeH1CrZD0Vyy8VpimPInz/RvG4VJr xLpXMrZCEYgXDMO/VtRobxtGdzV+FDXMJGpTWwireLn5mtkc23kPk6xSGsVe1Ax7O8Y2MtUCk ObQbiHWyVa574m1mm0R4BWww1tzxfwoYjn6WHkVZFxpEAletkHySbyMfLmateqqFnQtsprsv/ jaJMICe8W5SAdse/Emy/MYnHcoNGygzEMY4siW7eA7a9dRvTpy+VYibv30tCpaBTKqU9rOaRn G0z7RUEh6WTE7NPgHbRlddR6NlSR2d0VQx4BhwT+HDgRyaYFb4CDF8tIPlLp9FsnEQYRm86Rg jJZMgAYsXUCvvMBbNmSITBijGo5rv/h+csF8BLIHvrxgNpce4yWrHUmBqi4kjvLStTNxxGg8s aiQZNq4SdNZ5359CiEOnx5oxMry0QXfOdXQ6N/IZhU36howkmYru5ggnaaJHhcvDEPjzkj559 H8I1IfHNG2lbcsR2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
Add importer for hex.pm and rebar3 build-system for Erlang
|
|
Commit Message
Hartmut Goebel
April 8, 2022, 5:03 p.m. UTC
* gnu/packages/erlang.scm (erlang-relx): New variable. --- gnu/packages/erlang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Comments
Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]:
> + (description "Relx assembles releases for an Erlang/OTP release. Given a
What does ‘Erlang/OTP’ mean here? Is it like "make dist", or more like
"cargo publish", or "git tag v1.2.3"?
Greetings,
MAxime.
Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > + (propagated-inputs > + (list erlang-bbmustache)) erlang-relx looks like some kind of tool that can be run and not a library. As such, does it belong in erlang.scm or package- management.scm? Does the input need to be propagated? Can the 'erlang-' prefix be dropped? Greetings, Maxime.
Am 09.04.22 um 13:45 schrieb Maxime Devos: > erlang-relx looks like some kind of tool that can be run and not a > library. … Can the 'erlang-' prefix be dropped? The github repo says: „|relx| is a library used by rebar3“. Thus I'd keep the „erlang-“ prefix. > Does the input need to be propagated? AFAIK: Like for Python, run-time dependencies of Erlang *libraries* need to be propagated. Erlang does not actually have a notion of „library“. It's more like Rust where all all dependent sources are expected to be available at build-time and then put into the „executable“. Basically this is statically linked, so only developers/package-builders are effected by this propagation. Would be great if some experienced Erlang developer would show up and show a solution without needing to propagate.
Am 09.04.22 um 13:43 schrieb Maxime Devos: > Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: >> + (description "Relx assembles releases for an Erlang/OTP release. Given a > What does ‘Erlang/OTP’ mean here? Is it like "make dist", or more like > "cargo publish", or "git tag v1.2.3"? OTP is a collection of middleware, libraries, and tools written in Erlang programming language (Wikipedia, https://en.wikipedia.org/wiki/Open_Telecom_Platform). AFAIU it's much like the Java run-time engine plus libraries. So „Erlang/OTP” is a standing term in the Erlang and Elixir world. Thus I would keep it, expecting that Erlang developers understand this. I can't explain what this library does — all I know is: it's a dependency of rebar3.
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index a7e63db0f3..626043a1b5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -423,6 +423,28 @@ Erlang.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-relx + (package + (name "erlang-relx") + (version "4.6.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "relx" version)) + (sha256 + (base32 "02gmfx1vxg9m3mq4njsqhs4972l4nb8m5p1pdcf64g09ccf17y1g")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-bbmustache)) + (home-page "https://erlware.github.io/relx/") + (synopsis "Release assembler for Erlang/OTP Releases") + (description "Relx assembles releases for an Erlang/OTP release. Given a +release specification and a list of directories in which to search for OTP +applications it will generate a release output. That output depends heavily on +what plugins available and what options are defined, but usually it is simply +a well configured release directory.") + (license license:asl2.0))) + (define-public erlang-ssl-verify-fun (package (name "erlang-ssl-verify-fun")