From unknown Fri Jun 20 07:20:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54796 <54796@debbugs.gnu.org> To: bug#54796 <54796@debbugs.gnu.org> Subject: Status: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Reply-To: bug#54796 <54796@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:20:10 +0000 retitle 54796 [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-sys= tem for Erlang reassign 54796 guix-patches submitter 54796 Hartmut Goebel severity 54796 normal tag 54796 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:02:07 2022 Received: (at submit) by debbugs.gnu.org; 8 Apr 2022 17:02:07 +0000 Received: from localhost ([127.0.0.1]:35757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncrzr-0001SR-AF for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:02:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:41326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncrzp-0001SK-LC for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:02:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncrzo-0000gl-5c for guix-patches@gnu.org; Fri, 08 Apr 2022 13:02:05 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:39231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncrzm-0005Bd-5C for guix-patches@gnu.org; Fri, 08 Apr 2022 13:02:03 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MpDa5-1oKhsQ2x3f-00qicP for ; Fri, 08 Apr 2022 19:01:57 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id AE5B55F535; Fri, 8 Apr 2022 19:02:05 +0200 (CEST) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Date: Fri, 8 Apr 2022 19:01:55 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:lmhsSRxWOy6S+nWuMoNARpIdRiPaZQ2rMw2l+LxkjLSwhNuqOBl uYQqi4WQo3ZDAFm5LNGzLmg5XnG94ILShhUMxpMdfrGiUcFv/M43L53DDlXilb1XN1hIM/c IjCcNn5Ih0YWoCm8PkoNvoXHnl6Q56kiefRMumgBniJioM9yIOhHsx0mmGOgX0NTiwavn3B SrBR3rs4CYeWxDrzJKN5w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yNQ3Ah5nhT8=:i7ofFy7H/JC855SfoukRCl hHI0h1/YjQ5gaE0foABtfUb3IrGTuyR4AoHaCNqhQD/cxoQJtiZfWJqlXsuPqfaBcsIRtu9tu VCaZoBS6l1F4XYX02kZCbHb7OfGoSBPQ8EFPYNlastCH7XaAZQ/r5wRHr6A6s1cbLRD8BfFe3 WLDn2RaUUSfr3GQ+UkuordLdyPbry8xQTpmt9tH/EhCa7O4yFN6AJjTIXBTcZNjSBlJHegnyu MlOu+vMpJpP6P3EIufKVK2R5F+ALLkzWqKZxFS5tLQTFGsztS9X45feLEztz0eaM1RA6p9xuC Tr9/RgiemDdBoGeHNOvEjawCDoYL1/fsfk8AuwHB60HKPnYTassMyqE2agq2r/QkrlSDnKXb1 ER9mGMOOLcvrWd4WhFUDmfywlezePUbCyLhVBkTR7284B+Mdlc3RqRhavWjr+WB+dseITaGf9 DyELh+yvWlPpZrfengv87cQTwnNoFWFhEagl8fMH9qnZZv9u9be+qo3OqlMQnKX1GWZoXbkyX YB+Gp+U7R3EtKV3VSkSRvzSd03jd1KyMxeYobszr60P7qrv/STfDmYS3nbFVQmxEoXbGmTpNS eUuIqtK7wdrf6GC2nIvuP9NW3pUnUJwOEQOnH3VivTLxMTSq/7Yy3TeOLUI/KUrpTh9W5LIJZ mSZ/X2OSMNkraHOUUfSgoH4bXyNfuIJU21ZsQ8rLX7YVMKYgxnCXErknTjBe4xD/1WXj8Kz2Q eHxgPrMS3KT1SiOg Received-SPF: none client-ip=217.72.192.75; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, this is an updated version of #42180 and #51061 (both are closed already). Notable changes are: * the „extracting downloader“ and „hexpm-fetch” are gone * documentation added for both the importer and the rebar3-build-system * tests added for the importer Some remarks on the patches: * First patch adds a file guix/hexpm-download.scm, containing definitions for the hex.pm repository. These are combined in this module here since different build-systems (will) use it. * The importer tries to detect the build system to be used. For Elexir packages it creates package definitions using the “mix-build-system‘. This I will add later (WIP). * Next there patches provide the packages required rebar3, rebar3 itself and some plugins for rebar3. Open question: * Shall the build system actually be called „rebar*3*“ or just „rebar“? There is also a build-tool „rebar2“, which is obsoltete and not supported by this build-system. Anyhow, somewhen in the future there might be some „rebar4“, which we might be able to cover with the same build-system. WDYT? Hartmut Goebel (22): import: Add hex.pm importer. gnu: Add erlang-cf. gnu: Add erlang-certifi. gnu: Add erlang-erlware-commons. gnu: Add erlang-cth-readable. gnu: Add erlang-bbmustache. gnu: Add erlang-getopt. gnu: Add erlang-eunit-formatters. gnu: Add erlang-providers. gnu: Add erlang-parse-trans. gnu: Add erlang-hex-core. gnu: Add erlang-ssl-verify-fun. gnu: Add erlang-relx. gnu: Add erlang-edown. gnu: Add erlang-jsone. gnu: Add erlang-proper. gnu: Add erlang-covertool. gnu: Add rebar3. gnu: Add rebar3-raw-deps. gnu: Add rebar3-git-vsn. gnu: Add rebar3-proper. build-system: Add 'rebar3-build-system'. Makefile.am | 6 + doc/guix.texi | 70 ++++- gnu/packages/erlang.scm | 488 +++++++++++++++++++++++++++++ guix/build-system/rebar3.scm | 143 +++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++ guix/hexpm-download.scm | 40 +++ guix/import/hexpm.scm | 347 ++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++ po/guix/POTFILES.in | 1 + tests/hexpm.scm | 257 +++++++++++++++ 11 files changed, 1608 insertions(+), 2 deletions(-) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:17 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:17 +0000 Received: from localhost ([127.0.0.1]:35763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1o-0001W4-R8 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:17 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:52129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1k-0001VO-NM for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:07 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsIfc-1nxHBk2gLS-00tkvU for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:03:58 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 02D2A5F535; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 01/22] import: Add hex.pm importer. Date: Fri, 8 Apr 2022 19:03:34 +0200 Message-Id: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:bHB66L6VWmSSqQle+3NpbYgf3vx4p3ir7SOD3aNtXe6XOSrvcLe Pn3j8sHzMw/RqpYuQYTA/f9TeTlTYSNlTx/JPzE7BixHLLIvchSU7E29JsnKaYYuEMNFj9X /OXHnWRyoAfhPck3WIsSAXa15fF0RAfEI7WvIg3n7Px9mqliaLZiLLgv6tDRTaRU9RbMPb/ AN+FwPT8RsbKe/uqb/ITQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:otzO0jEm9mg=:EnhO++FjQydNqJj/PEeLSP +wHXZm8pw+zXS6LamUdUeFFtKDbOgXiNcoE79kB1pfUXmGNlM2B4FtOH/RoFkEq0yptbc6k4h Jahuy0JmH8jbPnMg0+aZwfZ8dR413DBjjbNTuCRUqm8kVYhYmMWczY4D3uNevlRM+oa5Uh/Lx lfheQ3mKSX/Aks7SWTs914BPJehna583IvnC8CYXLaWbFWhQiFIgGfwA0nH4duCNFSD9QwRTc 75BhK9a6aHShuA7raKiGepm5+vXIC1WX4ZfZq4KVHAEN7UeBvQkOKqW6HpSCMe6jAXsJRAlUD 2HW5wMjcas6A1GoqVsR7pxXxbWGZdPXfoAElmUnuu6Ee/vA3vMnSjQ4Y7GfocfoZXn271QUd7 ncPbMJA2KukAf/Wa1gaD0XEihn8xaT8Ica9wdsQgPtnHQ0J8w/rHlz2Qta9klK5s1l5HAijR2 OvJ8CTDo/wJdZZR19VlWRVswHM59+RIdzLYto0aboJJ4hUC68UG+0qz84FSwnOX70GNfXtPI1 ilVRy75fWQ9nqq734RYhdppJtffPKyy09lok3RAL9vi4CfpUggOIxpkyWVW8+JzISH06X3rHL dY/ZB01FEb7OWkT19oZQuRfIx2jGIRMAJxnRVB5DJxsvE7M5MINk2/QPWmJ7NZb5F5p3tcR1U 9mpE1V2ovEen5d9NgJLMDWDStbHGCWG0bQaSnnXUaeWgzD5AusF0WEi3Ya9tugtD8qatCrU0Y giOO/sTgJuUsNi2Q X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) hex.pm is a package repository for Erlang and Elixir. * doc/guix.texi (Invoking guix import): Document it. * guix/scripts/import/hexpm.scm, guix/import/hexpm.scm, guix/hexpm-download.scm: New files. * tests/hexpm.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Register them. * po/guix/POTFILES.in: Likewise. * guix/scripts/import.scm (importers): Add "hexpm". --- Makefile.am | 4 + doc/guix.texi | 29 ++- guix/hexpm-download.scm | 40 ++++ guix/import/hexpm.scm | 347 ++++++++++++++++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++++++ po/guix/POTFILES.in | 1 + tests/hexpm.scm | 257 +++++++++++++++++++++++++ 8 files changed, 787 insertions(+), 2 deletions(-) create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm diff --git a/Makefile.am b/Makefile.am index aedb514ee1..be2c183206 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,6 +100,7 @@ MODULES = \ guix/git-download.scm \ guix/hg-download.scm \ guix/hash.scm \ + guix/hexpm-download.scm \ guix/swh.scm \ guix/monads.scm \ guix/monad-repl.scm \ @@ -263,6 +264,7 @@ MODULES = \ guix/import/gnu.scm \ guix/import/go.scm \ guix/import/hackage.scm \ + guix/import/hexpm.scm \ guix/import/json.scm \ guix/import/kde.scm \ guix/import/launchpad.scm \ @@ -311,6 +313,7 @@ MODULES = \ guix/scripts/import/gnu.scm \ guix/scripts/import/go.scm \ guix/scripts/import/hackage.scm \ + guix/scripts/import/hexpm.scm \ guix/scripts/import/json.scm \ guix/scripts/import/minetest.scm \ guix/scripts/import/opam.scm \ @@ -488,6 +491,7 @@ SCM_TESTS = \ tests/graph.scm \ tests/gremlin.scm \ tests/hackage.scm \ + tests/hexpm.scm \ tests/home-import.scm \ tests/http-client.scm \ tests/import-git.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index e8ef4286be..6c17b26d70 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -48,7 +48,7 @@ Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* -Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* +Copyright @copyright{} 2017, 2019, 2020, 2022 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* @@ -12817,6 +12817,33 @@ guix import egg arrays@@1.0 @end example Additional options include: +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively +and generate package expressions for all those packages that are not yet +in Guix. +@end table + +@item hexpm +@cindex hexpm +Import metadata from the hex.pm Erlang and Elixir package repository +@uref{https://hex.pm, hex.pm}, as in this example: + +@example +guix import hexpm stun +@end example + +The importer tries to determine the build system used by the package. + +The hexpm importer also allows you to specify a version string: + +@example +guix import hexpm cf@@0.3.0 +@end example + +Additional options include: + @table @code @item --recursive @itemx -r diff --git a/guix/hexpm-download.scm b/guix/hexpm-download.scm new file mode 100644 index 0000000000..e2f0eb22a8 --- /dev/null +++ b/guix/hexpm-download.scm @@ -0,0 +1,40 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix hexpm-download) + #:use-module (srfi srfi-26) + #:export (hexpm-package-url + hexpm-uri)) + +;;; +;;; Definitions for the hex.pm repository, +;;; combined here since different build-systems use it. +;;; + +;; URL and paths from +;; https://github.com/hexpm/specifications/blob/master/endpoints.md +(define %hexpm-repo-url + (make-parameter "https://repo.hex.pm")) + +(define hexpm-package-url + (string-append (%hexpm-repo-url) "/tarballs/")) + +(define (hexpm-uri name version) + "Return a URI string for the package hosted at hex.pm corresponding to NAME +and VERSION." + (string-append hexpm-package-url name "-" version ".tar")) diff --git a/guix/import/hexpm.scm b/guix/import/hexpm.scm new file mode 100644 index 0000000000..bf7cfb333f --- /dev/null +++ b/guix/import/hexpm.scm @@ -0,0 +1,347 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Cyril Roelandt +;;; Copyright © 2016 David Craven +;;; Copyright © 2017, 2019-2021 Ludovic Courtès +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2019 Maxim Cournoyer +;;; Copyright © 2020-2022 Hartmut Goebel +;;; +;;; 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 (guix import hexpm) + #:use-module (guix base32) + #:use-module ((guix download) #:prefix download:) + #:use-module (guix hexpm-download) + #:use-module (gcrypt hash) + #:use-module (guix http-client) + #:use-module (json) + #:use-module (guix import utils) + #:use-module ((guix import json) #:select (json-fetch)) + #:use-module ((guix build utils) + #:select ((package-name->name+version + . hyphen-package-name->name+version) + dump-port)) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix monads) + #:use-module (guix packages) + #:use-module (guix upstream) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (ice-9 popen) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-2) + #:use-module (srfi srfi-26) + #:export (hexpm->guix-package + guix-package->hexpm-name + strings->licenses ;; why used here? + hexpm-recursive-import + %hexpm-updater)) + +;;; +;;; Interface to https://hex.pm/api, version 2. +;;; REST-API end-points: +;;; https://github.com/hexpm/specifications/blob/master/apiary.apib +;;; Repository end-points: +;;; https://github.com/hexpm/specifications/blob/master/endpoints.md +;;; + +(define %hexpm-api-url + (make-parameter "https://hex.pm/api")) + +(define (package-url name) + (string-append (%hexpm-api-url) "/packages/" name)) + +;; +;; Hexpm Package. /packages/${name} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Package +;; +;; Each package can have several "releases", each of which has its own set of +;; requirements, build-tool, etc. - see below. +(define-json-mapping make-hexpm-pkgdef hexpm-pkgdef? + json->hexpm + (name hexpm-name) ; string + (html-url hexpm-html-url "html_url") ; string + (docs-html-url hexpm-docs-html-url "docs_html_url") ; string | #nil + (meta hexpm-meta "meta" json->hexpm-meta) + (versions hexpm-versions "releases" ; list of + (lambda (vector) + (map json->hexpm-version + (vector->list vector)))) + ;; "latest_version" and "latest_stable_version" are not named in the + ;; specification, butt seen in practice. + (latest-version hexpm-latest-version "latest_version") ; string + (latest-stable hexpm-latest-stable "latest_stable_version")) ; string + +;; Hexpm package metadata. +(define-json-mapping make-hexpm-meta hexpm-meta? + json->hexpm-meta + (description hexpm-meta-description) ;string + (licenses hexpm-meta-licenses "licenses" ;list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + #f)))) + +;; Hexpm package versions. +(define-json-mapping make-hexpm-version hexpm-version? + json->hexpm-version + (number hexpm-version-number "version") ;string + (url hexpm-version-url)) ;string + + +(define (lookup-hexpm name) + "Look up NAME on hex.pm and return the corresopnding record +or #f if it was not found." + (and=> (json-fetch (package-url name)) + json->hexpm)) + +;; +;; Hexpm release. /packages/${name}/releases/${version} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Release +;; +(define-json-mapping make-hexpm-release hexpm-release? + json->hexpm-release + (version hexpm-release-version) ; string + (url hexpm-release-url) ; string + (meta hexpm-release-meta "meta" json->hexpm-release-meta) + ;; Specification names the next fiels "dependencies", but in practice it is + ;; "requirements". + (dependencies hexpm-requirements "requirements")) ; list of + +;; Hexpm release meta. +;; https://github.com/hexpm/specifications/blob/main/package_metadata.md +(define-json-mapping + make-hexpm-release-meta hexpm-release-meta? + json->hexpm-release-meta + (app hexpm-release-meta-app) ; string + (elixir hexpm-release-meta-elixir) ; string + (build-tools hexpm-release-meta-build-tools "build_tools" ; list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + (list))))) + +;; Hexpm dependency. Each requirement has information about the required +;; version, such as "~> 2.1.2" or ">= 2.1.2 and < 2.2.0", see +;; , and whether +;; the dependency is optional. +(define-json-mapping make-hexpm-dependency + hexpm-dependency? + json->hexpm-dependency + (name hexpm-dependency-name "app") ; string + (requirement hexpm-dependency-requirement) ; string + (optional hexpm-dependency-optional)) ; bool + +(define (hexpm-release-dependencies release) + "Return the list of dependency names of RELEASE, a ." + (let ((reqs (or (hexpm-requirements release) '#()))) + (map first reqs))) ;; TODO: also return required version + + +(define (lookup-hexpm-release version*) + "Look up RELEASE on hexpm-version-url and return the corresopnding + record or #f if it was not found." + (and=> (json-fetch (hexpm-version-url version*)) + json->hexpm-release)) + + +;;; +;;; Converting hex.pm packages to Guix packages. +;;; + +(define (maybe-inputs package-inputs input-type) + "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a +package definition. INPUT-TYPE, a symbol, is used to populate the name of +the input field." + (match package-inputs + (() + '()) + ((package-inputs ...) + `((,input-type (list ,@package-inputs)))))) + +(define (dependencies->package-names names) + "Given a list of hexpm package NAMES, returns a list of guix package names +as symbols." + ;; TODO: Base name on languange of dependency. + ;; The languange used for implementing the depcendency is not know without + ;; recursing the dependencies. So for now assume more packages are based on + ;; Erlang and prefix all dependencies with "erlang-" (the default). + (map string->symbol + (map hexpm-name->package-name + (sort names string-cipackage-name name language)) + (version ,version) + (source (origin + (method url-fetch) + (uri (hexpm-uri ,name version)) + (sha256 (base32 ,(guix-hash-url temp))))) + (build-system ,build-system) + ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs) + (synopsis ,synopsis) + (description ,(beautify-description description)) + (home-page ,(match home-page + (() "") + (_ home-page))) + (license ,(match license + (() #f) + ((license) license) + (_ `(list ,@license)))))))))) + +(define (strings->licenses strings) + "Convert the list of STRINGS into a list of license objects." + (filter-map (lambda (license) + (and (not (string-null? license)) + (not (any (lambda (elem) (string=? elem license)) + '("AND" "OR" "WITH"))) + (or (spdx-string->license license) + license))) + strings)) + +(define (hexpm-latest-release package) + "Return the version string for the latest stable release of PACKAGE." + ;; Use latest-stable if specified (see comment in hexpm-pkgdef above), + ;; otherwise compare the lists of release versions. + (let ((latest-stable (hexpm-latest-stable package))) + (if (not (unspecified? latest-stable)) + latest-stable + (let ((versions (map hexpm-version-number (hexpm-versions package)))) + (fold (lambda (a b) + (if (version>? a b) a b)) (car versions) versions))))) + +(define* (hexpm->guix-package package-name #:key repo version) + "Fetch the metadata for PACKAGE-NAME from hexpms.io, and return the +`package' s-expression corresponding to that package, or #f on failure. +When VERSION is specified, attempt to fetch that version; otherwise fetch the +latest version of PACKAGE-NAME." + + (define package + (lookup-hexpm package-name)) + + (define version-number + (and package + (or version + (hexpm-latest-release package)))) + + (define version* + (and package + (find (lambda (version) + (string=? (hexpm-version-number version) + version-number)) + (hexpm-versions package)))) + + (define release + (and package version* + (lookup-hexpm-release version*))) + + (define release-meta + (and package version* + (hexpm-release-meta release))) + + (define build-system + (and package version* + (let ((build-tools (hexpm-release-meta-build-tools release-meta))) + (cond + ((member "rebar3" build-tools) 'rebar3-build-system) + ((member "mix" build-tools) 'mix-build-system) + ((member "make" build-tools) 'gnu-build-system) + (else #f))))) + + (define language + (and package version* + (let ((elixir (hexpm-release-meta-elixir release-meta))) + (cond + ((and (string? elixir) (not (string-null? elixir))) "elixir") + (else "erlang"))))) + + (and package version* + (let ((dependencies (hexpm-release-dependencies release)) + (pkg-meta (hexpm-meta package)) + (docs-html-url (hexpm-docs-html-url package))) + (values + (make-hexpm-sexp + #:language language + #:build-system build-system + #:name package-name + #:version version-number + #:dependencies dependencies + #:home-page (or (and (not (eq? docs-html-url 'null)) + docs-html-url) + ;; TODO: Homepage? + (hexpm-html-url package)) + #:synopsis (hexpm-meta-description pkg-meta) + #:description (hexpm-meta-description pkg-meta) + #:license (or (and=> (hexpm-meta-licenses pkg-meta) + strings->licenses)) + #:tarball-url (hexpm-uri package-name version-number)) + dependencies)))) + +(define* (hexpm-recursive-import pkg-name #:optional version) + (recursive-import pkg-name + #:version version + #:repo->guix-package hexpm->guix-package + #:guix-name hexpm-name->package-name)) + +(define (guix-package->hexpm-name package) + "Return the hex.pm name of PACKAGE." + (define (url->hexpm-name url) + (hyphen-package-name->name+version + (basename (file-sans-extension url)))) + + (match (and=> (package-source package) origin-uri) + ((? string? url) + (url->hexpm-name url)) + ((lst ...) + (any url->hexpm-name lst)) + (#f #f))) + +(define* (hexpm-name->package-name name #:optional (language "erlang")) + (string-append language "-" (string-join (string-split name #\_) "-"))) + + +;;; +;;; Updater +;;; + +(define (latest-release package) + "Return an for the latest release of PACKAGE." + (let* ((hexpm-name (guix-package->hexpm-name package)) + (hexpm (lookup-hexpm hexpm-name)) + (version (hexpm-latest-release hexpm)) + (url (hexpm-uri hexpm-name version))) + (upstream-source + (package (package-name package)) + (version version) + (urls (list url))))) + +(define %hexpm-updater + (upstream-updater + (name 'hexpm) + (description "Updater for hex.pm packages") + (pred (url-prefix-predicate hexpm-package-url)) + (latest latest-release))) diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index 40fa6759ae..aaadad4adf 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -79,7 +79,7 @@ rather than \\n." ;;; (define importers '("gnu" "pypi" "cpan" "hackage" "stackage" "egg" "elpa" - "gem" "go" "cran" "crate" "texlive" "json" "opam" + "gem" "go" "cran" "crate" "texlive" "json" "opam" "hexpm" "minetest")) (define (resolve-importer name) diff --git a/guix/scripts/import/hexpm.scm b/guix/scripts/import/hexpm.scm new file mode 100644 index 0000000000..b49d263f9e --- /dev/null +++ b/guix/scripts/import/hexpm.scm @@ -0,0 +1,109 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 David Thompson +;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix scripts import hexpm) + #:use-module (guix ui) + #:use-module (guix utils) + #:use-module (guix scripts) + #:use-module (guix import hexpm) + #:use-module (guix scripts import) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-37) + #:use-module (srfi srfi-71) + #:use-module (ice-9 match) + #:use-module (ice-9 format) + #:export (guix-import-hexpm)) + + +;;; +;;; Command-line options. +;;; + +(define %default-options + '()) + +(define (show-help) + (display (G_ "Usage: guix import hexpm PACKAGE-NAME +Import and convert the hex.pm package for PACKAGE-NAME.\n")) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (newline) + (display (G_ " + -r, --recursive import packages recursively")) + (newline) + (show-bug-report-information)) + +(define %options + ;; Specification of the command-line options. + (cons* (option '(#\h "help") #f #f + (lambda args + (show-help) + (exit 0))) + (option '(#\V "version") #f #f + (lambda args + (show-version-and-exit "guix import hexpm"))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) + %standard-import-options)) + + +;;; +;;; Entry point. +;;; + +(define (guix-import-hexpm . args) + (define (parse-options) + ;; Return the alist of option values. + (parse-command-line args %options (list %default-options) + #:build-options? #f)) + + (let* ((opts (parse-options)) + (args (filter-map (match-lambda + (('argument . value) + value) + (_ #f)) + (reverse opts)))) + (match args + ((spec) + (with-error-handling + (let ((name version (package-name->name+version spec))) + (if (assoc-ref opts 'recursive) + ;; Recursive import + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (hexpm-recursive-import name version)) + ;; Single import + (let ((sexp (hexpm->guix-package name #:version version))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + spec)) + sexp))))) + (() + (leave (G_ "too few arguments~%"))) + ((many ...) + (leave (G_ "too many arguments~%")))))) diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in index 49a8edfef3..ed873fe5d9 100644 --- a/po/guix/POTFILES.in +++ b/po/guix/POTFILES.in @@ -134,6 +134,7 @@ guix/scripts/import/gem.scm guix/scripts/import/gnu.scm guix/scripts/import/go.scm guix/scripts/import/hackage.scm +guix/scripts/import/hexpm.scm guix/scripts/import/json.scm guix/scripts/import/opam.scm guix/scripts/import/pypi.scm diff --git a/tests/hexpm.scm b/tests/hexpm.scm new file mode 100644 index 0000000000..84d126c821 --- /dev/null +++ b/tests/hexpm.scm @@ -0,0 +1,257 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 David Thompson +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2022 Hartmut Goebel +;;; +;;; 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 (test-hexpm) + #:use-module (guix import hexpm) + #:use-module (guix base32) + #:use-module (gcrypt hash) + #:use-module (guix tests) + #:use-module (srfi srfi-64) + #:use-module (ice-9 binary-ports) + #:use-module (ice-9 match)) + +(define test-bla-package + "{\"name\": \"bla\", + \"html_url\": \"https://hex.pm/packages/bla\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"A cool package\", + \"licenses\": [\"MIT\", \"Apache-2.0\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"version\": \"1.5.0\"}, + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.4.7\", + \"version\": \"1.4.7\"} + ] +}") + +(define test-bla-release + "{ + \"version\": \"1.5.0\", + \"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"requirements\": { + \"blubb\":{\"app\": \"blubb\", + \"optional\": false, + \"requirement\": \"~>0.3\" + }, + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\":{ \"build_tools\":[\"mix\", \"make\", \"rebar3\"] } + }") + +(define test-blubb-package + "{\"name\": \"blubb\", + \"latest_stable_version\": \"0.3.1\", + \"latest_version\": \"0.3.1\", + \"html_url\": \"https://hex.pm/packages/blubb\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Another cool package\", + \"licenses\": [\"MIT\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"version\": \"0.3.1\"}, + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.0\", + \"version\": \"0.3.0\"} + ] +}") + +(define test-blubb-release + "{ + \"version\": \"0.3.1\", + \"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"requirements\": { + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\": { \"build_tools\":[\"mix\"] } + }") + +(define test-fasel-package + "{\"name\": \"fasel\", + \"latest_stable_version\": \"1.2.1\", + \"latest_version\": \"1.2.1\", + \"html_url\": \"https://hex.pm/packages/fasel\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Yet another cool package\", + \"licenses\": [\"GPL\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"version\": \"1.2.1\"} + ] +}") + +(define test-fasel-release + "{ + \"version\": \"1.2.1\", + \"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"requirements\" :{}, + \"meta\":{ \"build_tools\":[\"make\"] } + }") + +(test-begin "hexpm") + +(test-assert "hexpm->guix-package" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm->guix-package "bla") + (('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0zcl4dgcmqwl1g5xb901pd6dz61r1xgmac9mqlwvh022paa6gks1")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0))) + #t) + (x + (pk 'fail x #f)))))) + +(test-assert "hexpm-recursive-import" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + ("https://hex.pm/api/packages/blubb" + (values (open-input-string test-blubb-package) + (string-length test-blubb-package))) + ("https://hex.pm/api/packages/blubb/releases/0.3.1" + (values (open-input-string test-blubb-release) + (string-length test-blubb-release))) + ("https://hex.pm/api/packages/fasel" + (values (open-input-string test-fasel-package) + (string-length test-fasel-package))) + ("https://hex.pm/api/packages/fasel/releases/1.2.1" + (values (open-input-string test-fasel-release) + (string-length test-fasel-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "bla-source") + ("https://repo.hex.pm/tarballs/blubb-0.3.1.tar" + "blubb-source") + ("https://repo.hex.pm/tarballs/fasel-1.2.1.tar" + "fasel-source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm-recursive-import "bla") + ((('package + ('name "erlang-blubb") + ('version "0.3.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "blubb" 'version)) + ('sha256 + ('base32 + "17y88b5y8ld7s1c2bcwwwa04pf1cl4402i9zk3inna221ps3ppj2")))) + ('build-system 'mix-build-system) + ('inputs ('list 'erlang-fasel)) + ('synopsis "Another cool package") + ('description "Another cool package") + ('home-page "https://hex.pm/packages/blubb") + ('license 'license:expat)) + ('package + ('name "erlang-fasel") + ('version "1.2.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "fasel" 'version)) + ('sha256 + ('base32 + "1k6d70mxwqgq78jrbr7yqnw187yki74jnagybi7nacrj4a67qjha")))) + ('build-system 'gnu-build-system) + ('synopsis "Yet another cool package") + ('description "Yet another cool package") + ('home-page "https://hex.pm/packages/fasel") + ('license "GPL")) + ('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0d3gj746c4swbb1m6ycylxb239jsavvdcizag6bfbg2aqccxwij8")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0)))) + #t) + (x + (pk 'fail x #f)))))) + +(test-end "hexpm") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:20 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1x-0001Wd-AW for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:20 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:58593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1m-0001VR-PP for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:07 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MEmIl-1nkGZ12i6d-00GLON for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:00 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 1661766474; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 02/22] gnu: Add erlang-cf. Date: Fri, 8 Apr 2022 19:03:35 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:vIu2OvnfhJcrIeKiaqK4cKBkqyo70X7GWGWDW9u4f2qvjUsZ0du EpkmWq9ji5VR57lYWBRjjhg5i1sjqNRXALKaxD19/OixpvWeVrKlMWtmqap/TRC9og6ekbI BdXX1qa/PWLydsrKEic2NK9NI2vrO1UA3tdRJC0jhXRMe8fBWasYbg3gveQHsqJWdZRoqxg 4+2+b9FtMjwCB1qlI7FBg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2cQeHPTtwLc=:yGzKBGe41FEtnePQkyG5i6 LkDxasmUXazFrN8r0nLMY3GT6Q51wX8SrPG/2MbZEqCjQ3mJpkYUhdZCDjWdNX0lPCmufwNgP 6zg5f3o/pmAX5RFC2VfxNUepcWnfSjQir14ZRvc1UT8xFwDuGJc8sWMIramaDEYbP+Z2mTv6H 3r8IcJuneDwbY0eKjjLQvgS4m8gITonU1VSdIW3i5dRJcF5JXGantoS5VcgODg5eowxYQfUGq 8k0iH+EnSdiYdIV50JstjZmVCGuNmG6Ld90uoAXQaXmvMG/92pNtgh9k229GTLaADRRoNeXFI RqI78H9/eyY0fHTHk5ISPoBj8Laokg6lDwMQO7rp5wgwo/fKTZrvndsDymZWlJoqJwvz91zLm 6+0oL89/5doz1gRHg+hRF/AAB0faJB/IXvft0M0VZefyF65eG27Ol+v/jcVDbrihgwYBiKbVi mimu5sqj4ivF2WxwlkJtPDWiBj04gHPVBXPF1dFOpUALgRnISSEDjJctNerOrNjZxOJlD0NiK NqxgzvJx8S80yZ7VUr1DxyY/xqbfyAl4a25LTVvBEiMGpf/Br9yqGrKmftTczx38A2grA4dVF RkBTh1Wr6irGYJOd5NWQz84vhE4G1nfGHzcVqTfGILRyn8FgH/Kb2R1wne/Xk1Ry+IV5DxJCi ajZxCG1NYeqslyua37jpl2YYUVJ+m0VYUJAMDCwSMtsGySr+Avzd9ySKw3RZDo1XoWnEw9z+R KnQ1Be/OKflcK145 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-cf): New variable. --- gnu/packages/erlang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 888a0f4f1e..0b9e89d134 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017 Pjotr Prins ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Nikita +;;; Copyright © 2020-2022 Hartmut Goebel ;;; Copyright © 2021 Oskar Köök ;;; Copyright © 2021 Cees de Groot ;;; @@ -26,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (guix build-system emacs) + #:use-module (guix build-system rebar3) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -203,3 +205,20 @@ built-in support for concurrency, distribution and fault tolerance.") "This package provides an Emacs major mode for editing Erlang source files.") (license license:asl2.0))) + +(define-public erlang-cf + (package + (name "erlang-cf") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cf" version)) + (sha256 + (base32 "0wknz4xkqkhgvlx4vx5619p8m65v7g87lfgsvfy04jrsgm28spii")))) + (build-system rebar3-build-system) + (home-page "https://github.com/project-fifo/cf") + (synopsis "Terminal colour helper for Erlang io and io_lib") + (description "This package provides a helper library for termial colour +printing extending the io:format syntax to add colours.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:21 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs20-0001Wz-UL for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:38111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1o-0001Vk-LY for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:09 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M4KFF-1nd90d34Ov-000M8Q for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:02 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2030B66475; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 03/22] gnu: Add erlang-certifi. Date: Fri, 8 Apr 2022 19:03:36 +0200 Message-Id: <25be4a7ca6f9af888b6a97f6ab03e2e3ae2caaf7.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:wVwGv0P6wHm/TEZxfzVAB+tZ5fN691DCCoqlNM9Aqgc4wDV0it0 oaHOyWPgK9Jh2GMj15ONbF4auuHlA4xcueEvlcYqwvPP32id3a4lEKRC4vPwg5foQYrTura 12qQOarGqbecQkKS6+v/Yt0puY9kUpdwxFLNWQ0x/kxB5H2gKqJA8FZVsEYu/lJ9+sT+s/J 46jfIy0eaAANGa2StClaA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:SAvZtJG63Eg=:e/zLqaFqcBTkWUDRdUanmv DS+BufF/0bDyQBmhMy0jGpykoj3N4yfZf2t5EedOzGci1eq3TiziZHMrWukX+bjpCDROc53mt KD6Oj0QqlUQZMK3AkEPQv5ANgcQG69Y5grZc1cQWle+8D92mY9q/Lp3CjYeAJEgxByTpBNOHi 8zUo0RwzqDm8mZ4t83Fs2vn0fRi7y/wcu3bStLnRUJupQlCgCLucbMzeQGbaSTTEkeqJWQo6p qsbCrnKGx2Mk8xrRhzVeRcOvHch3aENI0cE2HKqkM7hC9WxleQKtdyGZXxDmMT7EC4O+EhqqH lb30UaUvDFQUt9BMiJPSMovL68kprj7202bc+H4LPxVZFhqgNueOEFqwj3v3MhTvyjZb+WhCe 6vqelplIaJNraEIHtwaE0g4KKUs8c0MR0QJk9+NU7w/jI2bfgw9N9Z6RD+OFZNL/xnwjdJQWY by7BAUsd+hU2ZW7/qXzQpuby+uVgwW1bQuG5t/ZiEkUEYYZQ2wCZYWAmwNZCWCoeQbhpVPvAX xec3XQsCWWBqJ8FKk3ojJChgYa3bo31DzlN1Oi19pskqxjxyPaVmpOphLCJsyvQTXrE4rpmWX y8GI3+yviEjW1NunI6Fh27Tynd9cJ3fo/D7A8bbbblq7pl1O2JPKV8TGDQiRolBxIx3osQBWl K1gQL5KYLLGLTZD+bh6n51ixmqDiTR51AJ8UC6y9GtgzdO7+dTMoOybl0TFSiAwf1op6SKcSF Q0pt8s+S6fpDtDSM X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-certifi): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 0b9e89d134..95a18e6f18 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,30 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-certifi + (package + (name "erlang-certifi") + (version "2.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "certifi" version)) + (sha256 + (base32 "0ha6vmf5p3xlbf5w1msa89frhvfk535rnyfybz9wdmh6vdms8v96")))) + (build-system rebar3-build-system) + (arguments + `(#:tests? #f)) ;; have not been updated for latest cert bundle + (home-page "https://github.com/certifi/erlang-certifi/") + (synopsis "CA bundle adapted from Mozilla for Erlang") + (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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:21 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001X8-7Z for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:44431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1p-0001Vo-Sz for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:10 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N8GIa-1nyvCO1WhE-014CMa for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:04 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3126C66476; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 04/22] gnu: Add erlang-erlware-commons. Date: Fri, 8 Apr 2022 19:03:37 +0200 Message-Id: <3d46f7da1d14db0cbab7ae275b4807bcae3b94ab.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:WElaN1FnyYBZH6jI7DqafRmXCV1VNW+PcSU7g5v9xS6NW0oC9nw 4cdIZl8UXnd4i4ZycLdCi6xC1M9zgNLA/FWMPRsry3Dbc2KkzVwSlV72v5Dp9x1CG3grbb8 1VAZgXx2BmVdzmWRcg8a/m4uUsD6Hc6E3sWJFw8gO7keUXKNjqA8cgZwz1Pw3c/w6QYeCmA /QesxwV2CNpzoDMK3aHSQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ta5FyhQ8X9g=:3CzRMvPPeywdeyKJfHnlsk j5gG9eeI9UDBxxSDYGzgFOyQtMk0sTkcstjnMtwIb+6hGt2SlfGAOJ8KGPN0GIMWYGkrNyyoC llHup8Qv5lCUVXseSPsJRoXdwe1AIcrKx7Ol2eNhXcrxYI2jrUF/ACr3MpOhj4xJOrBGesEhz mbYcU2sFUFmGDtVJGb05FfQ0BwwecTzHvwawa3/lNmibL37IyZVCa9zAbxWVNxm25ylRBqafR 0+jTHtvkyC8ZJqbOZK1STZO6W5851HjQk9Ys7oEPI/bzm+5qZubamDcbJon5uazIqaGKWS5WP YM7vjbx4VIyST56dPKhZl5RwccvRtbKn//AOMfChHUDPgZSTXFhQZyjJC+jPIIOEMKp/02sUg qOFBvPT5Ou6cSlQjW3kwfj5Wm6yAYAkIqeRYPSyDOgbLYigZjKeQdkdR6Lc37oVQYo32j4hpV JvanDiNMrICe+wVX2Ryajtv74CMQqYcLJy6Ii2olhtJfIdQQq089MPm+tN2HSjagNjyhGf5g5 9bbmok/1kxpE+6i4Vp4ToTm0n4btqkiwMAhS6/NZYuQnFAw1foRK3cgOxTZw+DnFCIpnNHjAB T/C7WvURgQ8ekhNF625bu5EGoqTVt4yBBcmkxfoGjILCNMwNdbJI1C7P3rdSpLyFjorw4Z0ie Jwlw8CFIRLRMwT3Z+sWbb/NycAgaQZSMKLp2SniB2fQPKNWF5gAXHudPk6Eiu6CESQCxcrh2D CPcpzDaK8NokuDVL X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-erlware-commons): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 95a18e6f18..34761a4d64 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -246,3 +246,30 @@ Mozilla's canonical set.") (description "This package provides a helper library for termial colour printing extending the io:format syntax to add colours.") (license license:expat))) + +(define-public erlang-erlware-commons + (package + (name "erlang-erlware-commons") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "erlware_commons" version)) + (sha256 + (base32 "18qam9xdzi74wppb0cj4zc8161i0i8djr79z8662m6d276f2jz5m")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (native-inputs + (list git)) ;; Required for tests + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "TERM" "xterm")))))) ; enable color in logs + (home-page "http://erlware.github.io/erlware_commons/") + (synopsis "Additional standard library for Erlang") + (description "Erlware Commons is an Erlware project focused on all aspects +of reusable Erlang components.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:21 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001XF-IH for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1s-0001Vr-D0 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:12 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mv2pC-1nuXTC2wnA-00r0an for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:06 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3B39366477; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 05/22] gnu: Add erlang-cth-readable. Date: Fri, 8 Apr 2022 19:03:38 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:KAdjIzM9pPinzwLjW3vfgeCQfK8xp2uiX0qetdeLzVBXBqCYJjj t4X9tUTRg90NdnV7V4HaEDLlPlkXPa38wfsWlosEJm3D+Bx6aoK+rP+8bwW0ujG11ueUHf0 RcN+NrDe+qsMGe3ixNs4R87FIuZWP7zLNLtwhZh3hOkwZM0CAQFMrHFOXzQRnGkShir+VQs 0fspnG75PzM8RSiEzwJZg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3iQqRsj1cbg=:yE5D2ph2naq8ukphcTPW/+ gF3WuY/WNH1GOjWWAc70YHQMuYRjqok0YLEOytkLHBlf3YEpOLUTSJ8cTIgXEHDLHqv1sVDNQ Vl2hLj3v39LL7MJ3aQyd5zzFC3KWsI6DVVJSjYbnqtdOEfIbgUQudoaoEZjfSAv6Xl+4Ge32d LZ46hHp8UFbe70KoMohwweVPRKeS+BZmrl/I/O1YKSh5zjjBSCraaF86MhLd7lwqWBXAyt2qo zCQqkWTorgTa9WZXxyCtwMzs9TtwFY/EkgWABTITmt+aReKJtfmWYh/4vGrownmbu6t056D8e rdiJugRbcJoQcQmjqZctCsq9YZ8/p+6llQnKTz0UpSCK27MT/9hz5TQbtn9DYxO+Cu5c5sLmV 5CjtdLb1B7j/mnjsry9TTiAvB+Pg+SB8s5MuBPC37MdXxMOPrHbxT2gGo3kEKLbXjRAcU5G1x W65VUH30Oyrp4fQJjYGdslhXZgZVpnkBFjGlPzArkI7O1yj1Og1IsK8jvlZIUTex4VDzFlIeb FQ8waRewaKUZoqBK1PsmQ1AXI/vg/rUYSqwnRReGzdH+pJ1X9Oz4G6vN6nQl3cScC1vQr/b63 68lx/TIm4iTmwP48LwvKIirg9rAOHYMJjVQumqcfL2+/gME/j/uyj5NXju9ZuYpbFJbNecSbj klxpuu9iXHtFRqOQXueGoQ7coa6whtquLp1hcc1LuivS/jvz39wkQpyf7O6HK/HhByDPzWG7f qIYdJeFawRRUy5zH X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-cth-readable): New variable. --- gnu/packages/erlang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 34761a4d64..faf6509a4e 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -247,6 +247,27 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-cth-readable + (package + (name "erlang-cth-readable") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cth_readable" version)) + (sha256 + (base32 "104xgybb6iciy6i28pyyrarqzliddi8kjyq43ajaav7y5si42rb8")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (arguments + `(#:tests? #f)) ;; no test-suite in hex-pm package + (home-page "https://github.com/ferd/cth_readable") + (synopsis "Common Test hooks for more readable logs for Erlang") + (description "This package provides an OTP library to be used for CT log +outputs you want to be readable around all that noise they contain.") + (license license:bsd-3))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:22 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001XM-Qq for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:36487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1u-0001WA-Oj for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:16 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MfI21-1oApwB3KxP-00gmQo for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:08 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5EF6566478; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 06/22] gnu: Add erlang-bbmustache. Date: Fri, 8 Apr 2022 19:03:39 +0200 Message-Id: <79b9e17d9908b8b0b2d432e05b072d218f2e3f0c.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:L1pi2jAQjbDQpWvClX7zEIIZbfgEuNjXnOyE0RhBSHilAeZ4gtf AY4F8DglwIgU+J7FKeNQAuJX24XocRxEvvTk1hdwZsaFWXoKDT5NUneKEdGaJgUEBPx2+PF b7+KY1QtsvGj02cUogYFs6wpa3SHk7bOmBtVTow46u21LzwnaMewpagevdvRCxrAwiLj6lC duHr9LA2P3jjaIDXYA5AQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uDSZmIOOL+I=:ih3zUw7nZt77udpUz8fwyx dXAV79O3IjROYF+SK2GV/a4QQgWM6P5JCGKgKcNk3zWW2XxIwxdYjo89O+pj0La9OBELqZ25E wg27P2SyooZoWFIAQSmRkNp7e7+2DV8nXQpQEwhWA02puYQNEA3mZDPFk6jQRn7NxL5GPKQkW /aG36xCsyIMkUnPHKn52/QwOqtrk+xjCItzUI3YwOex+q2tTiX4s3wIabKAeML2UydEOVDVMe STiC7uegCOvL4jLlpecHd8bXTqz6e+fGZBaFCQbFoZXkD4IM4v5E8kDCU1gT3KMTL2fPbEStH M2YJy3X8QFJoogDzOawLytzj2nbIcy20MmrgGARTb3/6VkUbqfsGkSvqDqMKF1Qct0ouxC0PB Tcy5a9E/K7yBsOtSnSQ+ciTQ2YxMZJgbgXgNUzLuyaun4YKFARkSC6LCkV9y6+KOMqXdDkYUn M7FRKYAbiz1SZZHlQjA2RgkBzm86ePAZ+7to7oc7RZjYg+OFqZIum2OGOouc/iG1UykVUgjmz tkTOGeJ3Fcvz/hLAX4nyASbUTVk65ZIYGhAcREXZH5sbS6R/nO0rwhr7n92jFbGdLiqstWm0M D8iOo5iPN7liYyGGou5ehjdRbscqs/CTxZNVMXpod55V0yRa9C9p5vuk7EMDvOMr8r1gKI1MD ZtnHIE0pSI7XjLzVJHT9v24XAumJ4Ysb3zpHd4chf12KqJE5cOUe7oDWeTmExzBt/syx6KtH2 x523dwO/g7onD8pK X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-bbmustache): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index faf6509a4e..1682521ca1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,38 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-bbmustache + (package + (name "erlang-bbmustache") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "bbmustache" version)) + (sha256 + (base32 "0fvvaxdpziygxl30j59g98qkh2n47xlb7w5dfpsm2bfcsnj372v8")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt rebar3-git-vsn + erlang-edown)) ; for building the docs + (arguments + `(#:tests? #f ;; requires mustache specification file + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-more + (lambda _ + (invoke "rebar3" "as" "dev" "escriptize"))) + (add-after 'install 'install-escript + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "_build/dev/bin/bbmustache" + (string-append out "/bin")))))))) + (home-page "https://github.com/soranoba/bbmustache/") + (synopsis "Binary pattern match Based Mustache template engine for Erlang") + (description "This Erlang library provides a Binary pattern match Based +Mustache template engine") + (license license:expat))) + (define-public erlang-certifi (package (name "erlang-certifi") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:22 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs22-0001XT-2v for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1w-0001WH-O7 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:17 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MF3Y8-1njRcB0TaC-00FWaG for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:11 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 73B9866479; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 07/22] gnu: Add erlang-getopt. Date: Fri, 8 Apr 2022 19:03:40 +0200 Message-Id: <3bea95519470305cd6257097343b78006a7d1d5c.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:UoOI7k8mWzl4exTxvfMfdYsXcodv4V2pkM4K3oYH7PURE5A6ycI zVQVcfix1+uaOTFeWdDLBRa5wikzss/t+AUVvzwTmQDxMmkAnlA91Mh6dxKG9XgeCTHKlu9 Y1eUsPPSHqLBsibPHgRgSOvvZtusRQPnXd/ujAF0SCESqXk4hHGS4YSpePdQBT3uujUJKAx oQxMHcc+A1E5BCIoxSPMQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:us2m8H1W/G4=:s3UZPBPHNyVDEtUsgM6hbD oJ/aj0wHzNlAIMqrPBE7wm26K82m711da7VNMUlzhThxP24KWMEndlyQhw4slVDi3I7jHDzmI S72Rsnh4hi+FotiPKUWQ/yIsbUr85eNHC8gNvCk6HkLzL2y12bxhPsff1dLUNuYqyToA/81TN 8UJ1xpZA74APbgbMHkxkDux1xvfPkdX7cckgi9T6aXoQjNn1ug16v15JSvydaBoRQ5Gws7dSV KWkpl+Uga6wUaqDJgcYv4QdNgTInLVOg2ec1Yi69biB8D9L5LSCXaVxYgicE5QvrwygpqePoL FuRkofEId8Ds6he5jERREsNWoP+k5PR9vYOFyqrUjKx+XaR/l6nxSephBThBqlVyainw753u+ 6vOIhznVwL+97Mn5QGe2szbqHT7mVx4lXNn1DI+3zu09J63PzCX3FPUjQAKWR2nQ+Ku8E5XdG Q7onFxJWO7+OgofFBdlLLeKyGVnKQsKyl2Yh8uc7SBeRSYJhgtqGoDPDDrKW36xUZS9Km8a4L jgfFnFEBCfDUAziyLrQSRY/cxUhQyFdE+LL/hn/xeGGoXhChgTIdeDeck7MmETNNmJqhyc4vd S23EN30lpqwcKlKLpIDs7FyVzq4h0R+7z16t3CHvBnPMQkv18nh30SNJyGot23EllI6ELdM0C 9RltMeUI7JYGi1/r+SjX7G7loYM7Z3aQRXQqWfR0a5L6GWqiuWfJ46Oiw/07wfLoKMRJNNNus M49NGalpovIQocRQ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-getopt): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 1682521ca1..af79e2cd7d 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -326,3 +326,20 @@ outputs you want to be readable around all that noise they contain.") (description "Erlware Commons is an Erlware project focused on all aspects of reusable Erlang components.") (license license:expat))) + +(define-public erlang-getopt + (package + (name "erlang-getopt") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "getopt" version)) + (sha256 + (base32 "09pasi7ki1rivw9sl7xndj5qgjbdqvcscxk83yk85yr28gm9l0m0")))) + (build-system rebar3-build-system) + (home-page "https://github.com/jcomellas/getopt") + (synopsis "Command-line options parser for Erlang") + (description "This package provides an Erlang module to parse command line +arguments using the GNU getopt syntax.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:22 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs22-0001Xh-C9 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:46695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1z-0001WR-2q for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:19 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N94uf-1o0qbq1r8x-016C46 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:13 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8A1746647A; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 08/22] gnu: Add erlang-eunit-formatters. Date: Fri, 8 Apr 2022 19:03:41 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2tcKvJKVWSUuaqzLU5BevueuvypAZFNZnvzd3fjziGJCJ4DgEFx NWGx1eeAMOGkkH/RKpTP4wKtabTlLyxUsRZJlpELqo/o1VYJB+p9vcGywVV/8mAD+Iu+uqc 2b347Zp+3e30Zc0hWZMRya5CS79KSkiWIZhSK9CImRFylWq+AXzDF7ONQmPiCBArF+3sHXI ghiAdGFIRcPtALRLbM8Fg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WvwqHdYoTtQ=:fClBH9PdWg1OfVnMINZUZ+ nlakdpsZziykJOFdje7QbvqJT2KMiVmfG/3EBcfsFF5RJ1QLbIO3uUPD2490fLr8jGxi26GDS b5QwQBIPJCVsP7wB+dPKIU+QAxV+7hZRKtet25bnzYNNoVsIHO3ymZipnuGR0L34W7zmqc3ab 3ifwSuL1FxcFaSSJgm5fEL1X9yV4C60Bnv894MgMQDyVzpnRC5AckqAhDoT3ay8AEOYqivJec fAmrHTmNnW+scI4G4jTB66rGuSjz+ITkgarEs+JNg2Dd3YCsto2xhi7pw8yTRWi+08VOObyYD 8CnnGMo4/dSqCx7ugtDkDtDdhNkeOBnKu3lpaaJrHY7xTJupWasahUu74t9IU6pTnOWafQaDF zcLJmJmGJnzDdjzmFJLGF7ekkz2doodUfIPqoKUVyn4/byD3yfXG2WxfNZVYQxFwBh6ovqh/Q XGTaqhUrhH3oUjvaYm9J+9XcYSLzx/Ik1br0JmvG0G3KTn4fAjUGbgwQNrdb3IJW5ebbnFcdx KPbdCykm5GH3Fr8kJONLwPELS5oulMNsilq3s//V24kpkbMn4TNf7DtQapNlcaylFWCKvRcxy YKBG+VKh8DJhElJsjMvyIhYP06T9wE9fuKyAkY1Eu31zJdNCc+Cxst4iLLMsv8LS3HxhYfuqd OM73Sb2SzxgO2DjEO9MZVXLJT5Xngqq0P2ZX+H8HIcSNnWvzekGw3pi3pCBlavodx2Cl7v8r3 YPuf9RyYVFhmc1Dh X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-eunit-formatters): New variable. --- gnu/packages/erlang.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index af79e2cd7d..154c11f207 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -327,6 +327,22 @@ outputs you want to be readable around all that noise they contain.") of reusable Erlang components.") (license license:expat))) +(define-public erlang-eunit-formatters + (package + (name "erlang-eunit-formatters") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "eunit_formatters" version)) + (sha256 + (base32 "1jb3hzb216r29x2h4pcjwfmx1k81431rgh5v0mp4x5146hhvmj6n")))) + (build-system rebar3-build-system) + (home-page "https://github.com/seancribbs/eunit_formatters") + (synopsis "Better output for eunit suites") + (description "This package provides a better output for Erlang eunits.") + (license license:asl2.0))) + (define-public erlang-getopt (package (name "erlang-getopt") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:24 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:25 +0000 Received: from localhost ([127.0.0.1]:35787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs24-0001Y1-Lh for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:24 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:41673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001WZ-Lk for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MirfG-1o8vae0J1A-00er5o for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:16 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id A59046647B; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 09/22] gnu: Add erlang-providers. Date: Fri, 8 Apr 2022 19:03:42 +0200 Message-Id: <41ad6588ef2b9ab5fec7fa0229c60852c92e9b33.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:wCa8KAtQgSJGSjPWLdk36/BTV/Skdn3zs0ikfMcZqq8arDJOGKx BlexJc23v+8j8CwOUrKDXgDJ3T/oHVEculFqBlziShGMWs0RHKyX/GgQO8tPogx7azaOaR6 b+i02ctBQ8BsAUDepBS3Wk0w9FBt6/So2CG7xdAIjPXfwRT4x+m8DPkMnI9zzWDi1W/hs9l 7Fg+3zz3UDYPbUS5qfX9w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:euTZ+zLkftk=:X0SpoF9IheU9EQL5nVTrDE BfPsGjrI+RIMsQAnij3rDhpipdwvWXQb4ziDrgZFeMYX+O5l5hr7rPOeIyrXLJ7YYX7piaDEC DrQfnPDjYutmFVCvgthzWBjUZaoELkbRUKxp0ujsrj+RsVkv079oLaZ7fZXhsEviEm6JHTpHO 31nZcCGeMeyFEsyDSVIrZ/L8ou4WKum7nCRDQYSZ3OsLIgtvqeHUktBkuh/nabZleXaC3jHhG a+05cDl+m462Yn237oxaJcZZgIMkqjReNohwbcFvMJ3dwiLpRdbs+IIAzrg9T8e84fvhZeZnI sMee/Zcb8EUn/FxBgV4NqaygR81HWESQIAmw8L9v812U28yD7drf3kHhJaznVAjirlYzPhDq2 GXTk+44kPuBKsghG6Ica4eDMRFKj3DfYOyot5txiy63ZmV95ZIOpqoWjgmGmDO2VI9gv8yBSJ 6aeeTvbcM2kvrF37pyTD/LXIm4WoXVAh4nq1ago+JyWmYOozG/Of3Y61Yn2nZWNM/u7noj5W3 x5CoOjtYdwbIjeARgcteQhL/10HVs7qk5jaBxqHbOPHW+D6j70RxsAdAHF3eU2mzGfM8Fd0r0 Ykb3LxrWdbJ8X8JbUIphmFuEzg9jo1uBMl+AATdc2afZhvrlsFFlFf8z90k4n4ZIUVWbs5hBN 9IFCMRRoQZABWR+G320YKv5Ip8SpJZdbxljlbzFMpEMZUv58CK+pennybjBQGWhdrfrcywNwh KrS/GX/f67MuaRYO X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-providers): New variable. --- gnu/packages/erlang.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 154c11f207..85e491bb1d 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -359,3 +359,21 @@ of reusable Erlang components.") (description "This package provides an Erlang module to parse command line arguments using the GNU getopt syntax.") (license license:bsd-3))) + +(define-public erlang-providers + (package + (name "erlang-providers") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "providers" version)) + (sha256 + (base32 "05y0kz3xgx77hzn1l05byaisvmk8bgds7c22hrh0a5ba81sfi1yj")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-erlware-commons erlang-getopt)) + (home-page "https://github.com/tsloughter/providers") + (synopsis "Erlang providers library") + (description "This package provides an Erlang providers library.") + (license license:asl2.0))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:27 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:27 +0000 Received: from localhost ([127.0.0.1]:35790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs26-0001YK-Tl for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:27 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:50021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs24-0001Wr-79 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:24 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N9d4t-1o0Idj1jHh-015dmO for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:18 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id C02CC6647C; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 10/22] gnu: Add erlang-parse-trans. Date: Fri, 8 Apr 2022 19:03:43 +0200 Message-Id: <02b2a5809c945daae97889d7e0469ce9cc74a2fe.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:A+RgvNo9NLWgXwPtQO7LbuVrwQGlstV0rzSDD61Er4B/OG3IhiQ j9egVDNdvU+G9sR8WakSubtqIBfUrd9V/qSLahkrV6TNeOWApTp1wvxbrwUPNG3v/oU1px6 s4MKDuq6sR9SqwtRf/YhA2zYGYFs1deu8WRDEcL/trPQKrfDS7tdgKI+Q8RP8iza0lkqTVL GMMcFFNsIEYbusZgNzPdw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:RInCUQC0AXk=:YfGtc222j3ASO6K/KKR9jq AmFjjtVcDj1wPB8Y3lWdVoKUfRiKGhsR2vm2gEPcPlUaKPSbUWI9vGcZCsJcAizm0KjLNikAB pv/VFd5Ik7cv7aH9ISeizMOfmdBtzvhmOdD3IRaanlLR3TTe4X+G4cWSE9QRzk1gWyTNg18X0 XW2lNsbzdLNJ0mBBgQbt/HLE+Oig69tFhrjRrLJdptKBFr+ZCNUS68EmAGulJFyC+BLm0O+zK 8KguaZX6I+A7GmVS491i7XTXQl5TCPMnoMl9gTfCSBNOfwkLqOhv0ec+g8/vz9t9zyxcYAWzt Pseb4vIWvxF1UEVviSuugp+ghPkbiHemeT2lO8oIctSiSVTQ5oQNvp2YNjENHP6e3B90ny0fR 6wwpzf5LqzIpmCk2DPR3V5UWknuj6iY53fYcJ+TBVB8Es7zyaxULXMfxyRFpjMvtJxwkzsUVJ X7Q+qDbQYVcZ6EbUuU4KO1JqG7FReEkC0Ojv2DTZgkM9lDjbwKbWbFMc3kyNI1BtL34ggi0n/ wM7EeCU44ChxNw+5NVMTOqu17l9YaQN9o+8qy0AUT5rsqDKbD1L1sLixdMOsDQVTGZMoQvnZa 6qLp0HsSF01A+1z7bnbR4nZiO332tWXa7bey/AhvyDUY9Srvt+Qn3SV0MEzYO5dASGK9UnOHc TijkMenLncvCMtH7LVaAibD6Trz2RSM4M/6h6zFKgsII14AWvjBabEiUrVEIhoH/jmy/vvLwl aLIWXPAuO0yZ1SgA X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-parse-trans): New variable. --- gnu/packages/erlang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 85e491bb1d..fc4b6f47d9 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,25 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-parse-trans + (package + (name "erlang-parse-trans") + (version "3.4.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "parse_trans" version)) + (sha256 + (base32 "16p4c2xjrvz16kzpr9pmcvi6nxq6rwckqi9fp0ksibaxwxn402k2")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt)) + (home-page "https://github.com/uwiger/parse_trans") + (synopsis "Parse transform utilities for Erlang") + (description "This package provides parse transform utilities for +Erlang.") + (license license:asl2.0))) + (define-public erlang-providers (package (name "erlang-providers") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:30 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:30 +0000 Received: from localhost ([127.0.0.1]:35793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2A-0001Ya-3f for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:30 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs26-0001X6-AK for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:26 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MPXpS-1nHMtq32gs-00Ma7X for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:20 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id D22B16647D; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 11/22] gnu: Add erlang-hex-core. Date: Fri, 8 Apr 2022 19:03:44 +0200 Message-Id: <8ed9c12690957e747a4a46558921e21e12e964db.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:h6LbBgnKIzmai4T0vuyXg1cpPaqbh9Nfc81s5ReTmXOEVM+h2M6 u3tqx6OJ1iBs8G7YUPoix7Df+KPN0GEYV382XAR+NCjUTl5fSsN9to6h9MAyIiW14ajv2ug zide5gpEi+ygD5WxLhFAKYAHF2lcr5fS/s8LQ1nC6CTgZcvMM8Cud38kjKtsI/tbJ84kcBX 4+oc26venqL96fGM0GBCg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:S3Es5sIflr0=:s6jwyUpIhB5PMLWhv0sZTF Cd0SwNjgyXwD35+R5A+sPI7mqCCkXVTBOJWjznesqahBZeGxMl0W0TpX+00+A+lIN7yNRaKYr t9iSNqVqdSR0fwS/cIU8hR7YsXMJugTV9/DEwUB7h/4JLrKHYogFXgemPO0PDWjvr5c79s7R1 FnjNgBUtc7BDCI+6C8QaiKOBeLTBfofKWXhdaeCcket5jQPvkmJ/szGjnrodUbN4QS+/CfTyV 5SXfOK5jsElk2qseCqPWMR/xP6+50PKK2PyMVRMKsOTz6MCwXEoTXMOrBWK6TwMiRgmm+HWXy hSLlSwAWjxeyxU1hW029Qv1ek79DQivIOwcYhz6xA+t58XlOogM9T1Mnb9IxXr+3WCS2hvLa5 UW7IxBaALrxYQRbjFy6o47v55bT11/MXWYkk/sBsbLzgblJwMAvgYUxso6frZ9XCr8hy3NPoZ OpCpQnKv39IjYXWKZVOT4qSBwNV/d5TkixNf5djMtIrj3yqO0lW8EQYRJg9MB8SGbfxwZJtSY J+Eg5m2123V5LqZvn5defSidHKYR9McOTs8deM5D8NHaFJzbCib72SYkZIWlwqVdy3W14MMxL DNPCSrSVSp/PykJzEL66E0On3tywmkIm9kf3R8wP062sluEdC6DFwCAyHticaL1kZImjz8ZFf UL2uD1zfXsI6ptgFY25vEkPJNpjtnX1MGJzKhwrvWZgxX0blYv5KfUg8U8BWa/n4VuLMbWtXQ JsX/MERevUk73cy3 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-hex-core): New variable. --- gnu/packages/erlang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index fc4b6f47d9..826bc67d40 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,32 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-hex-core + (package + (name "erlang-hex-core") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "hex_core" version)) + (sha256 + (base32 "06p65hlm29ky03vs3fq3qz6px2ylwp8b0f2y75wdf5cm0kx2332b")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rebar3" "as" "test" "proper"))))))) + (inputs + (list erlang-proper rebar3-proper)) + (home-page "https://github.com/hexpm/hex_core") + (synopsis "Reference implementation of Hex specifications") + (description "This package provides the reference implementation of Hex +specifications.") + (license license:asl2.0))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:32 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:32 +0000 Received: from localhost ([127.0.0.1]:35796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2C-0001Ys-Dw for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:32 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:45517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs28-0001Xw-LG for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:29 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MGi6m-1nhniX0Cna-00Dnz9 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:23 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id E2BF86647E; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 12/22] gnu: Add erlang-ssl-verify-fun. Date: Fri, 8 Apr 2022 19:03:45 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:J3husfvO9xBxLuQ715xEcaJCYgbrINmcUdW1r48dtbb5qcrO4cx iXcOGbaWmis/xIRYJyuo7bl8T0Lt1TFwdpN8vCh6mqeb7oLknB0Y06mG4Y6lEf6JdxzEYYr 33uhylTTbObGF9VJcxcKX37aa31/uiN3Z2Zi+njC4EW57o4gWYaAZjpMExerXRqPyGYDpZs jrk2muXj+bki56oT4OgTw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:T1R9CaNsMBQ=:TkmvGd23LWkWebxdII7Dx0 CHpXkFcygxHmL8lYa4ehADipB+GwcymhfUH5UE/84q3CevUFvSRqoeCMCK99FNXiQIPFhgIPh 9HTQD6BzQAsZ/iX4Uk6chhDhw0LiotkOmEB1l6HZqv15UpjXBsHD0Q3ziAr0Z2mxHZcAtQU6j oVako6Loz/P8F5zIl8RyZitzHdrin45EMa8NjR1cau6aPLlI9iQg+fpipka3Lr97QwrAZHNVb LGJkc7qiepqTSabh5mItYDb4b2zxRIVlrqfWqt13BSQWW0rS2LdakRPFodoAgB4ANSmiJRtUf yzfzh7zX51kwmzLz/vab4XTaqQuccqaJIhu3ZNVubuKZnptEgjKGvCpTFsrd22aXkLzRMdoUf cu58giuSRlJbNyAAbbfzsOiqm+tnwKw8OiWFON+KeLUpL9uwj/AmN7WUkP9xxcDJqTuawYszn Hc68fVIN+CuaSCfsfRWEid4/s8hkAQEDum+Ett6QyTnDSPE0qwPFCqC5FVU+H3Lk+KKdUAtwQ 9nQVXe5InO70oj4QOGzhP9ubbfh6w1ZEozngu6NclrdO7N/tXg8Y4N7OVySb3CwzNfzeM3Oo7 SoI52sd4qWqdbA2Avu0CDtWzMYQR8lB6FvkJDecQhxiD7ozbtQKkElbcp8o8U2sPVcbGvaSTs ofqvgivteeqYlORz5a8yyLr++IVa2IN/vOFNSPl0BQKYgfKJGHIB02rZCx50VuxyulyZNo1Qq WfYtgT2RT+8S/8J/ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-ssl-verify-fun): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 826bc67d40..a7e63db0f3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -422,3 +422,20 @@ Erlang.") (synopsis "Erlang providers library") (description "This package provides an Erlang providers library.") (license license:asl2.0))) + +(define-public erlang-ssl-verify-fun + (package + (name "erlang-ssl-verify-fun") + (version "1.1.6") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "ssl_verify_fun" version)) + (sha256 + (base32 "1026l1z1jh25z8bfrhaw0ryk5gprhrpnirq877zqhg253x3x5c5x")))) + (build-system rebar3-build-system) + (home-page "https://github.com/deadtrickster/ssl_verify_fun.erl") + (synopsis "SSL verification functions for Erlang") + (description "This package provides SSL verification functions for +Erlang.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:33 2022 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 ) 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 ) 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 To: 54796@debbugs.gnu.org Subject: [PATCH v3 13/22] gnu: Add erlang-relx. 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: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:65nt7O7X/XRrEmz3ed2xGtG6ILYncBrl8yxI786HqI2LO8KIetK MQ2kcnyvfgZWVHkq4o3EXHWCKQEkZ4KPdecGsz7jFipPGZkiI1jvWipRoxNGU7Hf1h7VzbQ vyByc4k2UCrp3u/xEIAt/bnmZXhRZjQJ+2hTewZAITqoFyutSPW149C7mV+btcncxKhsiqi rxHJw9VVzzmHBnWVezRnQ== X-Spam-Flag: NO 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-relx): New variable. --- gnu/packages/erlang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:35 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:35 +0000 Received: from localhost ([127.0.0.1]:35801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2F-0001ZJ-2T for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:35 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2D-0001YS-Dg for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:33 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MjxW4-1oNA9L3BIu-00kRaE for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:27 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0537766480; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 14/22] gnu: Add erlang-edown. Date: Fri, 8 Apr 2022 19:03:47 +0200 Message-Id: <69b9c4486b710432fa7516bb5f34ce2841d2ebd8.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:AhGJpcgA9q3lFZ0NzAcn5yGYnwzSGJslhsDdtlJfAMvIxmHH+9a l/k9KvvGajVU8SVxiF+Ueakk4+hMBDu8Kr3jZ4dsyneepBwP+vm3wEI80KVcH7jwAIygJzi OFNRDbw4Xq1CjhJDII4OxkqdSkJex1q7I5IQK4nKxHXGfcU7hOn3mgWJIEAik64HlQIbmAY sM99MVa0uvZVGa2wJKzgQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WQjjhrKjGbg=:BxImKowU/UZziIET13oUVe /OZhtWf/jIzE1t/g4hfVmzR3kGsGgGVvTLe/xhNolN6LS91WMc3zi0lxbnHXZjkb1TnT2NdWF qccqMIEPGFpHKMhAPk3uNQMxEz81CCjpTHZ6J2S2/+HrcMVIWVd+Gk2GXBU/EJXmAtxsCmiME 8q6q3ofw1kSAe1ApObjy78E3uW20XYJzt3mgKyhEdVppTkHQOF9TdjkEeuQ6WpBsJuHegDBjm pCtydog3ONCz4PMhsAM9EfqKxrLG5a6wXyVAAtqPFEzRGYU/mt6FTFLQqiC1C9C/dMLshYdcm Di9Rc0P0PemWzRfuCnq3n0DD25nrNoCf37BbDSH8P2Zby9Fv4QPR8O3kFpNq4zqrs8CnmIGuw /aY3fPu+7K8NFl7sNTIKiVRmmbcJQJQKQr9HogJlWjlQ6FFvf0VM+EDDsqUnfE2LfFXHYE7Lg 7j1VBC0G2jU078lgrqBbUm5H1mBfyAGs9fIwzUVut0/7bZ3W9Lg0RFIOFRbMxJi+hYyF0IWrx XmPM+MV9U2DAvpbSN+SKIAGLyIbLexKxjo3GXzI94WqjWYOMorj6lU/qtDZCmL/9jnJ03PgvW wrAMnMURmCf6eoElZnAElUgRMoHZJ91s3sTjvNowHAigBt87vMqJ2QYGwg4Bq0LGj0DFHv8YP YUfo+UBqlO3SG6j+vIkYHDihPZVY6k0F9siBhEb84kl3QcDQY/nX9kBtUHebQIkEC1TClrbHQ gaI3m7evoxRrez/S X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-edown): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 626043a1b5..1a4ff36abb 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -300,6 +300,23 @@ printing extending the io:format syntax to add colours.") outputs you want to be readable around all that noise they contain.") (license license:bsd-3))) +(define-public erlang-edown + (package + (name "erlang-edown") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "edown" version)) + (sha256 + (base32 "0ij47gvgs6yfqphj0f54qjzj18crj8y1dsjjlzpp3dp8pscqzbqw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/uwiger/edown") + (synopsis "Markdown extension for EDoc") + (description "This package provides an extension for EDoc for generating +Markdown.") + (license license:asl2.0))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:37 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:37 +0000 Received: from localhost ([127.0.0.1]:35804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2H-0001ZX-8j for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:37 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:35199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2F-0001Yd-M6 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:36 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MzQTm-1nq9ks0LdA-00vQiY for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:30 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0DCC966481; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 15/22] gnu: Add erlang-jsone. Date: Fri, 8 Apr 2022 19:03:48 +0200 Message-Id: <1de6de372360203b61ac09b4486c0ff6a79bc5df.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:0yNWgNrF1as2JGp4WZxP4LpBxEXJmtwuosmVs7FuWeeOPCJr0vJ rYB4GRjYtCaxu3NHgfGSoFDGyaz12YN+ZwUQx0oT+aJtI0pz11dI+jbJW3MTnUdxQMhAmDr s3x9d4BHJPMsJqGLDOfkStbvfTRvMRB6FoKXNoAsuvgYmb3jKgj4DV9esZgrLyxeXLuOozG iBN27P9wXPOIT8ddkVr4Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hCrj477eWN8=:BUzxvY1+MrjJL6ZEyOtJPl +lJtbWGZBosTnLJC0ufiEARii9sV8dn1Z/Cn6Gi4LkbfpR/gvh8AhS2o5jVzDPt+/TcqV3iNL +nfxda45V6IBvTDRXiW9kGaCUU10oc7BR3KpfwikSBtP0FF7ClAsZ50Hl9tHQ+BTeUHgGKd3J px76hyfIBcygVZjnb5Yz1jqgmGbacGlIzHgFwZxzJTEZ63p18qvjMD+9modGR0S1XpfWbN0lo GjW20DpYPHRjrPMkxIPclx7GxDPp8Rpw/9aJaei/R/rW0j5JtWKGCkigxDQYNIyxjx1LHxBnH ViiIrG+SFftloWwFMvawvppB+RJIN13iGBs1aEMedd4WIvxdjZ4dSR/BbOcIIWw8R8znPAY8B on4/zjtX2mtBaMQXErMGyatXPlKSkuzZLzoKfUTRUTnhDZzjK+tfQt2Np6Z8LaKE5FPHUqySY nJ2CIkVOEXgSloPUa4ULRfjm2+QFwnCmEOebOEL2fOHuWmWbv+nKT3b3CyJNgDjbj6FrECUkN E3E5wG+xJyiv0GxCXZ84XIXCucdLZ2CQ/Aysbw+OL/MANAyj5BY5B+HM1mcMYLy9FoE6aT5AW piF7y2mo8rwfpR+1q0T7ULpYquQkK33X2klm8ujBuqMXYH4336MKfrR1CjQ7PHuj/qgJD9nhD crvWaVw910s1yrkv8Sh8IJTCt2LOP8HAry6QiH+GHyRvbWuQ6iA/LdXsVeN6iV6hWWGzToe6S zWtEJSSdlqUjF4rE X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-jsone): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 1a4ff36abb..91ce74f2d0 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -403,6 +403,30 @@ arguments using the GNU getopt syntax.") specifications.") (license license:asl2.0))) +(define-public erlang-jsone + (package + (name "erlang-jsone") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "jsone" version)) + (sha256 + (base32 "1gaxiw76syjp3s9rygskm32y9799b917q752rw8bxj3bxq93g8x3")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{project_plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://github.com/sile/jsone/") + (synopsis "Erlang JSON Library") + (description "An Erlang library for encoding and decoding JSON data.") + (license license:expat))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:39 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:39 +0000 Received: from localhost ([127.0.0.1]:35807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2J-0001Zm-FE for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:39 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:43555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2H-0001Yy-Vx for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:38 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsZ3N-1nxYHj1hwR-00u2c4 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:32 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2196366482; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 16/22] gnu: Add erlang-proper. Date: Fri, 8 Apr 2022 19:03:49 +0200 Message-Id: <41de68b47c956b9f0f7802093fbe2a329057d86e.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:5HAD98JOm0MU3Zp5xmdT502vJ3OmMQmawPvYAN7nIk+mDrp2m3n yE1F4R2oxQneyXaoXZXB52V1FRWjtcW+131pGN3coOui9Jt3SqMk/2Ys7rPas0r4RDpqwXX ohYXiLSXPMqbXcFlngWTeNiQkRUUB6eqpnQ2BZc9Pva06YPNIqx7z0h7y5M0rm9qkqevsp1 snXqI8ZNUAvTBgyM0hbeg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:AeFUc+UUkws=:aNMJWWCGtaBrjpuCID5D0h 7fOggP/rIVvS2ulR7+PGNn6t42AWgMd7VnETCcSsheuIG9D1rQW7Q6dYolGRKhiktz8VpRFjv /F0mZnj/QCxwNSj8ts0Ihysg/HmpitCRtWnsKJd+83p1JkoyfTwPnz9L7Yzf7BXWB1uefyJPW y1ofWrEaiP5P63s6+NAehYLsEaYnPkn8KeqHme2MvEbEKRsIOCUSxC805xhmShmiK5Vl4kgko epDzX/F46qAJgpsNOmm6xtBaeCI2mrjxr6z8eryd2vFLEJEApLUyNTNEKtEUCbDnX+5UkQvk2 mk1zcRFLhvHOnO3XrVxY4jFB0DM1oeGpn6td0WjGAaA/Hp5eO2PsEuM/nNqHENfXWQ7zz31G+ qpk+GJWwKYJPZfpyjzU/2z4Vl9H7LU5k4o1hIvduYw+PiTxRD5puSpWl0VdhDyKB6eC7rz+aK XtBDWC0ryz02y3/vIoXoSxM9/bqYlnCvWCvnRAY6ChPhwz+5lIhGFsDPPkG5QpYCoKlFSS1wI 4AmC1OIZcAGmegUGmtQ7U//r7H/M3oSvZ0/FNe+sIe1krj/zgusCX9E4iTHdYi/mIuWe3htck cfKqJhnoYp/PgoboVKzAoVgqyU0rJprrvpOo1yEg4kdG4I18atqeZRXtyCBUGRHXHpliORJhB jQTstxh79fIb1X6Mz7mvQ3DvbTIlyf7kn4z2NS8hZ8uybOVmtd6pkjw8Mr94lZ500l9tq0f+Q PBuSJibgU7fA3rzm X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-proper): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 91ce74f2d0..9a626a65a2 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -446,6 +446,33 @@ specifications.") Erlang.") (license license:asl2.0))) +(define-public erlang-proper + (package + (name "erlang-proper") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "proper" version)) + (sha256 + (base32 "1fwcas4a9kz3w3z1jqdk9lw8822srfjk9lcpvbxkxlsv3115ha0q")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://proper-testing.github.io/") + (synopsis "QuickCheck-inspired property-based testing tool for Erlang") + (description "PropEr is a tool for the automated, semi-random, +property-based testing of Erlang programs. It is fully integrated with +Erlang's type language, and can also be used for the model-based random +testing of stateful systems.") + (license license:gpl3+))) + (define-public erlang-providers (package (name "erlang-providers") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:42 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:42 +0000 Received: from localhost ([127.0.0.1]:35810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2L-0001a1-Qu for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:42 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:38711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2K-0001ZI-AL for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:40 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mgefy-1oB7So332i-00h3VB for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:34 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 29EEA66483; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 17/22] gnu: Add erlang-covertool. Date: Fri, 8 Apr 2022 19:03:50 +0200 Message-Id: <863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:mkeejSkZCzBleF/EnaM0+iNP7zGowZR7qL8agp2JNVKGfubneTA +zIfO5EkyV5tMD/A6DHYkL2f2v9uFaecGG82cmmqKXbv2s2x5myDgiAEfOkCqScBeY9Cf+d FgvuO89CO1i1LJinvLGQaf6YSAPdSeLfMgKq/8/LIsBxYNkzrTyZy+eXL7lDmgLwLv6hEvO d+nE+GnOdnJBS0y6vj/xw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:prYpYHSWNJ0=:+PmcPTonJ10aoyFIfaga7G pYpcHFxA56vvHGaY5RA0CeIDutxZbvOx3EnZqql6iYuWAt+lO4sY8Kh5yRMWUICqnDeEIPp3f 8K49h6rWxPpBl1GqTEIrBT5AEYTH/zdpiZ8wB/lksVemTII+OTcBoqQL3GbRxrzvzu9BK3Yan em5YyZBiNsLJ6MG3fjz4HGNMap9zzADiUYRwEYTz+O/yrxkLubIVKl6SbYoRdtzxQ9tdA4BXU 6WetX+N5E3KKcDVBXJaUmHr5ky/0MArFTOisok6vFoUrQhN5Oao/kzCE8P0+N1LALp0uFAGCW 2q2KprFzPOjFLLgAwXQwW04xc1/l2kG0mPqVvDlmKDojn3CXkmRD2Sv0ByM0uyjReMQt4BV1S s6b7MeWfm+hSpFnMyptDCGpcQP3y98hRbgxao1bb3diKJFpJpjVEh6xHBl6u1E3i3RkooTsNr tYJqtHcB/YWxgQRLC2tWbse+FEIltTz/cQOtHNPpNjFRLPKHGtBe/pJQCYiun18rEJVZmd0gk 9U2FbAVEw6LiEUvOwnlq/QQ6Mqof//qZtmqXdfTuwXdZKpZhPiLW+Wcnl/kNBuD+u17NTj9Ls nwlc9+I8o6m67W/CGd6Nb0KnWdurZp2qG1PIiR2X82dwz5byDL4RGisSze2HcNeVXxPzsX31h 1Xz1mKk5w5h3B6GFwG/x/bPCa9vHpmyeynO0A5VSyU50fxgAi7AtD3mLkh2cy5vlsfAbSuC9u 5DBQTb7tZBpI8yxo X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-covertool): New variable. --- gnu/packages/erlang.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 9a626a65a2..256b622fa3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -279,6 +279,26 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-covertool + (package + (name "erlang-covertool") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "covertool" version)) + (sha256 + (base32 "1p0c1n3nl4063xwi1sv176l1x68xqf07qwvj444a5z888fx6i5aw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/covertool/covertool") + (synopsis "Convert Erlang cover data into Cobertura XML reports") + (description "This package provides a build tool and plugin to convert +exported Erlang cover data sets into Cobertura XML reports, which can then be +feed to the Jenkins Cobertura plug-in. + +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertool}.") + (license license:bsd-2))) + (define-public erlang-cth-readable (package (name "erlang-cth-readable") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:44 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:44 +0000 Received: from localhost ([127.0.0.1]:35813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2O-0001aK-1u for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:44 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:38235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2M-0001ZY-LV for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:43 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MBDvU-1npTkR0EnO-00Cgwr for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:37 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 46D9E66484; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 18/22] gnu: Add rebar3. Date: Fri, 8 Apr 2022 19:03:51 +0200 Message-Id: <9e3e90c9240599c212e5f8025e0967f9894b668f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1e0T7+iJbVtVGxnoIqQ2pSvD/odAPPQjLlX/Qo+gM+lPWIbbWUh s+lcMwGep1JKeLzvvT8ctBG2JKm8d92TlxDK6oKzx2tP6QScJfRL8lnLm1fL7B0zS0Vbf1x ZHlrc7RW1OFHAqOs1KY+OUEb2qiQd3dxVffmwelmmO6+LQWW3JMyEbHpzJkyg3EKOK45bpi q2KOCmdRj0+1ub6KN5dIQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wuZqBVl5pbs=:vYJ1sfNHUgmO9+nLLSGmwU 7vlbVNlAVHNYttADbQMSAQkc94LeGw0Ch+Thd46SERNUrhF+ispx1CmNsz+kUNQEs5hQIvOSs +9yl8RmcOety2xQhVmyYNdSY6bgpVr0LS7KKhsnnlSF2kYuThh5HyDmDgF9nHdRmn70TQqlf9 jnmtAt84kHcmiE3d4u2sbGm7H5/98S91v6fktkv/GQ9/N3UKbnn4SoS8W810gPMVM91Pvh51/ rHXA1q6ebWNU15zKirqWsq3VuyKHa1HzOQz3z43BoSYtUOu0PD6l01LBtg1o7kh8r0qQAkZsU I74RlRoLOLchDlDQuwuO5ay3ehYi/m2BvL2yphwLH8ulPQ6DcSVYO6YPr8aiqj9XM+24uZFxX rZTvPnpmPuVCjuvpbVggSz7atHSutX2hvY5Me24SA4Qk8ldzA4etdPQMEnoFiTVIJo1qbTFtL OpTfeE1AltpSFbAgygp+kU2+omajByLQSzkGNLwoyYyQ09caN4JLuXet709ETedKwP8Q/beLC 7HDcTRsFbRGnaPJXFRz4pAZiC1ouj7gFn22absuSqBxJZfO4DknSEQ3H7FJoY9Qxw8yPOsC7N omVIE/y+nPwaZaDRoIjQMOurrb3RgtaMrvYkpmFiceshidC2I3EejK619ngWHHYlXumlnF1WQ yco7FvoQmFpAARrGvyRS293GbiJaKk0XDh+TA7/xy2Gu3zH5hL6nrnvRJpv/8YaJDM5XZw3lH EwtSE73t1XaAnyIM X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3): New variable. --- gnu/packages/erlang.scm | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 256b622fa3..35681e9a73 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -549,3 +549,79 @@ a well configured release directory.") (description "This package provides SSL verification functions for Erlang.") (license license:expat))) + +(define-public rebar3 + (package + (name "rebar3") + (version "3.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erlang/rebar3") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09648hzc2mnjwf9klm20cg4hb5rn2xv2gmzcg98ffv37p5yfl327")))) + (build-system gnu-build-system) + ;; TODO: remove vendored modules, install man-page, install lib(?) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (add-after 'unpack 'unpack-dependency-sources + (lambda* (#:key inputs #:allow-other-keys) + (for-each + (lambda (pkgname) + (let* ((src (string-append pkgname "-source")) + (input (assoc-ref inputs src)) + (checkouts-dir (string-append "_checkouts/" pkgname)) + (lib-dir (string-append "_build/default/lib/" pkgname))) + (mkdir-p checkouts-dir) + (invoke "tar" "-xf" input "-C" checkouts-dir) + (invoke "tar" "-xzf" + (pk (string-append checkouts-dir "/contents.tar.gz")) + "-C" checkouts-dir) + (mkdir-p lib-dir) + (copy-recursively checkouts-dir lib-dir))) + (list "bbmustache" "certifi" "cf" "cth_readable" + "eunit_formatters" "getopt" "hex_core" "erlware_commons" + "parse_trans" "relx" "ssl_verify_fun" "providers")))) + (delete 'configure) + (replace 'build + (lambda _ + (setenv "HOME" (getcwd)) + (invoke "./bootstrap"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "rebar3" (string-append out "/bin"))))) + (delete 'check)))) + (native-inputs + (list erlang)) + (inputs + `(("bbmustache-source" ,(package-source erlang-bbmustache)) + ("certifi-source" ,(package-source erlang-certifi)) + ("cf-source" ,(package-source erlang-cf)) + ("cth_readable-source" ,(package-source erlang-cth-readable)) + ("erlware_commons-source" ,(package-source erlang-erlware-commons)) + ("eunit_formatters-source" ,(package-source erlang-eunit-formatters)) + ("getopt-source" ,(package-source erlang-getopt)) + ("hex_core-source" ,(package-source erlang-hex-core)) + ("parse_trans-source" ,(package-source erlang-parse-trans)) + ("relx-source" ,(package-source erlang-relx)) + ("ssl_verify_fun-source" ,(package-source erlang-ssl-verify-fun)) + ("providers-source" ,(package-source erlang-providers)))) + (home-page "https://www.rebar3.org/") + (synopsis "Sophisticated build-tool for Erlang projects that follows OTP +principles") + (description "@code{rebar3} is an Erlang build tool that makes it easy to +compile and test Erlang applications, port drivers and releases. + +@code{rebar3} is a self-contained Erlang script, so it's easy to distribute or +even embed directly in a project. Where possible, rebar uses standard +Erlang/OTP conventions for project structures, thus minimizing the amount of +build configuration work. @code{rebar3} also provides dependency management, +enabling application writers to easily re-use common libraries from a variety +of locations (git, hg, etc).") + (license license:asl2.0))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:46 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:46 +0000 Received: from localhost ([127.0.0.1]:35816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2Q-0001ac-CO for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:46 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:60065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2O-0001Zn-TQ for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:45 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MXoxG-1nSsh91dWe-00YDos for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:39 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4F56166485; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 19/22] gnu: Add rebar3-raw-deps. Date: Fri, 8 Apr 2022 19:03:52 +0200 Message-Id: <38f49c05eda35a1c0492583bd3a8fcc1e1cdf21f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:LjHrPfRmQENEZPb/B6In69K9iHVGmOxodiGXc52ROkDR9sV2T98 m0kjEULHYY2UxjDvZuw8uB09IFverk714a3p736B+LphDKdzC+LRN2x69GlHqI/y+lwv182 LTe7r+F+wdU3U2Fs4FqINjaeyqB6SbtW5U8ebeEgCd43/Cjpk+LuWH4x6Ni7S4hpEYmCh0p dTN4NIXKWxaFgRDdYl9Gw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:QTxjI5fFTvM=:337/2Quj/0cDKJQomAvza9 huepJgMW2ZXqUWpXpprxWacKFHydoVaPfkYhL0h8Iegm+SEoPbBu2H3rU/5ggBGgmuQJmgDDI QiSjM/nx4G6MLpKQyzUkXN8YE7SKG80ewc3OiQWhhyJF/CPZJyZ5nktxte/bjhKfDD+Ie7Mdl SQqSUvO525w/Zb5WkAzrz20w2GX8KyzSQnR8/1xwURjTTa2FK1+fOo/kAIT5IbNSyca/Gx8ju O6xLx8h2h8hAFMMSCTUTyKBcM1MtrM4H6kZ3NCEFsKxOVcLUq/UiZGPXo4EzEBflJDlKI7kaj s4ScDeRioo3h8LEMJK7ZjW6ieOnn1a2KfS/CTMcEY/iVWFb8OqaBTfhoJA27VrG1AbBU1s45F My3reCYX4zLb9G+cASCvjr10y6YBf7E224AcWwv7KzMONDbo6CcuxDxmtQOhha3yks/l/Z7Zp yEMU2WR7TfCaVVkcA/NpVZYzXREXlIrZfPdMRxcFrh5Qu3eVZUdX3Undef5iBelcmdsmSWtG6 r6AET7XhlhMh/KWAkR0Vh4UwxbFI0F2j9bOwS96dP7veym+1Yc6NFU/JXjk82NeZjwN5dmwbl dxZoGbhCN9ko7BMklCu2Vl4Ijmmh/AmAZt70m0ghCQTOpmGvKKLVgq7CKs7z56YuxXlgfqTyo K6MGG5GJ/uFGvx6BAddpk/wzkeSURBpbNZBm97Gc1kzmFVEqPiTQD5tlyJ0SK1JBbB7FuG3lm uHB901nWUaZyJfpT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-raw-deps): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 35681e9a73..8bd7ba3739 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -625,3 +625,20 @@ build configuration work. @code{rebar3} also provides dependency management, enabling application writers to easily re-use common libraries from a variety of locations (git, hg, etc).") (license license:asl2.0))) + +(define-public rebar3-raw-deps + (package + (name "rebar3-raw-deps") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_raw_deps" version)) + (sha256 + (base32 "1pzmm3m8gb2s9jn8fp6shzgfmy4mvh2vdci0z6nsm74ma3ffh1i3")))) + (build-system rebar3-build-system) + (home-page "https://github.com/soranoba/rebar3_raw_deps") + (synopsis "Rebar3 plugin for supporting \"raw\" dependencies") + (description "This plugin adds support for \"raw\" dependencies to +rebar3.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:48 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:48 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2S-0001ar-IX for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:48 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:34789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2R-0001a7-CD for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:47 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1McYP5-1oFm9k37y1-00cuvf for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:41 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6404B66486; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 20/22] gnu: Add rebar3-git-vsn. Date: Fri, 8 Apr 2022 19:03:53 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:xFi0rCZeWj2EydWjMEY+fq2k4v1++mcBtQCLD9aGr1E0+aw46ea 34OhdNIUhBIX7HKI3URFC3cqDTS24j43kCix4AjY0xAWXhlcvXGQJ71RJF8OAUMwtHPK48z UYjSDVB1veJvEoqdTLVx7j/jKBbrNWDxd08WMD7LBtpqw8tZMMuqneeD9V4ATuxMSpQbih8 kHl/GW4IKZJRWAOCL/7sg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nSU13q9jpMs=:nlCy/7/iqLCX2TTDl02FLu i/t9Q5kmCv3VFvf6noQNYo9N7DN+3P+zyXfKziik1FuuXpvvkbJhNVtxtf0LO2ftUgUUMs5PB 8bQleoiO1k9Dqp+jyH07Tc1e27QF4mIuCAM5D4JgJ2iVR9QdYqaC8RnEaDaW0vPDPKAPBU4f7 z9HId+WVIh3VUnXItGv3v83vi1zP/akB8KrYg3+r9Uk9fH58SXNAoN1v5MKJSqg1+g3a1Gr1q ZHaqoZMrTRc5kt+oEK5c8Ez9jKlRzb8J48eRVV6k1Juk08tOQ5ow+zM1mBYEJW0LskKDkC86P GXK0/TaM3J6G6LXemsCCKK3sCF7CPzKgazTVZKRX/p/jOpguDdZuxpBQLFE2xd6o6ExzgFVbJ +f9J2XzC8/cF2nwnCOfi272t4HQYwOoUNMV0QHXtMpCx40SPVi0VDmfT4OXrzscYZHpc/I3R/ iuFQeiUTcdFHP37MDahuZ3qAcUrAcKI+UKVsreKVngHkZh+xaGr65/5AA23HA8h4uxDFgZrox EJfZ4ONh5izKH2ELR+HCTG3KNkMDKlruar7gRIz2dbTONcW/5llruW+AG0NOjyOkhuBZB++Mi 79K0wKx5Gqn2t+zC6vPFYaEfjX2KnN/SuKUSYRGPvKi/jgVfLL0MvJm686oECLmgeB3lpOK2B yhVO+YCLItBeh70lbi4UWEDb5odlKeDFk7AjKvZ3ojeGYBDRCaDYUrqkdmkicSTUsOUdRsCv8 /4U5d3E2H/Xr4EGH X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-git-vsn): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 8bd7ba3739..acd7c76aa1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages version-control) #:use-module (gnu packages tls) #:use-module (gnu packages wxwidgets)) @@ -642,3 +643,34 @@ of locations (git, hg, etc).") (description "This plugin adds support for \"raw\" dependencies to rebar3.") (license license:expat))) + +(define-public rebar3-git-vsn + (package + (name "rebar3-git-vsn") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_git_vsn" version)) + (sha256 + (base32 "1dfz56034pa25axly9vqdzv3phkn8ll0qwrkws96pbgcprhky1hx")))) + (build-system rebar3-build-system) + (inputs + (list git)) + (arguments + `(;; Running the tests require binary artifact (tar-file containing + ;; samples git repos) TODO: remove these from the source + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (assoc-ref inputs "git"))) + (substitute* "src/rebar3_git_vsn.erl" + (("rebar_utils:sh\\(\"git " _) + (string-append "rebar_utils:sh(\"" git "/bin/git "))))))))) + (home-page "https://github.com/soranoba/rebar3_git_vsn") + (synopsis "Rebar3 plugin for generating the version from git") + (description "This plugin adds support for generating the version from +a git checkout.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:51 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:51 +0000 Received: from localhost ([127.0.0.1]:35822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2U-0001b5-QW for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:50 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:40883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2T-0001aL-IZ for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:49 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MjSsm-1oNi6Q0Ip8-00kuyP for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:44 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6DE0766487; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 21/22] gnu: Add rebar3-proper. Date: Fri, 8 Apr 2022 19:03:54 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1://okcW/uxqxck/+qcWuS7Fp9mNsOb8IJwQr88zPAhDqyS/m6RcV NY19Hjw59cskGZrY7sMmIELkLUigR3pGXrkeXimugRxhFTv3EqjzSF/OJaOkxE1EGXeOR8H MDmJ1IN6gCGQYcZTJpZRwfeBVaQmsHXOea7RKGsmfmSKoD5lKccZ7zt/1ivdPU8tnPXq+rb QSWaK7u6I6MBeYcTQCGUg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uiy1aZd3jm4=:GSI/5VQdCC6QkaZBJ8k627 kjxTrnxWsegJJU12aneiwxQ0VrTpGacaJt7dYKSIB2BiQocsMN1X7tcFxaAGArEDdyjFmw/Mm 5OlzWNGJCanmu+ZjOuUMYfiDRJwAwPwUXIateavb+FpjYxHXfKYVErcjmWSVC2sZLb0laMBBW fkMGofNKFyN1RBFj7WGH4oiaancs8utD8xv0Kp3t5lMaPPvw01yjPNYznHgoXoTjlJn9uKWpk EKfVmi+zxyZp5mDQ8nsw2+CKFofZaVgOaghKdOm1Pu6w/Nu5EiJFtT1TZ70gO/EDhevZnfH88 8KX6grgzPrz2/9bleaqcz2snEV3a5p7ZOHMxBnK0Mq7iPRHcK4xxBwGW7H6JNhlV5H6WflHDw yo6xM8s5nG0T5EfHnfrjSVrPisiaIgqREE9ed0WXSVYK8BA2M9/5149jRwGMXdyLGmf6JK/eG L9ZrYTle5oR43Xr94h74zwf+uejWK6xHYg/DiS283OWWK7fhnWIf2uUHtHeeVR/e7tNsOUesG rw78NUJD5IlFKw7MQpl5vTnnORm/BUMAN5SVm3vocTfneI8agJKc0mcCks8F+iwDpf4eAMwuG 3pnA5tdo0GS5Ri7EjldB3VExE4ANniuABTtn7B+y2tBIuRuXlj1FGa4yZhZuEuBW0R+XWLkJJ dTrMYGaleL4V3YZpsXjP8lYF6DOfvnn9lusMLJbcXuAZc7faRKEDS7Zox8Tw58NMYzG2ZaOQ+ 4YETBUBMmVAIATZx X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-proper): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index acd7c76aa1..339d93496b 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -674,3 +674,20 @@ rebar3.") (description "This plugin adds support for generating the version from a git checkout.") (license license:expat))) + +(define-public rebar3-proper + (package + (name "rebar3-proper") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_proper" version)) + (sha256 + (base32 "1f174fb6h2071wr7qbw9aqqvnglzsjlylmyi8215fhrmi38w94b6")))) + (build-system rebar3-build-system) + (home-page "https://github.com/ferd/rebar3_proper") + (synopsis "Rebar3 PropEr plugin") + (description "This plugin allows running PropEr test suites from within +rebar3.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 13:04:58 2022 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:59 +0000 Received: from localhost ([127.0.0.1]:35825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2Y-0001bM-0d for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:58 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2W-0001ak-0s for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:53 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIMKq-1niMDC1dVU-00EOLy for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:46 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8199166488; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Date: Fri, 8 Apr 2022 19:03:55 +0200 Message-Id: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:d7L25raqcPFoLfXDe6NzOjXdjs+uSSt83Qhse19dSNmpoDW1zrO dlLgVTq0NwHru/9+k/Gox9bbtMY3a/FLDxaAPPkLKcRyrT0Bibha7KD8QJPf3tGgNqrBwqa uqvxrscZ2e/cnW42J8N/nDuRmkbdQ4ijvXlEjS89LPNl5+ajxRqHD2B+mbY8bbdhgpcjPJY r0AScEy2oCw9YRmE2r83Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Uj/jUWMwVag=:gkmTQ3kDVFdFb56wSWQish mkXpZf9xLB1S3ypHZ0MJJPoufIGsIrvn9GUYcBV0nwXXOtpoureZtkpzgsfXn0Rxb36v4GWVL G61RZ6vsvY9RBWLGVVtv82Nr2tEQAwD57KpKZ+vkIp+G1Bcr59Ni1eGelW3KU+m6ibjO79PtF oYY3slMrXF6cgVvzBV3J7MM/x+id3IXLrn4vkIIQjLtZnhuGWxqZe5VidieheoEI5ZwuePwiH 1F51TV6be5mAGhHcF26e+zwhcWJuIGiv1BaalQkPdlQ0OiDhuZge/B4ZCtKJ9Jvj6w9xwiu/b S6CBstzZ8j62icxc6pz2aZpiH0q/ZlYgBGkz0m/WnZ2hVEuZjCucCJS1qD2jN+Ceqq7DVghpC m9ryI8jOGHtwW2Q10Fx+0MDY6v9dA6c1X6dDPv+1FE3O2Sh4ICcRhfJ5D6cXXEQgRCEB4H/kx EUOndh+mmv53JNo61Y48ZjbLa3paDBWYzIG7LOhqZhj1URGTpDiAOsWJCob3gpQFdKNAgbDOH rEf8uDna7yhaTGCJGpfnjpjlFFMjbGhiV5pYGf/dKSteL2Ow76DAxkQF+QuBNPcesm3UtARHM CooIt9xuPXv3WBdwe0DFv5e5WiZa0386I8jVN0s9hX1o0jgtf7T8f5UbzC4qNLtfV3wKNexll M+3ikJkryzuOf4dLmKDescVuB+3r/4LebtcnRuW6bo5oLJ+NXRStmpB9cN4aBrzvXU53ph2Ao 5FqGrjhtaXkhTdFH X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New files. * Makefile.am (MODULES): Register them. * doc/guix.texi (Build Systems): Document it. --- Makefile.am | 2 + doc/guix.texi | 41 ++++++++ guix/build-system/rebar3.scm | 143 ++++++++++++++++++++++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++++++++++++++++++++++ 4 files changed, 333 insertions(+) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm diff --git a/Makefile.am b/Makefile.am index be2c183206..bb538222b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,6 +164,7 @@ MODULES = \ guix/build-system/waf.scm \ guix/build-system/r.scm \ guix/build-system/rakudo.scm \ + guix/build-system/rebar3.scm \ guix/build-system/ruby.scm \ guix/build-system/scons.scm \ guix/build-system/texlive.scm \ @@ -217,6 +218,7 @@ MODULES = \ guix/build/r-build-system.scm \ guix/build/renpy-build-system.scm \ guix/build/rakudo-build-system.scm \ + guix/build/rebar3-build-system.scm \ guix/build/ruby-build-system.scm \ guix/build/scons-build-system.scm \ guix/build/texlive-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 6c17b26d70..518fabf48d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8717,6 +8717,47 @@ with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter. @end defvr +@defvr {Scheme Variable} rebar3-build-system +This variable is exported by @code{(guix build-system rebar3)}. It +implements a build procedure around @code{rebar3}. + +It adds both @code{rebar3} and the @code{erlang} to the set of inputs. +Different packages can be specified with the @code{#:rebar} and +@code{#:erlang} parameters, respectively. + +This build system is based on @code{gnu-build-system}, but with the +following phases changed: + +@table @code + +@item unpack +This phase, after unpacking the source like the @code{gnu-build-system} +does, checks for a file @code{contents.tar.gz} at the top-level of the +source. If this file exists, it will be unpacked, too. This eases +handling of package hosted by @i{hex.pm}. + +@item bootstrap +@item configure +There are no @code{bootstrap} and @code{configure} phase because erlang +packages typically don’t need to be configured. + +@item build +This phase runs @code{rebar3 compile} +with the flags listed in @code{#:rebar-flags}. + +@item check +Unless @code{#:tests? #f} is passed, +this phase runs @code{rebar3 eunit}, +or some other target specified with @code{#:test-target}, +with the flags listed in @code{#:rebar-flags}, + +@item install +This installs the files created in the @i{default} profile, or some +other profile specified with @code{#:install-profile}. + +@end table +@end defvr + @defvr {Scheme Variable} texlive-build-system This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The diff --git a/guix/build-system/rebar3.scm b/guix/build-system/rebar3.scm new file mode 100644 index 0000000000..b96c806258 --- /dev/null +++ b/guix/build-system/rebar3.scm @@ -0,0 +1,143 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2020 Hartmut Goebel +;;; +;;; 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 (guix build-system rebar3) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix monads) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module ((guix hexpm-download) #:select (hexpm-uri) #:prefix dl:) + #:use-module (ice-9 match) + #:use-module (srfi srfi-26) + #:export (hexpm-uri + %rebar3-build-system-modules + rebar3-build + rebar3-build-system)) + +;; +;; Standard build procedure for Erlang packages using Rebar3. +;; + +(define hexpm-uri dl:hexpm-uri) + +(define %rebar3-build-system-modules + ;; Build-side modules imported by default. + `((guix build rebar3-build-system) + ,@%gnu-build-system-modules)) + +(define (default-rebar3) + "Return the default Rebar3 package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'rebar3))) + +(define (default-erlang) + "Return the default Erlang package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'erlang))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (rebar (default-rebar3)) + (erlang (default-erlang)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME from the given arguments." + (define private-keywords + '(#:target #:rebar #:erlang #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs `(("rebar" ,rebar) + ("erlang" ,erlang) ;; for escriptize + ,@native-inputs)) + (outputs outputs) + (build rebar3-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (rebar3-build name inputs + #:key + guile source + (rebar-flags ''("skip_deps=true" "-vv")) + (tests? #t) + (test-target "eunit") + ;; TODO: install-name ; default: based on guix package name + (install-profile "default") + (phases '(@ (guix build rebar3-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (native-search-paths '()) + (system (%current-system)) + (imported-modules %rebar3-build-system-modules) + (modules '((guix build rebar3-build-system) + (guix build utils)))) + "Build SOURCE with INPUTS." + + (define builder + (with-imported-modules imported-modules + #~(begin + (use-modules #$@(sexp->gexp modules)) + + #$(with-build-variables inputs outputs + #~(rebar3-build #:source #+source + #:system #$system + #:name #$name + #:rebar-flags #$rebar-flags + #:tests? #$tests? + #:test-target #$test-target + ;; TODO: #:install-name #$install-name + #:install-profile #$install-profile + #:phases #$(if (pair? phases) + (sexp->gexp phases) + phases) + #:outputs %outputs + #:search-paths '#$(sexp->gexp + (map search-path-specification->sexp + search-paths)) + #:inputs %build-inputs))))) + + (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) + system #:graft? #f))) + ;; Note: Always pass #:graft? #f. Without it, ALLOWED-REFERENCES & + ;; co. would be interpreted as referring to grafted packages. + (gexp->derivation name builder + #:system system + #:target #f + #:graft? #f + #:guile-for-build guile))) + +(define rebar3-build-system + (build-system + (name 'rebar3) + (description "The standard Rebar3 build system") + (lower lower))) diff --git a/guix/build/rebar3-build-system.scm b/guix/build/rebar3-build-system.scm new file mode 100644 index 0000000000..ae18538ed3 --- /dev/null +++ b/guix/build/rebar3-build-system.scm @@ -0,0 +1,147 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016, 2018 Ricardo Wurmus +;;; Copyright © 2019 Björn Höfling +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix build rebar3-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module ((guix build utils) #:hide (delete)) + #:use-module (ice-9 match) + #:use-module (ice-9 ftw) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (rebar3-build + %standard-phases)) + +;; +;; Builder-side code of the standard build procedure for Erlang packages using +;; rebar3. +;; +;; TODO: Think about whether bindir ("ebin"), libdir ("priv") and includedir +;; "(include") need to be configurable + +(define %erlang-libdir "/lib/erlang/lib") + +(define* (erlang-depends #:key inputs #:allow-other-keys) + (define input-directories + (match inputs + (((_ . dir) ...) + dir))) + (mkdir-p "_checkouts") + + (for-each + (lambda (input-dir) + (let ((elibdir (string-append input-dir %erlang-libdir))) + (when (directory-exists? elibdir) + (for-each + (lambda (dirname) + (let ((dest (string-append elibdir "/" dirname)) + (link (string-append "_checkouts/" dirname))) + (when (not (file-exists? link)) + ;; RETHINK: Maybe better copy and make writable to avoid some + ;; error messages e.g. when using with rebar3-git-vsn. + (symlink dest link)))) + (list-directories elibdir))))) + input-directories)) + +(define* (unpack #:key source #:allow-other-keys) + "Unpack SOURCE in the working directory, and change directory within the +source. When SOURCE is a directory, copy it in a sub-directory of the current +working directory." + (let ((gnu-unpack (assoc-ref gnu:%standard-phases 'unpack))) + (gnu-unpack #:source source) + ;; Packages from hex.pm typically have a contents.tar.gz containing the + ;; actual source. If this tar file exists, extract it. + (when (file-exists? "contents.tar.gz") + (invoke "tar" "xvf" "contents.tar.gz")))) + +(define* (build #:key (rebar-flags '()) #:allow-other-keys) + (apply invoke `("rebar3" "compile" ,@rebar-flags))) + +(define* (check #:key target (rebar-flags '()) (tests? (not target)) + (test-target "eunit") + #:allow-other-keys) + (if tests? + (apply invoke `("rebar3" ,test-target ,@rebar-flags)) + (format #t "test suite not run~%"))) + +(define (erlang-package? name) + "Check if NAME correspond to the name of an Erlang package." + (string-prefix? "erlang-" name)) + +(define (package-name-version->erlang-name name+ver) + "Convert the Guix package NAME-VER to the corresponding Erlang name-version +format. Essentially drop the prefix used in Guix and replace dashes by +underscores." + (let* ((name- (package-name->name+version name+ver))) + (string-join + (string-split + (if (erlang-package? name-) ; checks for "erlang-" prefix + (string-drop name- (string-length "erlang-")) + name-) + #\-) + "_"))) + +(define (list-directories directory) + "Return file names of the sub-directory of DIRECTORY." + (scandir directory + (lambda (file) + (and (not (member file '("." ".."))) + (file-is-directory? (string-append directory "/" file)))))) + +(define* (install #:key name outputs + (install-name (package-name-version->erlang-name name)) + (install-profile "default") ; build profile outputs to install + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg-dir (string-append out %erlang-libdir "/" install-name))) + (let ((bin-dir (string-append "_build/" install-profile "/bin")) + (lib-dir (string-append "_build/" install-profile "/lib"))) + ;; install _build/PROFILE/bin + (when (file-exists? bin-dir) + (copy-recursively bin-dir out #:follow-symlinks? #t)) + ;; install _build/PROFILE/lib/*/{ebin,include,priv} + (for-each + (lambda (*) + (for-each + (lambda (dirname) + (let ((src-dir (string-append lib-dir "/" * "/" dirname)) + (dst-dir (string-append pkg-dir "/" dirname))) + (when (file-exists? src-dir) + (copy-recursively src-dir dst-dir #:follow-symlinks? #t)) + (false-if-exception + (delete-file (string-append dst-dir "/.gitignore"))))) + '("ebin" "include" "priv"))) + (list-directories lib-dir)) + (false-if-exception + (delete-file (string-append pkg-dir "/priv/Run-eunit-loop.expect")))))) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (replace 'unpack unpack) + (delete 'bootstrap) + (delete 'configure) + (add-before 'build 'erlang-depends erlang-depends) + (replace 'build build) + (replace 'check check) + (replace 'install install))) + +(define* (rebar3-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Erlang package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args)) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 06:58:53 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 10:58:53 +0000 Received: from localhost ([127.0.0.1]:36812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd8nk-0000oR-C7 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 06:58:53 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:41664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd8ni-0000oI-H6 for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 06:58:43 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by michel.telenet-ops.be with bizsmtp id Gayf2700J1s0Pjw06ayges; Sat, 09 Apr 2022 12:58:40 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 04/22] gnu: Add erlang-erlware-commons. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 12:58:35 +0200 In-Reply-To: <3d46f7da1d14db0cbab7ae275b4807bcae3b94ab.1649436566.git.h.goebel@crazy-compilers.com> References: <3d46f7da1d14db0cbab7ae275b4807bcae3b94ab.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-gpDrORgh07RKe22HKDpe" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649501920; bh=b1QSKXkA2d9MCEA15Mh/s1O05DK7MQF0x1buAuYmc+k=; h=Subject:From:To:Date:In-Reply-To:References; b=GgkzpkV2sF/jF6hMG1/4+GKp1pqfwH/B4QXbij8XBL5NrHvRMYSG+5Mq0hJjW0rxs 5Q3ZrzvjAkaX8mTX6STsoGfRQTNNfA4ybOOsJAhZy//TuY+AGMUMtTWZxrkDVkfMvW iawdgBJhFyKegY1+ROvihk8BGPrpVQjIz1VSe9p2LHFilXH4tn5jQRcBQ2M+/kKpba 0DsiTWOlvThIQkytE5r/1Y0Cm2bEZSgUcpM9dyy9gIi6T2V6fQgSog5UN1m1WY3hMM jTVuiDEzwgc/mI7cXfC0vqJ9TT3AfUHIEPpYq3atA1Ifut0m6ZTQEXXg7MHxSRrT1j wEZiWidxGsyMg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-gpDrORgh07RKe22HKDpe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (native-inputs > +=C2=A0=C2=A0=C2=A0=C2=A0 (list git))=C2=A0 ;; Required for tests Maybe git-minimal/fixed, to avoid rebuilds if 'git' is updated. Greetings, MAxime. --=-gpDrORgh07RKe22HKDpe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFm2xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qSVAP9S2AqA1ScAWQSFj+TryoCw2mcJ 4+I3Aa52iEDeoJwv4wD/XB+nX9VqGN56uXK0mvHuAYhkQur7/HwiM1+qYxLqYQY= =UMs9 -----END PGP SIGNATURE----- --=-gpDrORgh07RKe22HKDpe-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:39:28 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:39:28 +0000 Received: from localhost ([127.0.0.1]:36835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9RA-0003xI-3F for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:39:28 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:59344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9R7-0003x8-II for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:39:27 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by michel.telenet-ops.be with bizsmtp id GbfP270061s0Pjw06bfPjv; Sat, 09 Apr 2022 13:39:23 +0200 Message-ID: <2285d26dd5b271a42bafb8aec553ba031f36d107.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 03/22] gnu: Add erlang-certifi. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:39:18 +0200 In-Reply-To: <25be4a7ca6f9af888b6a97f6ab03e2e3ae2caaf7.1649436566.git.h.goebel@crazy-compilers.com> References: <25be4a7ca6f9af888b6a97f6ab03e2e3ae2caaf7.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/my7yhXZ5oQVe4cmvjg7" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504363; bh=YHJntOTboq5IVzk7e3wQDE6TOPZeP2iO34RS4f6NyLw=; h=Subject:From:To:Date:In-Reply-To:References; b=j/p5yxrCt52ihn89Lbo40LPLMTru7VZOd0mAd3f+n6L5y0VYHCW0Z3AMxYfPhI5j4 QU/leoEtJK0rpCzXDwXAPrMf2XKesMSin3acva4O2+MlonQl6JfzagzfGL+QVpZBro qejaefkluRBFMpxRc6WepHtFcVSCcbXtRdS5NoZ5LHL+E5TAvQOpl/Dlo8rWIwfwIy UVfERyz2/fCcE49LbbYDhmedlx/zlfh5skCUWvnSN1aOiGvLPuwa7647/d2UEcNMn2 FWJ9OokmPqmGv8UDyvS2kIdjA+6kIUbhHUVt96EWxehCuHuzP4o4XAvPq6t5btclb0 6PD7UuqoT6BmA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-/my7yhXZ5oQVe4cmvjg7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (description "This Erlang library contains a CA bundl= e that you can > +reference in your Erlang application.=C2=A0 This is useful for systems t= hat do not > +have CA bundles that Erlang can find itself, or where a uniform set of C= As is > +valuable. > + > +This an Erlang specific port of certifi.=C2=A0 The CA bundle is derived = from Can this bundle be built from 'nss-certs', such that when nss-certs is updated (e.g. Mozilla revokes a root certificate due to reasons), erlang-certifi is up-to-date as well? Also, if Erlang supports some kind of static linking, then a package like this might be useful for people wanting to make static binaries to distribute to (non-Guix) systems. However, adding packages like nss-certs to the package inputs is avoided in favour of SSL_CERT_DIR/SSL_CERT_FILE / /etc/ssl/certs, to avoid rebuilds (*) when nss-certs is updated and because people might want to use a different set of root certificates (e.g., le-certs, none, or a list of (non-CA) certificates for a few individual sites). As such, can this package be avoided as dependency? Also see: * https://issues.guix.gnu.org/54434#8 (tzdata instead of nss-certs, but same principle) * https://lists.gnu.org/archive/html/guix-devel/2017-01/msg00516.html (about rebuilds) * https://lists.gnu.org/archive/html/guix-devel/2014-02/msg00277.html (some security reasons for not including nss-certs in the inputs or even the user profile) (*) nowaday it is less of a concern because of grafting, but grafting can take a long time. Greetings, Maxime. --=-/my7yhXZ5oQVe4cmvjg7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFwZhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kLjAQDafaG6JZ1bLIhnjoaogDgCUXz0 SBlZO+VW1sVG1X1fqwD/V1ZnDlzPoa5Kj+NSix3qc+xYSid3zWGUNiuzoCCBQgs= =ffy7 -----END PGP SIGNATURE----- --=-/my7yhXZ5oQVe4cmvjg7-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:41:50 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:41:50 +0000 Received: from localhost ([127.0.0.1]:36840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9TS-00040r-HK for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:41:50 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:49072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9TQ-00040h-5a for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:41:48 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by albert.telenet-ops.be with bizsmtp id Gbhm270081s0Pjw06bhm8V; Sat, 09 Apr 2022 13:41:46 +0200 Message-ID: <88f4ccef42aff62bb7763c8ff6212fd15be4037c.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 10/22] gnu: Add erlang-parse-trans. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:41:45 +0200 In-Reply-To: <02b2a5809c945daae97889d7e0469ce9cc74a2fe.1649436566.git.h.goebel@crazy-compilers.com> References: <02b2a5809c945daae97889d7e0469ce9cc74a2fe.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-x8ogvIjsIE8goM6CQ76E" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504506; bh=Jax4TSnTkq6LCkVAI6A+blCXwyI0hW/uBlDoDsEju4s=; h=Subject:From:To:Date:In-Reply-To:References; b=MZpLqGfppyIVcbw+iEmyueqG/8N6eBEh1NZ0RSYASAktuN9HCfv1sV8ZA7Bqlrigi pFgLd2AZ/XQBqhrN6gqk8VZwPEOe9kcqgP085/CSyNJ3di8Ukmr6HFtenD0+uR46fT lRqjg7+3+Kf90f4s7bZMVWfjTpUY0EiXGeMn2eefrSyi2qVWUhNbr/eon06wb3IfNW DYlqCyu7ok36CuNKlO3OMGhw06gNN8PrPwKjEwAV0JlLQZEDvN4rVWkcYFs7sDgwa6 4Kee93RFwqzbitZLZRMMfwOB0D3rQsQEWtopLH4htb3eXmisFZFadShvjiwYcDvf1g ZoMvPJw+6cEgw== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-x8ogvIjsIE8goM6CQ76E Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (synopsis "Parse transform utilities for Erlang") > +=C2=A0=C2=A0=C2=A0 (description "This package provides parse transform u= tilities for > +Erlang.") This description is a bit parse, =E2=80=98(guix)Synopses and Descriptions= =E2=80=99 recommends longer descriptions. What's a =E2=80=98parse transform utility= =E2=80=99? How do I know if I need one? What are they useful for? Are there limitations and alternatives? Greetings, Maxime. --=-x8ogvIjsIE8goM6CQ76E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFw+hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qdSAQCNwT4RTCFbWZ1XIC7koIDUfjVk F1MWRU/bWvGNCAVewgEA5yGWELrL6uwfD0FOhZn0F173MUEvI5Z9XK1XIItO1Q0= =NtbM -----END PGP SIGNATURE----- --=-x8ogvIjsIE8goM6CQ76E-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:43:53 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:43:53 +0000 Received: from localhost ([127.0.0.1]:36845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9VQ-00043q-TQ for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:43:53 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:50904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9VI-00043b-NB for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:43:51 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by albert.telenet-ops.be with bizsmtp id Gbjj2700H1s0Pjw06bjjZ8; Sat, 09 Apr 2022 13:43:44 +0200 Message-ID: <62d3d45e3ef8ce6e59faf89ad11fd490e63b9c41.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:43:43 +0200 In-Reply-To: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> References: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-jt2uLJ6s7t34GXmTjoCW" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504624; bh=m3RKbFF4qu3L+o/RrZLYv96bpQlO7JDBD+qt3muE0Y4=; h=Subject:From:To:Date:In-Reply-To:References; b=C2v5Ua6twscn3PMpO9UctoCterHq71geMe5Q1gjStf+tFu/3pClCkpeVeDyQARUmO DJQOc55NISYX/KEWc0Ehd0TVtwv635onN9EhEUeVtquyGuFguv81VbIZ8VCU1gpz9d 9BlsqKG/goSCyk7Qd5yTzNTjkU7dLDw5pGB0CGV8JdHeO/9khn2SdYOPfhoTGb2zba nCzP0AgqH/LQVwgkNJRO3llWozfctu0yvMs4k1WbgLn7Yw1LF3ZliDiQnXdGSSMQ2t 5j1WZsvY+TLAYiNkZDLPx6fuJ3Lws3/DlXJZ4v5TPEE6psW6XkPS2c2/NrmsrLaH/Z II09MHJG2FcvQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-jt2uLJ6s7t34GXmTjoCW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (description "Relx assembles releases for an Erlang/O= TP release.=C2=A0 Given a What does =E2=80=98Erlang/OTP=E2=80=99 mean here? Is it like "make dist", = or more like "cargo publish", or "git tag v1.2.3"? Greetings, MAxime. --=-jt2uLJ6s7t34GXmTjoCW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFxbxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7leWAQDr3wGNHxrey9ZQZEOFZuEc/1YH zikoV5cNfVnS868kvAD+N5pKa/DpSo3nHw4euCefoPBzJJ3KQVNt5ulg62sjKww= =Akru -----END PGP SIGNATURE----- --=-jt2uLJ6s7t34GXmTjoCW-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:45:26 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:45:26 +0000 Received: from localhost ([127.0.0.1]:36850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9Ww-00046u-JQ for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:45:26 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:37504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9Wu-00046j-L6 for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:45:25 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by michel.telenet-ops.be with bizsmtp id GblP270011s0Pjw06blPyk; Sat, 09 Apr 2022 13:45:23 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:45:22 +0200 In-Reply-To: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> References: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7YRbQh4kIPQdRx2gtIy/" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504723; bh=p4JAg+HFBpWtpZr5F2lSn/f0/atijQtRvOtHYzDamjI=; h=Subject:From:To:Date:In-Reply-To:References; b=lFXYG8/depEYWLiSuDgr9oNInBG9cOGy7BEw4viLQ/Wjr4eAdlh9X1cvKs/ytfbsH +PvSOdphIwGvMHBHXTcOs1ftBbZrZgdycz7ClPyY7fh7Kny4AwIgbV0IAdypG7QvI6 oHckebr9qBcZxivgpdV85T6lF9fkVpX9gRaNQNSSC/0yO1uQPe7xGQo5UdFeyq1TdI nowJ8wxaw981kaJgEhlor1GeAxvCbT8CG8NdREdZYt6w+iru6jb7Jpxh9MaMQkv0YA 37SCy9pLbv6UM5eEDfsj+yRljXqUpoQ08kP/1GDCZ9R+pJjKZ0W1GOa9SMglnC3mZ0 SZOHCAMAugwaQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-7YRbQh4kIPQdRx2gtIy/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (propagated-inputs > +=C2=A0=C2=A0=C2=A0=C2=A0 (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. --=-7YRbQh4kIPQdRx2gtIy/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFx0hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lWmAQDL4LHVD0uek3JTA5T0t5ZSwvGh Ju4sv9C8zYBb8Tv2sgD/fcuooFeSzBokpkan98OnZxEIKJIzlgPciYlxjAoE5wU= =JSt8 -----END PGP SIGNATURE----- --=-7YRbQh4kIPQdRx2gtIy/-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:48:06 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:48:06 +0000 Received: from localhost ([127.0.0.1]:36855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9ZV-0004DT-W6 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:48:06 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:53866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9ZT-0004DK-Qj for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:48:04 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gbo12700L1s0Pjw01bo1yC; Sat, 09 Apr 2022 13:48:02 +0200 Message-ID: <1608ff50be88f8f2a33301aaee0407343233f089.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 17/22] gnu: Add erlang-covertool. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:48:01 +0200 In-Reply-To: <863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com> References: <863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-KeOLRB3Svbd0A5HmNZOG" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504882; bh=7K4KGTQh4+d6Sm9NousB2gRLFzx8JccFRi61vJiSZnE=; h=Subject:From:To:Date:In-Reply-To:References; b=PQ2hyR5Orxl2CF18jdsx2kOLkz7d3fz/YGzngRVzcu0RHkRBZqZe6lar1skhYWLFw UpcAimaKNds1WkwJsSQAgRUTq3j55gHx7Ltslm5LW5A3qFwv/fGVKf6Yyc9BFmZ8Ic LBAnuocqs67a2/lDdXp5Jdc1Kg256zuKGX+SrdC0PTwWAJ74o6n2ZxvAyBPxL5NQ9R RtyBAKD21gLziPegM0aUrGVtBBHfKt+PvOZvL0Z8fGPfYtSaci/ifxOMrsJXhB+FCj aA0JWg6bHur9fCQeaMyKS/bs7KWakf4mVBeUbOULA6lo3t/T82XGynG94ObDk4MWXv wv1WHvshs1QKQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-KeOLRB3Svbd0A5HmNZOG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/covertool/covertool") > +=C2=A0=C2=A0=C2=A0 (synopsis "Convert Erlang cover data into Cobertura X= ML reports") > +=C2=A0=C2=A0=C2=A0 (description "This package provides a build tool and = plugin to convert > +exported Erlang cover data sets into Cobertura XML reports, which can th= en be > +feed to the Jenkins Cobertura plug-in. > + > +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertoo= l}.") > +=C2=A0=C2=A0=C2=A0 (license license:bsd-2))) What is =E2=80=98cover data=E2=80=99? Is it line coverage information for = testing if a test suite is of good quality, or is it for calculating a minimal convex covering of a set of points? Greetings, Maxime. --=-KeOLRB3Svbd0A5HmNZOG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFycRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lBOAP0d4CTetjxT3pAT7ZxKn1usuCFM RBb4sDIWStHM2LHQzgEAoirjB/qSZviOifFIHG1I9gXRepy3M995Zh0tArpd1Qo= =4yVn -----END PGP SIGNATURE----- --=-KeOLRB3Svbd0A5HmNZOG-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:49:57 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:49:57 +0000 Received: from localhost ([127.0.0.1]:36860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9bJ-0004Fz-B9 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:49:57 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:55842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9bH-0004Fr-Il for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:49:56 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gbpu2700C1s0Pjw01bpuB7; Sat, 09 Apr 2022 13:49:54 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 19/22] gnu: Add rebar3-raw-deps. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:49:54 +0200 In-Reply-To: <38f49c05eda35a1c0492583bd3a8fcc1e1cdf21f.1649436566.git.h.goebel@crazy-compilers.com> References: <38f49c05eda35a1c0492583bd3a8fcc1e1cdf21f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2AOckDB6AMfTC0x43XQL" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649504994; bh=BRHH+jy9p+k0Zwy+dIMARPvEG+ML1xrFXYWUCL9dufk=; h=Subject:From:To:Date:In-Reply-To:References; b=dARV2H3owlhwOyD1R3NZQ+atSyCA+sVYIcHGZGBVPrx2o67P++204nOtSp+wf1weY 0+YgE+Zv1IobFJL2mrCfyUT1S7MeTLH1qvfONNZRNDF0jQScEulbHq6o4qJkbBGBEG +wAkIjV3b20aHvyxM7/FPtrXVDeAK9ZkJgd+qybQFLK7q48RE7/v0pAyvOGDWWZ0pX 9VkFreEGKsv2DPsGA+IEFQLTMAbsrnGmLDmyyRecx8/ky3p9wsM7aaLg6lQ6dNJ3wy uFSzZDZ325tCqC/IrCN5cMp6u2Mqrizq+DHwZVVTNziQ64RPNt3l/G6YzcbGNFUiN7 aC0ZpvdM+SsGg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-2AOckDB6AMfTC0x43XQL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0 (synopsis "Rebar3 plugin for supporting \"raw\" depen= dencies") > +=C2=A0=C2=A0=C2=A0 (description "This plugin adds support for \"raw\" de= pendencies to > +rebar3.") The synopsis and description are practically identical here. What is a =E2=80=98raw=E2=80=99 depency? How does someone know if "raw" dependencies= might be useful for their purposes? Greetings, Maxime. --=-2AOckDB6AMfTC0x43XQL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFy4hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gyDAP43IiX9j//qa2e8DRIur2d/a11+ fbljToPRg98QjOXxFAD/QO2fBjZPMxLgHACbVGgNCfJCcaqlRpuioR2oCzedEQU= =oVpi -----END PGP SIGNATURE----- --=-2AOckDB6AMfTC0x43XQL-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:52:39 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:52:40 +0000 Received: from localhost ([127.0.0.1]:36865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9dv-0004K4-OJ for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:52:39 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:59078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9dt-0004Jv-FJ for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:52:37 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gbsc2700E1s0Pjw01bscXx; Sat, 09 Apr 2022 13:52:36 +0200 Message-ID: <2dada794ef45e2134663af43dfe3916532b6a078.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:52:36 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-MV6TrD0Ms0/yKqjKos0Z" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505156; bh=rcCPTWJw5XXubfIHCdtD1LdeAjElqUJ53Q1HCjd3ZIA=; h=Subject:From:To:Date:In-Reply-To:References; b=dKXqwnlH42GtFVOQpAxQzaT822MzKffFhGNEkh2fmYS5aAdeXdLt1tDL6Gya7WIlx INIkvvJpWL7goSzgSJxwMiV3YKkAbHa6/485P0Xe2SUZg/qz0M9bl0X7rcWs1jjpG/ kqyebyP5fmb/HT2Z3o0s5fZFd3PhlBRrQ9DST+8rNIxAT4+MWDRrw/+gMQskyBgyNQ bG2ObbZaLYG5Ub7+T52bqOvhcJ5A+vimn+98xCBgWt9jddrRfRLdpaODRiOTVQ+yqt UVVzJ1lB93a/4oinMxtiMMAw7KGQG0G+VkGdYp1xQtlqmyqAPCf91wRnX36fF43gvy gS9qsQm9rJXTQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-MV6TrD0Ms0/yKqjKos0Z Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0 (docs-html-url hexpm-docs-html-url "docs_html_url") ; string | #n= il There is (currently) no Guix code written in Emacs Lisp. Do you mean #f instead of #nil? Greetings, Maxime. --=-MV6TrD0Ms0/yKqjKos0Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFzhBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sGqAQCZcYFnKCuyoHJdB0maAPAoc51N h+r4leI78zWFZai30gD+PtwMN7feBosa8S8SOqH7V9iDMC+VWbsuELqbd/NF0Qw= =gasT -----END PGP SIGNATURE----- --=-MV6TrD0Ms0/yKqjKos0Z-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:53:34 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:53:34 +0000 Received: from localhost ([127.0.0.1]:36870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9eo-0004Ld-0b for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:53:34 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:39090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9em-0004LV-MP for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:53:33 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by xavier.telenet-ops.be with bizsmtp id GbtW270071s0Pjw01btWjj; Sat, 09 Apr 2022 13:53:31 +0200 Message-ID: <2cd8a66b9e0c474096105ef70ffceea1305383cb.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:53:30 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-XK9BRw2WZTb6WGNdzIyV" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505211; bh=eoTLbq1VS/8weR/c7VDHCGZXtsdh+xtYnY3wkTziOXM=; h=Subject:From:To:Date:In-Reply-To:References; b=G2HcLn33yr7cajJTztlV/nGqoP62NtAbDvwtPMDbvjaw4QA4J0o/ewyxXtmqGRwN8 n+Ymy+ntzIl4t19pD6CF0kw6d4MgHAK6vclpgxVCkQLpZ+hNCy//rQEG3O74SqDDdk 4SFOi+N/4FFO3PYDrTmQ73cB+3zoRq+VZXmNCIIny4oeyq98VvXby50M3aGqSnLu8U rixhVMMW0n9TA1Hl6hfNSzWM7dueNAgghSamyDt86NoyPZlOn0AJ75mAHvIAZYteQQ dURvaAHHveZm3PuKpJKqfFJNSgUEmDwXk45jfAlZXfTfB8/nKh7oAV4QnPzU3l+Bb2 L+pi6u5tMcL6A== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-XK9BRw2WZTb6WGNdzIyV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0 ;; Specification names the next fiels "dependencies", but in prac= tice it is typo: fiels -> fields? --=-XK9BRw2WZTb6WGNdzIyV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlFzuhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lBrAQCHGZ6zxN723ZYfpXcJqpwgGbdC 8pczVsRkMgU6yCqVrQD+N88+qnf/uWnm4gV3abeTMg0NxO66c3S6WOJ1vhmfCgE= =E945 -----END PGP SIGNATURE----- --=-XK9BRw2WZTb6WGNdzIyV-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:55:48 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:55:48 +0000 Received: from localhost ([127.0.0.1]:36875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9gv-0004PP-BM for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:55:48 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:34226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9gq-0004PD-Oh for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:55:44 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gbvf2700J1s0Pjw01bvfwE; Sat, 09 Apr 2022 13:55:39 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:55:39 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2GxKc0FgKEPql6YYYsYq" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505340; bh=wI9usZDKbKh/yWELYsVU5abTkN9AIKhPYMFawESUZbQ=; h=Subject:From:To:Date:In-Reply-To:References; b=X+BLMieBOSrupow3Y5s9JakFz4ZyZebE0PUCLspHIf5MZjn3SvzJzqlTN376ChMEY 9K7yfGdfTrpJ1+v2YjZP75nwAc0BhMWXxGSlzSVvIXxwdWlRBRkKNjL8ZeXePTfRMa ZtJol3b/TJ0iENBDcBTrNgvdoiziBkkSBOT9rv58QPXThMl6o7g2SNhw8sd05tds1y VFg4oSxv4K127ZX94uQ+iIcNCM5FWKlh+qOwHago3qOjNZSSpJElQJWlI3bhMInHsu BZ91ZsKBAySV2vIpxHUPFvOGpmErH5TaiZvuQmSRqVLSQFskKdLOj5UxPjYDDyfwrL TWNzBgo+9icDA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-2GxKc0FgKEPql6YYYsYq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +(define (maybe-inputs package-inputs input-type) > +=C2=A0 "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' f= ield of a > +package definition.=C2=A0 INPUT-TYPE, a symbol, is used to populate the = name of > +the input field." > +=C2=A0 (match package-inputs > +=C2=A0=C2=A0=C2=A0 (() > +=C2=A0=C2=A0=C2=A0=C2=A0 '()) > +=C2=A0=C2=A0=C2=A0 ((package-inputs ...) > +=C2=A0=C2=A0=C2=A0=C2=A0 `((,input-type (list ,@package-inputs)))))) This procedure 'maybe-inputs', or at least a similar procedure, already seems to exist in (guix import utils). Greetings, MAxime. --=-2GxKc0FgKEPql6YYYsYq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlF0OxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uQ4AP9eHEdcb5ooHnqf5VfhdsoLR/RZ JeHPapVztU+3qj6hyAD8DqEI+uXQEJJ94HBCExybdB65cIX1vaRmY/SFz0/B2wM= =rKHw -----END PGP SIGNATURE----- --=-2GxKc0FgKEPql6YYYsYq-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:56:12 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:56:12 +0000 Received: from localhost ([127.0.0.1]:36880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9hM-0004QW-Jr for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:56:12 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:39356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9hL-0004QO-C8 for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:56:12 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by baptiste.telenet-ops.be with bizsmtp id Gbw92700N1s0Pjw01bw93v; Sat, 09 Apr 2022 13:56:10 +0200 Message-ID: <718156ea9254b387e8711493600be3060b62cb32.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:56:09 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2ZjSlDXgFdLdZ4+MWBh2" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505370; bh=cpNRmmA+qPEKbT82v3yL8sKbOOEN+77KrPfftlTmW+w=; h=Subject:From:To:Date:In-Reply-To:References; b=Sl537DBmq9mK0JHi+gpsxP7HceU9eV+hj4FClNFsxeBx+OsMpSWgKmcJiRsiHSS/x AndVKgo4fkLfMkhXTvwXuMWMr4mp93ocrsSCM03HK5ZVjP7RqH50eFjx03v/HiSgEs Ae+e3uLZdEQWK/9Wai+MgHdYJz928I1FXlCwPHa4cRw9nFSL6ZSMIUgb5/Gcws1//Q xyru20PLfqHAYrPjaTco3tBMgdClbtY8ogQlBz0QtTi3tpcHNdOiq9L0aStJA+0Vb8 oCB7YiNPPcFKbIu1iuSPc3+Y5Gf2uZN9U0YckyoKDTqEn2vm2vSkRArUxrw42OjeY/ sVlrPmaFHVbdA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-2ZjSlDXgFdLdZ4+MWBh2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0 ;; TODO: Base name on languange of dependency. > +=C2=A0 ;; The languange used for implementing the depcendency is not kno= w without > +=C2=A0 ;; recursing the dependencies.=C2=A0 So for now assume more packa= ges are based on > +=C2=A0 ;; Erlang and prefix all dependencies with "erlang-" (the default= ). typos: depcendency, languange? --=-2ZjSlDXgFdLdZ4+MWBh2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlF0WRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nQXAP0UdeEiG9Pwy7ZHfDGlMa+iyeMc i3rk023s+5e7ytPpVwEAzVDnYsfI0h+ETxmVEC5V6cr8OHgFcr9JuW1/qE6QSwk= =3Uvc -----END PGP SIGNATURE----- --=-2ZjSlDXgFdLdZ4+MWBh2-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:58:48 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:58:48 +0000 Received: from localhost ([127.0.0.1]:36885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9js-0004U2-0C for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:58:48 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:42034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9jq-0004Tv-Q8 for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:58:47 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by baptiste.telenet-ops.be with bizsmtp id Gbyl270051s0Pjw01bylL4; Sat, 09 Apr 2022 13:58:46 +0200 Message-ID: <0b92cf95a7aa5482467a02937786cac52f507d14.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:58:45 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-omgcw8vhh98wW7VQanT/" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505526; bh=22INwY4liVVj+ZK/MAZl7NPrEvzAdmdgNBqyieTxFh0=; h=Subject:From:To:Date:In-Reply-To:References; b=g9xxn4aHEWtlGAcHmaFEatS5887oSK2MlVfnRUROsiYRogiAKtnxgetIkTTi6X8DS 6uJ7HgD/0R7w2Eg88DNwpeuLKt7s+tgSQLnkxuc6b+tFDZWKII8N+IFV5uOcg2BHXG VHLz8hVCysY7knx7l93vz34YK1Zy0tX0pik5TqWMU+kvBDpJ59KyWTXKHb6z+HO0sO I9M2b/EWY+MF+58sSJOFASifdN2+vDJLuO5ZETjntxiAyJIKw7LWomWN7JCPJlXZXh W+q0mNTj1nDJLCDf2LlfGD+YWKqFgJ6j8pp6a9Xe9rgiGhVwwrx6w0mNq/gbSfd5Yt AwSjkWBJEvAzg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-omgcw8vhh98wW7VQanT/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name ,(hexpm-name->pac= kage-name name language)) Would it possible to detect if a package is a library or a tool, and if it's the latter, drop the "erlang-" prefix automatically (and move propagated-inputs to inputs)? Greetings, Maxime. --=-omgcw8vhh98wW7VQanT/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlF09RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jDBAP4ilGrbwk8kE9eeyquaFCi8wnaL RR+Rat5Wfi0L531s+wD+MrIRRPXvC3HMXjzO2Loo1/TPdyTc0Mr+yXRT2Wddlg4= =ypvw -----END PGP SIGNATURE----- --=-omgcw8vhh98wW7VQanT/-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 07:59:39 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:59:39 +0000 Received: from localhost ([127.0.0.1]:36890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9kh-0004Ve-7k for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:59:39 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:42034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9kf-0004Tv-Bb for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:59:37 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by baptiste.telenet-ops.be with bizsmtp id Gbzc270021s0Pjw01bzcRR; Sat, 09 Apr 2022 13:59:36 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 13:59:35 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Hpjv/8rX2UrshxEYHIgw" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505576; bh=e6dPK4nXalHXIzFjBZ9FtuO59afbZ41ztbvPixqIu28=; h=Subject:From:To:Date:In-Reply-To:References; b=o28UxYxTrXXlFl8WgiVyBEmtrpJLYRFjODITV4haQIJ0l+RCbWevtsmcZ3+yWP8cF 5jgooBj47pGSKlxnDiWC1F7f3AlAkjW//FBYp5mYp6ejpa+dESUzYDk3TPZkzAsEy2 AElS4AEyqfBDKSkorVHZ2vtDeq/vEltjUCzOqU+BXwQR5du1AxztOesJF0d54U4sPR foQ/IoCut4Hjj1Kx3p+4t/cQEMUdo1oN+jX49FZfkk90YZVa+tevKydFBNNgwI9tG8 Qd1jmCRgXMpr2tQkYh2U0H+E0dCchH3EgptoX9jsVTFdqBhEQMzd2Jh9wDSP13Xtsm D8GLqvYlIPAeg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-Hpjv/8rX2UrshxEYHIgw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +=C2=A0=C2=A0 (lambda (temp port) > +=C2=A0=C2=A0=C2=A0=C2=A0 (and (url-fetch tarball-url temp) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (values > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(package WOuld 'alist->package' be useful here? Greetings, Maxime. --=-Hpjv/8rX2UrshxEYHIgw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlF1JxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hU4AQCLFK7gy+PuReBS16vnlw7tLuRu YfUGkF59nx3yjYgUggD+JEb36Q0QOfebhW6errcDPhEmwCj6cY3G5aJinoNX4QE= =IXxy -----END PGP SIGNATURE----- --=-Hpjv/8rX2UrshxEYHIgw-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 08:07:27 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 12:07:27 +0000 Received: from localhost ([127.0.0.1]:36918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9sF-0004kJ-IP for submit@debbugs.gnu.org; Sat, 09 Apr 2022 08:07:27 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:47286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9sD-0004kA-BA for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 08:07:26 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gc7P2700K1s0Pjw01c7Qcs; Sat, 09 Apr 2022 14:07:24 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 14:07:23 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+yKHT9TrVWH8/wJXFiSf" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649506044; bh=8gu7sS9O2xzyZs89fP+7GT1JLXK11zUUbTb7vsgJn0I=; h=Subject:From:To:Date:In-Reply-To:References; b=bL5s4hVKdmZNUf7tx6kGsVUwvSVyNNBkHH9dBYWuEt4iBKkQfo3yxWSrbzYaPkwTE nyeugVn2opt1W1PFeLJI4j2pF+vF7fr93hvhVqqHTwpSaJC900lGDJd56hXL8iQ4yH Lk2zYhrdQECWTzIuSnTVPKwt9AJaMOiHTAgx9k5E/f/LA8lX1EraLgZI75fJ0GHKxl sn/qpmyfl2sMhr5FNJjtWQPhbxvcLKPwoObCkvBJghijWsD0qoUE+Xhq/rVaa1k+lw 2VahDmYfNdNlRdmCdVK50OSzxlSrh31Dz/NERX4VVh0WqrGWQ1gmfds8GTXo0dKI// WMwkUMqvAGJNQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-+yKHT9TrVWH8/wJXFiSf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 SGFydG11dCBHb2ViZWwgc2NocmVlZiBvcCB2ciAwOC0wNC0yMDIyIG9tIDE5OjAzIFsrMDIwMF06 Cj4gKyh0ZXN0LWFzc2VydCAiaGV4cG0tPmd1aXgtcGFja2FnZSIKPiArwqAgOzsgUmVwbGFjZSBu ZXR3b3JrIHJlc291cmNlcyB3aXRoIHNhbXBsZSBkYXRhLgo+ICvCoCAobW9jayAoKGd1aXggaHR0 cC1jbGllbnQpIGh0dHAtZmV0Y2gKPiArwqDCoMKgwqDCoMKgwqDCoCAobGFtYmRhICh1cmwgLiBy ZXN0KQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoCAobWF0Y2ggdXJsCj4gK8KgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoCAoImh0dHBzOi8vaGV4LnBtL2FwaS9wYWNrYWdlcy9ibGEiCj4gK8KgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgICh2YWx1ZXMgKG9wZW4taW5wdXQtc3RyaW5nIHRlc3QtYmxhLXBh Y2thZ2UpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoc3Ry aW5nLWxlbmd0aCB0ZXN0LWJsYS1wYWNrYWdlKSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCAoImh0dHBzOi8vaGV4LnBtL2FwaS9wYWNrYWdlcy9ibGEvcmVsZWFzZXMvMS41LjAiCj4gK8Kg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh2YWx1ZXMgKG9wZW4taW5wdXQtc3RyaW5nIHRlc3Qt YmxhLXJlbGVhc2UpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCAoc3RyaW5nLWxlbmd0aCB0ZXN0LWJsYS1yZWxlYXNlKSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoCAoXyAoZXJyb3IgImh0dHAtZmV0Y2ggZ290IHVuZXhwZWN0ZWQgVVJMOiAiIHVybCkp KSkpCgpGcm9tIHdoYXQgSSd2ZSBnYXRoZXJlZCwgd2l0aC1odHRwLXNlcnZlciBhbmQgdGhlIGxp a2UgaXMgcHJlZmVycmVkCmFib3ZlIG1vY2tpbmcsIHRob3VnaCB3aXRoLWh0dHAtc2VydmVyIG1p Z2h0IG5lZWQgdG8gYmUgZXh0ZW5kZWQgZmlyc3QKdG8gYWxsb3cgY2hlY2tpbmcgdGhlIFVSTCAo c2VlIDxodHRwczovL2lzc3Vlcy5ndWl4LmdudS5vcmcvNTMzODk+KS4KCkdyZWV0aW5ncywKTWF4 aW1lLgo= --=-+yKHT9TrVWH8/wJXFiSf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlF2+xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rKLAP9p0LLdPGS6nBGpW5jyWcap9l8+ Mkd/+uq/HQVMc+mAygEA+j/t40CcXyg0bEwwf/7+P1uSy/tZ+yg7mUlcLbX1dgc= =O+tc -----END PGP SIGNATURE----- --=-+yKHT9TrVWH8/wJXFiSf-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 09:16:30 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 13:16:30 +0000 Received: from localhost ([127.0.0.1]:36979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndAx4-0000Ba-5f for submit@debbugs.gnu.org; Sat, 09 Apr 2022 09:16:30 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:37324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndAx2-0000BQ-Bh for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 09:16:29 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id GdGR270091s0Pjw01dGSy8; Sat, 09 Apr 2022 15:16:26 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 15:16:20 +0200 In-Reply-To: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Wf3dYsQgvpwCSZnOw2+1" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649510186; bh=4FUb+OUKt8Rfa+L6epLh6D4+ZIR6JUGmedpmv7WWUmA=; h=Subject:From:To:Date:In-Reply-To:References; b=G+rJFB+NwpoKQueBCoynEbPwgHKfmiX4crbLwwXdrox0+ZPAi1hRkMCam1+InWeEH nyxjw3Ypo/JcCPdnO093jKax58bUwDS42sbdqz8swRsIlrHydhQjs4msuKt0Do+gTG 0Mbw9V/Laayt8L694mDbClFyG1V9yZqCH+14Ajcgp//korbglJ2UQBUILEOrEy3FJY 1n7cbquc597k6XG8VGTUE2RGiluzGxP0jd2yBDL74NPsVvg+3IbdsQ+Ssn0J+gzkHw svC46w213ar9onGLwSF1OpSxZlu0kglGpZDZcShuEZxMGt/GSgmXr2XPntv2BDfRme LptXlbYzJSoIg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-Wf3dYsQgvpwCSZnOw2+1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New f= iles. This patch seems out-of-order. Wouldn't rebar3-build-system need to be added before packages using rebar3-build-system? Greetings, Maxime. --=-Wf3dYsQgvpwCSZnOw2+1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlGHJBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kH2AQDdNn3Q7lGdlxQRveIBEoqpxhGb 1EvQ44/sj1JPvSY1RAEA3EtXNVmnCtVHd1ypGwPNGfWnEpi2U9YwOwzENFnWWAo= =JsDL -----END PGP SIGNATURE----- --=-Wf3dYsQgvpwCSZnOw2+1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 09:19:28 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 13:19:28 +0000 Received: from localhost ([127.0.0.1]:36984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndAzw-0000Fl-IS for submit@debbugs.gnu.org; Sat, 09 Apr 2022 09:19:28 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:40518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndAzv-0000Fd-0e for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 09:19:27 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id GdKR2700L1s0Pjw01dKSRT; Sat, 09 Apr 2022 15:19:26 +0200 Message-ID: <13d5d93be4c0091b2b49586f97b9ce5c1a41a559.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 15:19:25 +0200 In-Reply-To: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-43sQdlmB/MahvnExR77h" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649510366; bh=CK+Iu3MF8kEgJxaFG+FK3J8N4O0McKSzMCk7bOnAcPs=; h=Subject:From:To:Date:In-Reply-To:References; b=gGWS41yRQwABIAaEcVDf7OwVS55roTbstye65TMnKqzRQKHP0VkMlQQTozniB0jTr YI9PqLWz/K72H60dThihyg0kQAYuhNip3ommY+y4BZ3Djj1yXZref/VKk/la9ZVM1q A/FL4Qc9ZJd/o1rxzi2IrJ7goO+/T4HvYkPpBObBDKmqexTPRZb9W4eveML8KUNmfm CuDGQG4WRtd38P+vSb3hd+qipm/ZEm0JTEpVU2vRzyMylYRcVZ882YASCHkzHmwElS XwvC8a+cQUfbuvvjnARfN7HPFypeNdEIPKq3JCnloPVKdOE6wShNeCo3U7wRh/TmgD rlDQbM8zKqGfQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-43sQdlmB/MahvnExR77h Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 SGFydG11dCBHb2ViZWwgc2NocmVlZiBvcCB2ciAwOC0wNC0yMDIyIG9tIDE5OjAzIFsrMDIwMF06 Cj4gK8KgwqDCoMKgwqDCoMKgwqAgKHN5c3RlbSBzeXN0ZW0pCj4gK8KgwqDCoMKgwqDCoMKgwqAg KGhvc3QtaW5wdXRzIGAoLEAoaWYgc291cmNlCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgYCgoInNvdXJjZSIgLHNvdXJjZSkpCj4g K8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgJygpKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg ICxAaW5wdXRzCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCA7OyBLZWVwIHRoZSBzdGFuZGFyZCBpbnB1dHMgb2YgJ2dudS1idWlsZC1zeXN0ZW0nLgo+ ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgLEAoc3Rh bmRhcmQtcGFja2FnZXMpKSkKCihzdGFuZGFyZC1wYWNrYWdlcykgbmVlZHMgdG8gYmUgaW4gJ2J1 aWxkLWlucHV0cycsIGF0IGxlYXN0IGFjY29yZGluZwp0byAnbG93ZXInIGluIChndWl4IGJ1aWxk LXN5c3RlbSBnbnUpLgoKPiArwqDCoMKgwqDCoMKgwqDCoCAoYnVpbGQtaW5wdXRzIGAoKCJyZWJh ciIgLHJlYmFyKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqAgKCJlcmxhbmciICxlcmxhbmcpIDs7IGZvciBlc2NyaXB0aXplCj4gK8KgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAsQG5hdGl2ZS1pbnB1dHMpKQoK R3JlZXRpbmdzLApNYXhpbWUuCg== --=-43sQdlmB/MahvnExR77h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlGH3RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j0aAP9n0QXe3FdGJ27/CkmlMTxhkzXc iumZ4XmtAPYzbiPbvwEA+TleuFl95iJjXuxtO1Pd3toJed7v6zcT72Cm+zGlkQE= =bDK0 -----END PGP SIGNATURE----- --=-43sQdlmB/MahvnExR77h-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:18:32 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:18:32 +0000 Received: from localhost ([127.0.0.1]:38467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndCrA-0003Yo-16 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:18:32 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:48137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndCr8-0003Yb-6W for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:18:30 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mnac7-1oLrKM182H-00jYat; Sat, 09 Apr 2022 17:18:23 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id EAED25FB16; Sat, 9 Apr 2022 17:18:29 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------CuORxgR2rgF0JflvgLLfQ5mx" Message-ID: <8b42b066-913b-ef42-e126-93a3fbc02abb@crazy-compilers.com> Date: Sat, 9 Apr 2022 17:18:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: X-Provags-ID: V03:K1:AMEizYAx/zD2iRaikIfG5LfNb9ilor8DbvW6QHUwZUU0t8QO6Zv xndnUBmBJOBmLz45yyDH5I23iZxYpsXdC5UJuanN/04K96oE3sLiGiSlQ2Xyfoh420pf89B XHWC24zcVv1a/M4NAfbPVn9Z5tTkz2ZJNM5gk8pBQFnlKOSfGaldcReowzNURlsIQ2r/xLG WHcMaVaZ5z9BsuvnwRIYg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:w3ExJxh0xNw=:EcREUS/8/+G4hj9/q+voZx +cCtXzT6U/va53UtuSkxkryeMlcTyG5Dy5HlYARZeRyp4CuOZQR9ZJKNQdQhFfNb3KnJA6utA GosYDu8mR/SbeO/ABbPH3SgZZbnTJLu3rq+IM+Me/ATirhTP8pcJ6kvDfvD8u70384alKC6r7 y4XI6/mUbi+3cbe57xxtgA3hFXlfJTbdMy1uRAu91uTB8Fr+vJUitgo23HaMCcMrO29tprXkj RsW5yiadnepmNFE+PWgy1WvYRgjA5w8UkLNLTJWRp5PEpbgWeTGdzuQWanbyU32tMyUlwdLbw mzkaG/lajd8mWml2j8YvTO8MyrdX661LnCPjK6SNjO/JxYKcptuiqEHi59kV0HqBfMqqGspB0 /OjtF5n1giOYLtJ8WDuRC9X2UcUfvPqV5pc45n0Zq/gk0O7z+FAwUvcNgpWPAGe9ds0IjvThp tFM9Xvp8zj4r65yh39VoLKu79TgOh9T10XTVAzatihakHbcFYFytwEUT6Uer1bJwRhdxanqzd rdHZV2Vme6sd4XQteLMjLGdXc+RYmpW5/cK++kgf6YsVqwobdzCnO9cYUToOO3pygdDgpIDmw bzCLzQ2+teArhYehnLzY8GuBFRexUW7MEBrQu21OGucHcPmZJwl6ApIDhJtRpdm6meX8anyYd 4AL/ouM8EYJRnLUVQTVQ+ih9CXbmVg96xKPK70qwQpKiJNgdHFzoY88Q0hXbxpF9Di+mQwImM fp0E4gGU82OYK+Gc X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------CuORxgR2rgF0JflvgLLfQ5mx Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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. -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------CuORxgR2rgF0JflvgLLfQ5mx Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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.
-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------CuORxgR2rgF0JflvgLLfQ5mx-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:19:59 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:19:59 +0000 Received: from localhost ([127.0.0.1]:38475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndCsZ-0003b7-K3 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:19:59 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:49625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndCsX-0003ar-Ua for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:19:58 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MowX2-1oKVS52Lxm-00qRUO; Sat, 09 Apr 2022 17:19:51 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 15ED25FB16; Sat, 9 Apr 2022 17:19:58 +0200 (CEST) Message-ID: Date: Sat, 9 Apr 2022 17:19:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 10/22] gnu: Add erlang-parse-trans. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <02b2a5809c945daae97889d7e0469ce9cc74a2fe.1649436566.git.h.goebel@crazy-compilers.com> <88f4ccef42aff62bb7763c8ff6212fd15be4037c.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <88f4ccef42aff62bb7763c8ff6212fd15be4037c.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:A9flZjbELVLGr2Wklb3RwyfDpbOhZCvS1akncpG/EzgWua1ehvB pC9Y2oko72B8moZzOcvYNHErMYlkSnRjcGJSuLp8DABuVXwfIdQc++3OGSOC+Mgu8RmvcxT 8pn86meWZVv+bj2ikQngROPt/rs6YADmzLJYG1TMo5oOjFyoMkMzslyl4PA5KTlKhWC8BkQ 4Ket5DPpYE88/EPyTXtgg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Jayt/43KxB0=:BX5lOBJFMQBpPZI+db1OnG jbm0INJV0jWAUnuk3wCoXFqIEMS2cudL0YxBZD77/0M7zp535SU2NE6+NpCbxgyHTZuc4pDKr T07qA3kfv2rt9Cz8d5cpjwCkyZKymEjhZ6MVaUKtAm7njIgUP5svvYXWiMV8y80rGz269xwpN O2x95PujauHX2HOu03qha4Q1lJNR4rHcYDtkIaHchrJJReLeVieHtC2xFrNcsCsWBABhyVmWA +onukmgc3ANhmJCx1izrJec7RlxaDZEJ72avl6iYegrMvnPcy4E96S3o41O2k7M/tVT9UOaLD gCSBsjWc+JRhvJ54lyWc5B9WIZUcfgBvwqbWBsDFyW4OH4gEcD7OKjpYZtJLURJ+VF6RE0Dkl vBXYP1SSKDJMa0uB/mXjYnwkn0jCBvV9z2vLMvltnRDyBBxfOSHB89jkn+5Y0Vh1Vfmffl61A xwi5T4KiGLgVZRWRi3x1nWA55gXaz4Ytvt8dofZEJYlXGevad9mJJOloA/NvVRePOhk/QrotT OCPvF6m1nfkRLdXTlJb4CfNevp0n4Hg1WkJC9JMK0Gc511H4to2mQTbygXgFG5wjYNX6at0Hc 2a/BYjEWiRQ6FuJQDewPgOh5iA8NuSANQJla70VTt6OYauK8OPOKPPmEKLihVXHGPYHwpCs8E FNxyGVCaMiGUcDQkm3cf6OCqGWAkDm2BLDcFOtuW5f72ATMaX1E7lVgwh4HhvJuxPmWQ11uex i8tU0pfaPwRmnTHC X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:41 schrieb Maxime Devos: > This description is a bit parse, ‘(guix)Synopses and Descriptions’ > recommends longer descriptions. I added a more verbose description based on the projects readme. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:32:44 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:32:44 +0000 Received: from localhost ([127.0.0.1]:38509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndD4t-0003xh-Rl for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:32:44 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:47319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndD4n-0003xQ-Ly for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:32:42 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MCsHm-1nlyW43Xe4-008qSs; Sat, 09 Apr 2022 17:32:28 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id B36CB5FB16; Sat, 9 Apr 2022 17:32:35 +0200 (CEST) Message-ID: <3db85a93-09ad-1e66-795e-b63d5ef1f30b@crazy-compilers.com> Date: Sat, 9 Apr 2022 17:32:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> <62d3d45e3ef8ce6e59faf89ad11fd490e63b9c41.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <62d3d45e3ef8ce6e59faf89ad11fd490e63b9c41.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:52HvUDolGG0WGUHiVGJPc3IMRSMD69C4y5goKyWmRn9XWDV0ZBo 3fCnYRZAnbCIXQ+eLU8Tz8CQyhNenOG76RWNLIixbRTRvZ8iWeOUVd+pEij7E+6kBaE71ND HPA6cPUZpw27/bSPdkz6Tflu1b/FiBSxgUM0y0OBdckaAhVUYKWAPw+gjXGtZcUH5cLpchH lLFSJXhSgshOWLFpnUl1g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kimQWB2RsFE=:ANDBiVcmV+934lUoVshSzq 1iuEXJmlOON0br0OUIblXBiBCev/3mo64d/rhkVVfujP3IZbXwpgmYu27BHm+xJcHrf6vFfV7 o5UUhAEBiMbQo3aCXiuIth7d5LYSs6wbu8sDkOr6e0C7eLH+VPX2NnS08zMy3U6v2r5yI3e2o HS4CpTEsVH15dYeeRSPCeisM9zvMjxhkBTU0Zakt0aGYid2tuDOfjyRSMNDRTXB3vizibniqx oUd2hYd8NEjAzRcX2558eOKkznIa7NNf3fP/jQsvqy1Swt77qD4A/sou/xDqtINf4XgnBaKKj 5KHsKsde1bWKg7zRYTxLZO8f54CChLNYBgvRu4+Xvb6rglITeGANuTXh8bGrRbKlxS7JsmDAz HyF48U6fI733UQJzeYf6EB0lpmxO41vpKnJTrju1vRZO0W1Imf8dwDG3JnV4UDGIgCFEViZRJ WN4k+OrhPfIGu+tIXibNiCkah9IVQ3d10dxt32ozMt3maO5bumOgNTQs0AaPeIvikZa4bNJOU PY9CUlYJhrRsFLyT21Pf+vfovvJDZWH3JmHoHE6XSF8yuITUteoDWyUH/w4n2BrIH7DfcIPQN oGxYPcQsI0/q7zV6cp6Nv6O/sTsVWQO9BPpG7IAkvcu5AIlCo38H+w4/6lL6EbtWsJVtpYGNp 7iGQZO7cmRNf0yDBtPLHjGYnncS+/EwRJH0338xv1gfLIkRtDKQaE2En1AskzI6YRRajy4bGV iFcz5V1RYEjyu1wS X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:33:19 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:33:19 +0000 Received: from localhost ([127.0.0.1]:38513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndD5T-0003yt-4F for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:33:19 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:37713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndD5R-0003ye-D7 for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:33:17 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MXY6b-1nTddp36dD-00Z38t; Sat, 09 Apr 2022 17:33:10 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E9FDE5FB16; Sat, 9 Apr 2022 17:33:17 +0200 (CEST) Message-ID: Date: Sat, 9 Apr 2022 17:33:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 04/22] gnu: Add erlang-erlware-commons. Content-Language: de-DE To: Maxime Devos , 54796@debbugs.gnu.org References: <3d46f7da1d14db0cbab7ae275b4807bcae3b94ab.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:mmAF1NYE1jW4+gJ8DxL8qZ+WgtEMkY86SEwKa6Kt8kdfF78sW/1 ITEZS97pg4ecugZMAGNrkqtc7+/U/dLp62kZhsMTz8i97AzPqdpWczocnOHGRlgDHnBovHu +HoCjvPi/sgLgaFpYZtrbp4iZLm2aJW+lumgNtZwod4Ax5Rr+rUb3HIo+FTLtKjySs58TYp AUkRhqe/6UWQY3I2Hxz4A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:28HfKqy09qU=:rBAs4M2cux6bcS45MUbyBe YSnNjFNdNO9bijxKLX6u71Yw0Jbg8PXYxVYs2Dj17LKq9cEF8hfcMg+ZKNlgKdFyE2yZt8F1v vN2AOcORere91pRivPfEw3TXipKNnK/J+DlzPF0xg7BHpLOx/pmqx1Se9ZPsi5JrpCN0m2JoT EQ6J6/GJRcwtF/DQO6kM+BkwtNa6yJmwUYnk0OhgyfWGkWO6pwPt+qoZfeHZZUZFC8thwTjbd tFnhqj9FDQ2s92BVWcCBSZRf1Hd4PrfuhWSvwQWDjH9seV2RVlyKmPADZKQKmTBaxFvO8ARUf 5VIqqmfcB4m4Ja622D84UoWg4AJubTw+tTtL6EeT6IV8cx8URm+c/2YPVPJqbO0TENJ22BQVV OGvjEW9DLMOGNHzH30WpaRuHxgEFh3/8dc2XsIfjNeopYACw5t57dqkpIASqXZQqqY6VHTqcs j4HzEyIe1SLdW6JZjiFvjs2W4vpNmRxmyymZc8lEjAD+Ek6dziZAO22tluv05OfaJrJnlQ6jC U0pAppO4dEKi8ULsJ3/A6NizW4bZ6fOhmaSWaFsiuv3jGmxrvq4ro3KhhKi9h52BMXjd2XkOG GPmdX6YojozJ1x+oeGKd6iuGuKyuB+kVk4wEbqhiz6jzXgN3KWZpaUEaoJZCVBDEFDf77YW8I gZ1wfImoDkqslecV1cI4aBOeqS9yDoGR2mhhMaPo7vsK8xZjHYAsf+6v+CPY8dZVy2+DqiSAE DUTQmGVoZbBZ9ydc X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 12:58 schrieb Maxime Devos: > Maybe git-minimal/fixed, to avoid rebuilds if 'git' is updated. Done. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:41:06 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:41:06 +0000 Received: from localhost ([127.0.0.1]:38517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDCz-00049q-TI for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:41:06 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:33617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDCx-00049E-Ru for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:41:04 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MJFpj-1nO9KM2F0V-00Kd8m; Sat, 09 Apr 2022 17:40:57 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7EB405FB16; Sat, 9 Apr 2022 17:41:04 +0200 (CEST) Message-ID: Date: Sat, 9 Apr 2022 17:40:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 17/22] gnu: Add erlang-covertool. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com> <1608ff50be88f8f2a33301aaee0407343233f089.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <1608ff50be88f8f2a33301aaee0407343233f089.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ya6AdsREd7v5kmGbg0ZCgKdOhcZN+QuQwCcv7LqHw1aWBaLWZNR OlGHQh31TjyxXU/umGYbr95KQ+4W6BWgk7YUSpclnYgGMc+BLaVAfBdD4lOuvRfuOSqqOIy JH2vD7LejkoSaJXuMuL2PvRNkPUGKSqwly8x5wk/4dma8XpkRipJJCyqnFAaauHE1osgglT nzmKCE1vM/9GCt5umMKXQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:pBj2vW8Zjgc=:2hdSKBDVd0dgjVbyxyXQWY 3QZ4R5H4z3iJJSJYGmMj2vDqpLKWpV97iuLAVieGpPlQ3ss3F7/zLaH76HVE3VZu18YAJPuxV 7aT5BVpVzqMxJdVe4zRXosV+GYrK3NJFP6MUQY0R0mhuwGSLb1Pxtl/Ko1hvm8iDJnkacK08Q q0YVyULtV28FtKNa+Lt7qAtwwO/nFHLEkO1wCMpvwWskan17i9w3IEKj7a/Hh8LmKNFhZlGiX Qi9I+BTcNs8aYYH6RTa1KS7FWKvmwrUTdPHaUnRClqLaBKfxTtTGkg5k4jrsHT7ZRIhY6LiBu WwkfY703oF9XoRSm+rha25ZkvvWcXBm2rMUhz0oAsVf03bwvrhjGIMu6Gsdp0Ycr1Umf9FQm0 YqI15jl1v24aD5RAdNuvylzBWdwZim5GAhEyjvw8K4OmoIHjIgjreU73QMmzvkwOZCBuO6n12 2g3jzKRUMuVrkNNYnv2Zi+Bh0hMKG+JiEsuQIvsxAIFjNdy6dKB9G/BICs2LT0/OkSgzNB4U1 rFBb9U4ilWI1+adNqRuvgsaQL7YpBQsN0nlv9/ERP/cAzI+zi1kXdHVmTWBHKFoMbVbydd5XW NOL6uZ2xruLgIlxNTOJ/raho7PAjoaUA3u3B+j0JX+Cv9rOZHWXKDpH1q2Mo9mGRO4G2tOx3R NX8hLoluvQBBU5DkBr0LD3n6K18YBb+2qijXZzpu0OjLwNlIf3QK4KEvnc0YkdbbOR2w7SgZv W2dqxuib3r6hHHoW X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:48 schrieb Maxime Devos: > What is ‘cover data’? Rephrased into „Convert Erlang code-coverage data generated by @code{cover} into Cobertura XML reports“ -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 11:50:34 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 15:50:34 +0000 Received: from localhost ([127.0.0.1]:38525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDMA-0004QR-61 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 11:50:34 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:52421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDM8-0004QE-NF for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 11:50:33 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MdNoW-1oCH7i0l7I-00ZRMZ; Sat, 09 Apr 2022 17:50:26 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3D57B5FB16; Sat, 9 Apr 2022 17:50:33 +0200 (CEST) Message-ID: Date: Sat, 9 Apr 2022 17:50:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 19/22] gnu: Add rebar3-raw-deps. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <38f49c05eda35a1c0492583bd3a8fcc1e1cdf21f.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:su2Bc57d5SGAymjM1B/u2mhpeSFN++sjIPFyxCA8UZbNJzbrcsp SW+XTInGIVV/I1hM0TMb48hBOTunp5H/lJd9OYh2oBfGC1ZZLhUdh/tOrjX1EZXtJ4LWXJ2 e52f+V1jKTawsNUyOVJLBuEhez6g39YZ4EiV+JGmNHMk0tmG04OUZl52j/7IyFKlpG44W0L fmmbLeXxYYiWNjSmJSecw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nuhZlT78Kig=:uqw45T2UNDj2LhPM75xteZ 4SooXbC9Ar0iK873OsKqd7vdcTF8FMCv1peIqhG3c2pJppCa1n5wR0YaY5VtGmY7ekBYHqx1S 88DmD2JEyx/Mx3TIUoD5/gTC7M9RcVq0n/0dCUZBEUi0PKr4k/EOJG05rAnuVggUNZqaUo/ic mraglpGbozXigmiZYOfNApdulL/1ylRNfQwkEDC41I5t/FXcqh8QTte8Izvd6VC6cY2o62jOt OSiLlNslq/PefVCHP0eODlTviIAwRxrA1o2oQQutrSfUFV5fJfILfz+l3P65rhcKm1I/SIOdm G4ttMnVjKOtURNhW5Btvwvf7+p01Si7OyQDNBpS6raGjTt1ZLNBdIl5QRaRYT/Chu4k+Y6/vw unlp2qXs9oLUrhhrw8imc9seF+gL8CMufvyI/gxhd3RjsrL9EzZ5t8zebKdWcITgvqrEimo6y 07JC3XPn5iZ1CwusefzDrPzGWprgMRz4TB9D3iaC1kXwO2EBbpAsHYmpat/bhSSDfDqSRtZz2 EzkcV6bEOvhLAJaqZ8JG7qh/CTv3DH0Zyyt8q/0cGOKt1B9av7A+el1yHnOD0bMH/dy9+cCPM z3+lNu00DY/4d8FirAWP1o7wINog/KMWTjP/b9TbjkqaXJsOJwCKOzPo+eXLGA1OEuwnxim7G s5jJ9O84gMySiheq7BdTiyWiZkcBrxHgyOpuaKC1TihoEf7dYkCamPrpOFOueQd4yLdlGyRp+ Tn9WQrXb9lTw+rAM X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:49 schrieb Maxime Devos: > The synopsis and description are practically identical here. What is a > ‘raw’ depency? How does someone know if "raw" dependencies might be > useful for their purposes? „raw deps” are non-OTP applications. Rephrased into „This plugin provides support for handling non-OTP applications as a dependent libraries“. (That's all I can tell based on the Readme and from trying to understand the code.) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:02:02 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 16:02:02 +0000 Received: from localhost ([127.0.0.1]:38539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDXF-0004iz-Os for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:02:02 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:58857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDXD-0004ij-Gh for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 12:02:00 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MYeV1-1nQLT92d3j-00Vgpf; Sat, 09 Apr 2022 18:01:52 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id DFE4B5FB16; Sat, 9 Apr 2022 18:01:59 +0200 (CEST) Message-ID: <68ce2d00-65a8-35d9-ae94-63de6fe36502@crazy-compilers.com> Date: Sat, 9 Apr 2022 18:01:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> <0b92cf95a7aa5482467a02937786cac52f507d14.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <0b92cf95a7aa5482467a02937786cac52f507d14.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:IaMhxF2pGODUh9Sran6vxBp0UQRFG/5Kmyytj2MxlkcgLD5yuNU T7V/sMnZ6vR3NmNSXS8E6a1Yyt1U/CQBT80UyADLr+be98JU91PniVBD5m6JsUwsealPExE oUY6IhWbTh1otTkPGHEOUGzhCrX0YV//vWWea9ueajLPvLZXufHdUToA5dE2YJqb2xvHTUW JBZSLd7z9VyrhmJkcV4lg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ZjXhu4wpB0U=:zA/JNHDUerHsoG5zx36U7A SqCsfNiMaOX/aIRtB/tTN64JP3I5rX09P9u6ttdvr424cC9RYs7MsxNRJY8u0EhDRNUanfRn2 g7WoOsG3iANelTiCIczSaxKduo4l4++ocOv24Jxicx3dO2ZBdtbc+W1IV7HcCGX+KP9yI7g2s /ndfk+5rYvSSAu82cmiIZMDpp7H5awZGMT+zhoJbnpccPm0Y+fEXt+37Jz8/hIw0ukIZScmdL 1O63kcD0LAHqe1/koe2r395biBnie0n8v7uuMk/SLEWfVr3DrssrgOz1DngDdSkf2L0Fi5AFp 0nfGiOcFZlMQ/RER4daGhYyFVteR6FNol/UBrbmbUqS6XCe54QaprIfxXwuqKf14RvaGeXss7 A61KVqYBr2ZuU4ouQb7MUPS8fal91WuO4Tm9CY4m9wDpMtzXIX7Mj0G5TeAoRoGJtlTyq8z/a ZYE0APO4UJPaaoa9GACPHBOWR9WVbd9wv4bFgb3+cjsmCsntHgjCG4F9hpcXyJ2n6fzJYS95k gQOZqk8Ikv+6e59u7ZnTNEnrOZ61IGK88zKWt92J5x40D4kf054rperC1oW/geP8zzF8TkYbD Gu9SFNzYXNnflRxkxGBtLNfjg93LNmpH6Mr0Dm6RADl0wzbJ97OuXCOMsbBTyqmR4HV8QaCBa Ecw9VziJnvS7lGAYK7BIK1c3UP3mFtJWfMiYUBunrwem/7a86PdNqnkDV9rsPJto+BNHlfhgB oylrRTSHvETBhz9k X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:58 schrieb Maxime Devos: > Would it possible to detect if a package is a library or a tool, and if > it's the latter, drop the "erlang-" prefix automatically (and move > propagated-inputs to inputs)? Good idea! This would indeed be cool and supportive for the packager. Anyhow, AFAIK the meta-data does not provide such information. (Just double-checked with https://hex.pm/api/packages/ejabberd and one of the releases there.) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:04:17 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 16:04:17 +0000 Received: from localhost ([127.0.0.1]:38549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDZR-0004mt-DF for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:04:17 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:33781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDZP-0004me-5q for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 12:04:16 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MTAJl-1nY0sZ3GHf-00UdPD; Sat, 09 Apr 2022 18:04:08 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0D97E5FB16; Sat, 9 Apr 2022 18:04:16 +0200 (CEST) Message-ID: Date: Sat, 9 Apr 2022 18:04:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:B8U0OpT0klRSjiOWxIFYH9lP+fDgQSzzRRda9TFEPT87T9hMCz5 WqCN3FIEkTZifgo5roLi7lDWH9BeP4JMiErKwITwp0xsicnafyHm9dFHCeeGUrDc146KjxI bBAvS8VQA+uM67Mr/QEYhDNzFpueD3six04B/d8+hemakG7d+Z620nKfPQH8jPPIQu7gjED g1oEk1jYBDRpHBLzXDJ2A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7jLHEDm9kqY=:+ZxU9Rd8rYW8B2Atu6Y9Y9 P1Y/Ilemb03qv8bucJuJniqXYTqM9CkuvsJfqnShrD8kSx18fzOIxXknJgbrxBGYN+o0eAxKb 8POLjYOwK6L1TnEqUnvxE6ALgjTO4N9q6E1hf49MnIuZTvZQBq6naHDGK+YVXtMknJKlz7oLi Zk8wBxKeZ3xUdsZOOZ5NmoTs4kihNgEdnMjy+fd2v0B60qm7zmvBH3KMmeoDJK6CZRXU7Bvs/ SIbliGIHaSGnkl39xbEtgbgs3aGFvKZ+zmxQAfvjb8qQPXEKXkwU5va8uZ1dLD6IAZqghuR/S V0TPjMYKIvw/Cn8SgQ7DZL1mpS692b4+Am12Uv93wXIKE9aqpz/SnGUu2Iwd9XxxNInqmZgVd xS2MFZL4iE/YxBiOOb2GbO6uYMYNnC3dq56HM3AVhR9ml8bIC0/qmTjlyMOhgMwlzDQBGSHhJ 6LUzGuchXUqT2YexQZd1QhggmbYcUzPAYxKtBbOnU9oM7tZq1rchEDDHTox20vfoKMgyW2QCS f07CxNy/HC5skzcU73ey9BHxpTEKro+qOLKJmolvY8Deu/lVUcoIcDaN+uI9M8BAxrPiano7H YkHJkYb3+HGnbs8GFgsBHgLct6OczAH/t7bBk+jhyF3bXbSnAr44ofF5C7BcsuABHi+QDklTL 600zQ+jZI5+XShbj+NvHiG9RjZETiBBWqmtzsUHI18anaRojuZ1FzTbgkBtjmpaJhs74JcWpm w4BZL7+6faVHhz6K X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 15:16 schrieb Maxime Devos: > This patch seems out-of-order. Wouldn't rebar3-build-system need to be > added before packages using rebar3-build-system? However you like. Just tell me. Since the rebar3 build-system requires rebar3, any way round results in a hen-and-egg-problem. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:29:08 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 16:29:08 +0000 Received: from localhost ([127.0.0.1]:38589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDxU-0005OZ-M1 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:29:08 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:47079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDxT-0005O8-DR for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 12:29:08 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mv2tE-1nukqD0PUO-00qwds; Sat, 09 Apr 2022 18:29:01 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id A5C085FB16; Sat, 9 Apr 2022 18:29:08 +0200 (CEST) Message-ID: <81040c10-21ed-8b91-2785-1df21f232872@crazy-compilers.com> Date: Sat, 9 Apr 2022 18:28:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> <13d5d93be4c0091b2b49586f97b9ce5c1a41a559.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <13d5d93be4c0091b2b49586f97b9ce5c1a41a559.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:jJH/xC8ON0+UsUrodZJj7s69jXA/7muuaXZLOcnUs8qIBX2wTXp Wr5LGMmc8lIfaMGOTq9iWbE78TxecmkhTA1/le0M+Edl3s328rYoejw67MccnHk7NZwFjf6 8foCJ0zI9cix+yqRmbXG319XAoE0eg9jxKAU6lSsjBza7zIcNbIEY0oTSVnWDRAK/+HOmlU AZoQKDRu/AHzIOKiZRo8w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rdaw2eJU04c=:+bdPbjkN5vHu0nkJvwPcDy YDGmRAzptvQBXRRC2T3kIZ1mGlST0H7yxVKJ1usJatuAMeVps56iumiyBHjwawjUf9dTRwsoF Y/WXXFtQqZQrCjQ98D0oEnQuVurqy1ys1OOwS6zSxF+v6F/dkHS8ot5Gq0ppca5pi6+TGwxLP UwuIYeyZGdlC/ado6pty/CAwvehBIv17g0OijDAY+adnpTQa3S3wwxg79KTZ2goXAXz1yPpus rWKL1SOaqLKH9hBMJ1JZUqy+f6ONJKuh5VNqMCKLpywgYTTg2Pn/7h1yZGmS2RrpDM5iV5v8C DDZtN2zIOOdyVH5yHnYXZLlNG/03MtQW+LS8WcCLanpNHDrH29e8xImXeh4AKzI0UEhDnnIyF dfWGx3e3FHKuArSMtmjutT4MGSULFy/N3caU7LsdNiP2gtAmPmO7YlsDf1MPKwJOESTbtibT6 gxPADA2Iq/z0TA8pZz0UxvkbcpB3ZSbah3sOfDS4LpOA9yuMHBWbjoOTQ6xh4RgRpOTB7PHtG jcF/Qt9O3F7famYo7TkYGnVaAbk5+Dooxsieady4hLkA4ecdKK3e9h9/Nc8e7feh5rQIcZFTL o/PSMJat+aBAkOsntXT0eusSSJq62awRW4VsyiYoj1oGRzmfKBKVlE3OspNDqpD19aGhlb6Ka x4d+PGdeyXS+uB3oYnxL1NRBkUFj2xX1PieqhJ+l4I2sxspmePuf9JIdDUNONGP68z1RL0quZ SFjR2lNkiVjAsh2L X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 15:19 schrieb Maxime Devos: > (standard-packages) needs to be in 'build-inputs', at least according > to 'lower' in (guix build-system gnu). Build-systems are inconsistent here: texlive, ruby, python have them in host-inputs. gnu, cmake, qt have them in build-inputs. Seems like thus generating platform independent code tend to have it in host, the others in build. Can you elaborate the criteria which to choose? (I also just created https://issues.guix.gnu.org/54820 for this) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:31:14 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 16:31:14 +0000 Received: from localhost ([127.0.0.1]:38597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDzW-0005Tc-Dq for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:31:14 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:49921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndDzU-0005TO-1o for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 12:31:12 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M2fM1-1ngo5e1lQF-0048Cy; Sat, 09 Apr 2022 18:31:05 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E85ED5FB16; Sat, 9 Apr 2022 18:31:12 +0200 (CEST) Message-ID: <56ff21f5-6b37-d3fb-3ba3-03f157a8eda2@crazy-compilers.com> Date: Sat, 9 Apr 2022 18:31:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> <2dada794ef45e2134663af43dfe3916532b6a078.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <2dada794ef45e2134663af43dfe3916532b6a078.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:XcJ0m0fba82Dd2scNHbuiBo+GuTRVxS+Ehpx/uPQufhBursLCvd +7L2VO4onPizy0FC2PRgdFgKJutEuMVGdejfFXRjEjG7i1xrLKciZAjyczJrU5ZQ+1bN0mH XDNPbnuWwqoXmzFS3aZ3Cbzzyk3z90HeV4EN+MzGQBHxrAhqfNQI8vT5T+1In8x9esR4fTu hMN7NxXrP62IWYQGLDGNw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eN+s80dnLZw=:POkhDCgIMwFqaEnqQ4qgMj war4lpi1bG1wAlLqofAJap1BsNSkT4fDXiv/Yai8bPWUU5s+a6DQxyLUJ9B348AlpP9dmWYHB OpNVBHXwWcp6VCJxwbejWPjRDitiCrwYCEEEtArPe1UvJm7mlYpCAwAobfyJtiZig9ULpUKBK MBpQgoXIv96Cjkd6PKPxnSXs85L9rvJAC9lQl3ryK1ucAgRDXsH7v09p4tbW0TE98Ay1ZUjmC BADhY9z26BqiKs/Rvx6inBsgp7O02ua5A5WhBTW1dHVaiTyeslXVYdrF6uvP6zDeWG81WXldG BYSWsdlIGB6Yr+MgxXfa2CMLrDhfadedsrvN+ULAdyO3+ocLeOSSjkNea8kQ+cwkToNOkNMer juF41AYO2lMuUsxqSeP02jWebSVBjBI3eIPABwlTDTIElN+03ls0YZkRRiM0vnXPZdB2dfqBl 4pOeDMxlsOyTxXAZ4TrX8lB1CgoxsflW9C9ouhhnMEzNVOI8szFwsVPTWeNmJs3d+saO0/SFh vQOR0AGgz3GwPjtPdh2FM4KYOlx2Y8Oqt6cH0OClgwUdp5q7IJZsAQZTy0+Sq7WlpFsU98HWM 7SbEVvXXOh+zaXLgm4xmvbCDSBQLPtHpfVMkgXAV9O6ISQL6I5pBYgpQJMfbpDvB0Kqf0xrlK zlyF92EPclKJ9Ag2zn3HfaUU4gZJqtgCQw9HKl+2VXgHg6sLIIOtB0Sf4CxAQ6C0Kyt3nujej 8/c3d7LGxbg8cTcJ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:52 schrieb Maxime Devos: > There is (currently) no Guix code written in Emacs Lisp. Do you mean > #f instead of #nil? Actually its 'null. Fixed. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 12:50:27 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 16:50:27 +0000 Received: from localhost ([127.0.0.1]:38616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndEI7-0005xq-BV for submit@debbugs.gnu.org; Sat, 09 Apr 2022 12:50:27 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:38751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndEI5-0005xb-4j for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 12:50:26 -0400 Received: from hermia.goebel-consult.de ([87.176.135.168]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MlwBh-1oLKcD2Qkd-00izxu; Sat, 09 Apr 2022 18:50:18 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7A7B65FB16; Sat, 9 Apr 2022 18:50:26 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------7wg88dmmXAzluvK40kd7eL7Y" Message-ID: <86478645-336b-ab53-1ef1-3f92d292ffc7@crazy-compilers.com> Date: Sat, 9 Apr 2022 18:50:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: X-Provags-ID: V03:K1:wXKJuQ4yzYbajv1zMRcE1Tuw4YyeyCekisdg+QwsHQOohr1Yqpq w+z2pwpWsSiwlrnoY5KZRWvqskXZ4A48CG0OWYoEU8FcoW+RAXj4hLGF7z+Tvo52q/sTi5o 2tMxEe4aaVVbVEdkX0CXYoMgDLhuJ6+IkXKhmzRiHz9YazhD14/zHR1F/bW2ZaQjw4jL24k quLPXvA6YlBCPBZGlEHfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Wyjxb6pOqVI=:ur/NdeFFeIrvbdWNE9VVPA zMWXz6nw4Nn+kTA0monnVw5OlUHAnagwTuqvc9bAq7aB3EO9bsE6Z94rRQh+RhhRNTGAD0JIj oQO2LDfeH3wl3w6jFODmKr68h+PV6cUbEF0Le2EcLuQPDpFtPF4hKn4mpcIobz0WrV5ez+NF/ fa0H8z6ds0l8wwMl71Ka0maO1pLwMHZIE1r72Ec9VkclLB8d6fFiUZaxnxip3HEXZKUr1DFyZ EKJ5SEoux2SZ26W6S41LDhmU5+d2RP4JeJW1EmqoDxrHguSmJgychIJG71XmcELY+nZ+N5H3C MAPfibj85im+ppPzYAnsEfyoBQLT0Aot+zqYI7cZxfoMjo+y8t3NAMa9eHyK2r+belABUhPxt +taOWFI4e59yzW1chkDFRsgy0LPKoUNWKNBQdMZfMEcpSoG0dDttefg101iU+MSWsaUUolNt9 o3tRCUCQmbRSceQSGrn+74b5kTAPU+9QJR8P8L/rf7O3BH74uOKhCJ/7i+BsHlSKRwiCKsoXf lFp+pWQak/AWZaI5/LzF1jUUuMLYWDTMKRyKs06PPWQyFPOJ2s3Us/3k2G/EfwNbhxakARGb3 t3YpWtiv6RKP4aPKuOLDvshKyGegcVDk9DYwgLYlR1DwXvciNs5xk/M7/yeQva7c60PXB2IBd cxkyknH91x0QbfT42xYpg5oKaaRiH8j/+2Pni37xviRU8Nk1+je2bGhPW6PVWz8bcbvZ4BF+W a+8GmLYRzAOXuhNs X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------7wg88dmmXAzluvK40kd7eL7Y Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 09.04.22 um 13:55 schrieb Maxime Devos: > This procedure 'maybe-inputs', or at least a similar procedure, already > seems to exist in (guix import utils). Thanks for this hint. Unfortunately that return „old-style“ inputs:   (inputs    `(("erlang-base64url" ,erlang-base64url) -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------7wg88dmmXAzluvK40kd7eL7Y Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 09.04.22 um 13:55 schrieb Maxime Devos:
This procedure 'maybe-inputs', or at least a similar procedure, already
seems to exist in (guix import utils).

Thanks for this hint.

Unfortunately that return „old-style“ inputs:

  (inputs
   `(("erlang-base64url" ,erlang-base64url)


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------7wg88dmmXAzluvK40kd7eL7Y-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 13:57:43 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 17:57:43 +0000 Received: from localhost ([127.0.0.1]:38658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndFLC-0007aB-Si for submit@debbugs.gnu.org; Sat, 09 Apr 2022 13:57:43 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:39650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndFLA-0007a3-Ut for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 13:57:42 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id Ghxf270024UW6Th01hxfFc; Sat, 09 Apr 2022 19:57:39 +0200 Message-ID: <5cb8ddd0c1f2bfd4d459aa4eb4921f9b793d800f.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 19:57:38 +0200 In-Reply-To: <81040c10-21ed-8b91-2785-1df21f232872@crazy-compilers.com> References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> <13d5d93be4c0091b2b49586f97b9ce5c1a41a559.camel@telenet.be> <81040c10-21ed-8b91-2785-1df21f232872@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-JPgATHWaT3rX3SZHFb2R" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649527059; bh=XzZ6aTjOj3HpmbNE4CC5vxbcOYQG2F6vZSc1BdqSf88=; h=Subject:From:To:Date:In-Reply-To:References; b=j8nsWTFlYinMwLwYfMyLlMA30pyOMDRe/xzmcuS2CDoZKJBPNbG/MFeWta9j/J9vu ks/mOTBi4M9u7lS9CP4OFlcsSovIP/yCM3BezbPfRw1Escp31ByfNRGYl4evks4qo9 RhSJNylYrFIGeMBmxHCbKtOXxcGCmH0PLpC08UOZjszRueTpzuyGMUjdH6ZEs3S0MR DWmQGeLA0+9EqBbOfUG4Dcxpmm/8gq0xY+t96qcIskmvZ0rjBavakfBndNLD0GprFf N5Y31JsZ0qfQ2jUQ7xdT68y+BsuC+hwwT4d4x6GrwOofcZWSTIcQQ9pUR7JPFxXqpv nNm4QHu0wohdA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-JPgATHWaT3rX3SZHFb2R Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op za 09-04-2022 om 18:28 [+0200]: > Am 09.04.22 um 15:19 schrieb Maxime Devos: > > (standard-packages) needs to be in 'build-inputs', at least according > > to 'lower' in (guix build-system gnu). >=20 > Build-systems are inconsistent here: texlive, ruby, python have them in= =20 > host-inputs. gnu, cmake, qt have them in build-inputs. Seems like thus= =20 > generating platform independent code tend to have it in host, ruby and python are, from Guix POV, not platform-independent code, as they may have baked-in references to platform-specific binaries. Their build systems don't support cross-compilation yet though ... > the others=20 > in build. >=20 > Can you elaborate the criteria which to choose? (I also just created=20 > https://issues.guix.gnu.org/54820 for this) Always build-inputs -- some of the not-yet-cross-compiling build systems do it different, but maybe they will gain cross-compilation someday, and to do that, (standard-packages) needs to be in the right place! I've added some info to . Greetings, Maxime. --=-JPgATHWaT3rX3SZHFb2R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlHJEhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ucrAP935RvJdAqlGt6lkNv4RuCPbmQ0 /Blh4+cuiTIkIJIe3AD/f7mX3skgAGni1Jpj74ujLdZmZNetZdW67o0/o4yy3AU= =ZXXR -----END PGP SIGNATURE----- --=-JPgATHWaT3rX3SZHFb2R-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 09 16:56:22 2022 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 20:56:22 +0000 Received: from localhost ([127.0.0.1]:38807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndI86-0003ev-Aj for submit@debbugs.gnu.org; Sat, 09 Apr 2022 16:56:22 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:33834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndI83-0003ek-Fp for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 16:56:20 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id GkwH270094UW6Th01kwHDZ; Sat, 09 Apr 2022 22:56:17 +0200 Message-ID: <7a3f64a1f27cbd235ba2fded8f1b6a354e2cca12.camel@telenet.be> Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sat, 09 Apr 2022 22:56:17 +0200 In-Reply-To: References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-pd98D+i0ZBKquPqnopfE" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649537777; bh=vuDLlVAE5UEge+1ZEF87R0DHdApNYJFsLbqOHZQXO+Q=; h=Subject:From:To:Date:In-Reply-To:References; b=cbo3M73sXOnFbJKfRprOJ3yAyJfIJZdB4ZI/6dFwHoJJQpmkLGZUDhm3H+DezRB4K IEEVWgaztKHAR4I62AUbzcb08MTghaPRcf+u8GRT+6bLu3diIk0h9p/6ShWue3cIYf AEE3BKaeOY0Bl62Uv8yKk7wvElw/rnVUdpNJ/lMwZ3On8JbpHFMGM918hsqqDprXnC 1tbnfofTHKl320uPQZbpB+WkDAotcugdnxyLSfke7XWCUPlda6gCqpYrwsHOeEOH7M PjQx+BqU2j5lTm5pgCMLW3MzUFFbVCaF19DRY5w1DoXf0rwryMM14qR4Hs+SWIOqtq Hs6l0YtX5S1Ug== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-pd98D+i0ZBKquPqnopfE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op za 09-04-2022 om 18:04 [+0200]: > Am 09.04.22 um 15:16 schrieb Maxime Devos: > > This patch seems out-of-order.=C2=A0 Wouldn't rebar3-build-system need = to be > > added before packages using rebar3-build-system? >=20 > However you like. Just tell me. >=20 > Since the rebar3 build-system requires rebar3, any way round results in= =20 > a hen-and-egg-problem. >=20 Oh right. I would do the rebar3 build-system before rebar3. Then the packages stil cannot be for quite a few commit, but at there won't be 'Unbound variable: rebar3-build-system=E2=80=99 errors when doing a bisecti= on with git. The guix-data-service might still not like it though, so CC'ing cbaines for input. Greetings, Maxime. --=-pd98D+i0ZBKquPqnopfE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlHy8RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sx8AP9a0HqUkNx0WhZZjmtu/Bcf740N 6Wh1ixS2iKYLMhHXQgEAnG2ZMfheFFQEpo0DZ4/MyOTm1Povy/hBlkUbJWkyaQs= =aEJQ -----END PGP SIGNATURE----- --=-pd98D+i0ZBKquPqnopfE-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 06:27:28 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 10:27:28 +0000 Received: from localhost ([127.0.0.1]:39432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndUn2-0001qo-8z for submit@debbugs.gnu.org; Sun, 10 Apr 2022 06:27:28 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:51819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndUmy-0001qW-Qi for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 06:27:26 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MTREY-1nY2lW1VOe-00To4e; Sun, 10 Apr 2022 12:27:18 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 75AE466479; Sun, 10 Apr 2022 12:27:20 +0200 (CEST) Message-ID: Date: Sun, 10 Apr 2022 12:27:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 03/22] gnu: Add erlang-certifi. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <25be4a7ca6f9af888b6a97f6ab03e2e3ae2caaf7.1649436566.git.h.goebel@crazy-compilers.com> <2285d26dd5b271a42bafb8aec553ba031f36d107.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <2285d26dd5b271a42bafb8aec553ba031f36d107.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:hXymae7AztaajJvO3ZssJKAj4LH3sL3rtA9HT0EF40OL45QYdyE K5EKqkE3TnqPMpP5OCibnFesbzQF7TZuZUOscG28ruyTshe95QtoVgKTBr8I3yNAwP/sxNz Ymoa8dMCYNt0I1tyd+gblExDRmhGgSbWQFrdr0tmGmLBQ5OiXvOrPfsKtx8rAgWsxEU5iTZ lbQC0kPPDSL0umDTmtk7Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JX6BXh95w3Q=:ulXlxTaVIYJSJjDKUgfhMh XDTryW9ASHXFRhGlx6bRnFP5TVhPZVYs+hwZTGdziXfyFUFCSFJrZNUuLzJwABCzXpAxBPOAB 3wdwUO9bktWykPVCxUHM/8XcSz8M97kUGlAm8LitRWr4NTtRE5ELbl/dOz395vfpA5gqertoc 1CC9XaKxE5tVh7IFYmng5bhWtsI4ilFKCyynY3WcQZ99obHW374VSz/fxpDTwo6KuRNfKwggj 9Ip98WgND+7fAbuGmfRG5VPcQHU5epzDmHnQbVhElMIKWNer7o0RL3vXrKi8W06qS7De+3EMS 98in0sLFrdAxmL/pVMJeHMPTPMv2k9Aw0e6HqsvxOzxwnJKKP44kON4th8psbo3QAymR2L+tD 8VHNBU4o7eOKvsHMlqB6zKwk0ESxkLalbYWoyu6bxdidh2ZXthE8Zhwv4rJKx7ME5QHZwsxkG BtH0g8TVL2Mg03ZWBUE6eXpQ4dA4d273ZztsNcwSJOusEbX9cm6y3sWvoxa7M9CnqGhNs5EVA kVOsEnNQfO/jWhccVltHh5kxBoZMWc/JnG0sJkh6lfm7KWO+CqpmTlE7UtzjzdnOOXw+7YkQ+ kQwZzII8RLTObr6uH5nirv9qZGo9PJroEed0eCIS+5Sj5CuHfW9w1aY5D7VLupGK294OxMp83 9t/eGtG1js/JIc3qLbF7lRuLWiIt+wyEg9D7g1cZo5lor7P5pLENu/+YJC04IYVgB7/pXwndb C8kkjoJhiufxRKGf X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 13:39 schrieb Maxime Devos: > Can this bundle be built from 'nss-certs', such that when nss-certs is > updated (e.g. Mozilla revokes a root certificate due to reasons), > erlang-certifi is up-to-date as well? This package is a sibling of python-certifi [1] and go-github-com-certifi-gocertifi. All these contain a copy of the/a CA bundle — which is the idea of these packages: „useful for systems that do not have CA bundles“. So they intentionally do not honor SSL_CERT_DIR/…. They are meant to be used as fall-back for libraries/applications honoring SSL_CERT_DIR/…. Neither python-certifi nor gocertifi build on nss-cert. Addind some update mechanism into the Guix package is not a good idea IMO: This would make “erlang-certif@2.9.0“ contain different certificates than the release 2.9.0, making debugging a hell. > As such, can this package be avoided as dependency? As of now, rebar3 does not support SSL_CERT_DIR/…. Anyhow there is already an open ticket [3] for. Other libraries/application might still need erlang-certifi, like some need python-certifi or gocertif. So anyhow we should keep this package. [1] https://github.com/certifi/python-certifi [2] https://github.com/certifi/gocertifi [3] https://github.com/erlang/rebar3/issues/2696 -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |] From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 06:36:53 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 10:36:53 +0000 Received: from localhost ([127.0.0.1]:39452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndUw8-00026E-R3 for submit@debbugs.gnu.org; Sun, 10 Apr 2022 06:36:53 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:52103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndUw7-000260-0H for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 06:36:51 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N45th-1o44GD21vV-0103fP; Sun, 10 Apr 2022 12:36:44 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id B2D2966479; Sun, 10 Apr 2022 12:36:46 +0200 (CEST) Message-ID: <90bdc31b-4b3f-8193-5087-c5f8ee1cc9df@crazy-compilers.com> Date: Sun, 10 Apr 2022 12:36:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:4PEgqrS3Fbc/Q51ZJ72E0UfrF4fRZzKD3aldo1IwGwXUiezwZ33 4YgK26/yYXsCpS8d2dU0JK3m1ebo07KjCI1by3rITkE9GkI1Xv7Xjhy3LbWpHhHiaanhrge BKc2tUxJBu7p0EEHBFPZoq03UsfJmS06n82Fdj8O48iYevcidFA52trWVF7is9FNC1r/HsU +NeEqqvbo/l8dYTqhER0Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:M6UkUFdwD3g=:M9vJzMh4Ws8P6+DaM7GBQ9 xryyO9HQrslG7TzerxzVNFvlcGKxiD0UQ+mtAqgFgw5ljI8eafhI3CYZAZbBYsOV/cviDxK9O csCQ75gk8S2eCYEGnTFm20AIiY7T4wO/4Gibs9UHF0NGE1FzLwXxKRUOFF8xZlmLSYL5Ria7u I61awfG8UFTb7+ZFCdXnlbuDngB5jo/iws2ny1qGbbIBQsewsv1hJFOcg7UKadnBraEPZaHOJ gQO+8TZtHj7l5G20A8pLK2i2xXvf6ZUln8ZIXbwmiGasMjgoBhdBAE9i8su/nNj3kTPTAxGLV 04+seGPZUnyMIU2zHi0WVJxVfkQGUP3T75A253fvlkL8bHtVhlWvmUcKerKz4XMjRCLMhLluQ kwpDfyseJ83tVcSaB2QQQAavDz5VgVgc6Ob4QzSR6HVfiTWixhBZsfLtMcdzfZQ159RqF71lI WU7mhprEU38m/e/UZqvDzWgh7jR70asMehOmDFqNxcDz9YSpjUCc4Q03P/WeKpM/5awWYJnx6 eXf6zeNcchckI9by8obAEzARsXx9LdKMpFqdkjFRPQ6u4RwM+zGRWq+VDzp24RTbu06We65o+ 0BNOPht9USpy8g6ivHhWQHxBbk+QQq11/rW9c0KUu2ai57QNfTomtQgosnDcSSCKVGgj0CBZf AZ6aVcUt60BXngJal2/Gu96ha5ODxk5dNjhooyZDUP2+KGsnB00VJdzzk7vjXdxZAZ9dSoYZZ M1z3sTYtt5kkymQA X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 14:07 schrieb Maxime Devos: > From what I've gathered, with-http-server and the like is preferred > above mocking, though with-http-server might need to be extended first > to allow checking the URL (see). Since this issue is stale (and referring to another stale issue). And I don't want to block this patch series by stale issues. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 07:22:25 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 11:22:25 +0000 Received: from localhost ([127.0.0.1]:39527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndVe1-0005S1-6E for submit@debbugs.gnu.org; Sun, 10 Apr 2022 07:22:25 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:34517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndVdz-0005Rl-Cy for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 07:22:12 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MderZ-1oCqKL31lp-00ZgwX; Sun, 10 Apr 2022 13:22:04 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8EA4F66479; Sun, 10 Apr 2022 13:22:07 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------SjuXjJFoZKWwGLQn4bHxnKd0" Message-ID: <1887b943-01b9-8126-d474-6e7fd12397a5@crazy-compilers.com> Date: Sun, 10 Apr 2022 13:22:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: X-Provags-ID: V03:K1:TdZq508TpGuyCqqCjPQV/rnK7EpB6BGhM9s0jNCjqnt7xUCLwNm ObKbUhgkTNPNm7mJiUSW7lVVJYTP2tLTbUaEZQsBy5dIZG/m3MyjSlbfppDBF0GhYuDNV9I tb1qXlIZ0omCKKLrAVwOyGUkB8vC5H3JZ6rT7aaoMaChBTZzINtRAoeLyJNbnExlT9ir4CP 6aVilvH1rtSAx5QojL/sQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gwR9ch/4E/A=:jiutgVtMiz0zONj7kMjfw0 U4B/JhE+pMdmPlzjfq2BuavYM60Vqp8gqaMEvW9TzU4ZTnjz34D0yYfLpQjfexzWadhY3bwHg ye9faQyb7CibREjo4ZGGiUBPjGUKxRijmGpfWKGrwISD4ivSzunjkqsEDoS1qAfeMJAVkA3tQ BxuPnaEz3m04mrHTpfeB+/RjhXgXG8RSVgSy9Dw7C5TUjkHMeDPe8WlFy0PTArlhwfQ5BvD+t 5jhV6KjieiSkVXpgQxASygu9rKeg/cgPUBysF9SKst7I4dE0/lRbIgSYtoIY76+DOx9MEoXmw Y8FT3s3oC4idtHtjlQ7ca6cm7vepqOsAbDCwIBtk2KZxAztu/lluAxU6tV8UPIBRuFn3RiAd7 r/hMWFHWXbCdDOHEoJom3YQo+hdUiOWWhFWGCa8nePgZ1Fj18IHJxJInrrgwDoJr78m7/zepB tL17rwp+eMdJlk5ZRFobO7Ag2smyiuuI0qXEtdVNvEf2kYpDu/FtdzXO8uRpYFbOhX+W0P8KI 3XsIltKPiFoB9N2AwP4SG3DtCDAZW2YhVSfNTGFwATkvv6qKaxk6YAhv5+orvarevnQRbyE7A 2cTuoi9qam/cr6Duj23sTs3HbL1RNORvH7SJJyQbCPs6UjXlfDkLQCYJj4L7qkDxiY75lUH/G EQAIGa01yB7WmIsILweeD4AfwQ1lMH2UgNm9WTtOkrsoW6x8fy1vjddMXbWIj2f9NWsiIG7qr 2lb2hW01clRoJ7Bl X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------SjuXjJFoZKWwGLQn4bHxnKd0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 09.04.22 um 13:59 schrieb Maxime Devos: > WOuld 'alist->package' be useful here? Thanks for pointing me to that. Unfortunately, since records are used here (not alists) and since „alist->package“ expects the licenses to be an alist, too, the code using „alist->package“ would be quite ugly. Your tip brought me to „package->code“. Sadly I dif not get this to work: I failed converting          ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs) into the unquoted form. -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------SjuXjJFoZKWwGLQn4bHxnKd0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 09.04.22 um 13:59 schrieb Maxime Devos:
WOuld 'alist->package' be useful here?

Thanks for pointing me to that. Unfortunately, since records are used here (not alists) and since „alist->package“ expects the licenses to be an alist, too, the code using „alist->package“ would be quite ugly.

Your tip brought me to „package->code“. Sadly I dif not get this to work: I failed converting

         ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs)

into the unquoted form.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------SjuXjJFoZKWwGLQn4bHxnKd0-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 08:26:55 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 12:26:55 +0000 Received: from localhost ([127.0.0.1]:39657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndWed-0005Eg-8Y for submit@debbugs.gnu.org; Sun, 10 Apr 2022 08:26:55 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:41706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndWea-0005EW-DM for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 08:26:53 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id H0Sq270034UW6Th060SqBD; Sun, 10 Apr 2022 14:26:50 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Sun, 10 Apr 2022 14:26:44 +0200 In-Reply-To: <90bdc31b-4b3f-8193-5087-c5f8ee1cc9df@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> <90bdc31b-4b3f-8193-5087-c5f8ee1cc9df@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-KLAR76kV1yag2htiN3Vw" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649593610; bh=E7wUoUVZ/0RQf7PIbCYsg+zVMc2fBqaxQm17jNAL8Kk=; h=Subject:From:To:Date:In-Reply-To:References; b=Lx+IJao61sn4sg8zCYc0Ia0COX3wz2NNH/TQhGEQSJ+7PE2lhGBdvQzdjhvYcLZJ7 t6qj3fU+1HHnXS/2VYrCZPsr8EH+cvxMeLOsojOXtMukZRhlovHIeorJAe61BvF+xp ssRz3Gro4h+4ZWiEIBw6mn5S8tQVFN335zyGfTwV+C8/bMj4OMFgRUnikIT96rXa2C AizEZlofl6MQnERNAPlNjljN56nFoflz4pbPx83YsEsV9h42x4RwgegO6/NDm+pMDw nRkDIlqe3MXpdTvZvVH0OJf1vQKSP1klJfCznUjZrhzQ/0sSHtqIIaadSLmmSzsi4u AKk7E3Pe9gXZw== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-KLAR76kV1yag2htiN3Vw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op zo 10-04-2022 om 12:36 [+0200]: > Am 09.04.22 um 14:07 schrieb Maxime Devos: > > =C2=A0 From what I've gathered, with-http-server and the like is prefer= red > > above mocking, though with-http-server might need to be extended first > > to allow checking the URL (see). >=20 > Since this issue is stale (and referring to another stale issue). And I= =20 > don't want to block this patch series by stale issues. Ok. Greetings, Maxime. --=-KLAR76kV1yag2htiN3Vw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlLNBBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iWKAPwMxHn+4ZCdAaj7DWZFLGiejOCf zJkYukaA/MLcJubFqwEAod7zN5M8L2Q08rs7Aa+ZSkX1FxE/R0c2a8l1jxCl/A0= =VcJw -----END PGP SIGNATURE----- --=-KLAR76kV1yag2htiN3Vw-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:47:17 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:47:17 +0000 Received: from localhost ([127.0.0.1]:41395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcai-0005Ko-Tq for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:47:17 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:52443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcag-0005KU-L4 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:47:15 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mae7u-1oEc653w78-00cBH6; Sun, 10 Apr 2022 20:47:07 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id B507166479; Sun, 10 Apr 2022 20:47:16 +0200 (CEST) Message-ID: Date: Sun, 10 Apr 2022 20:47:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Content-Language: de-DE To: Maxime Devos , 54796@debbugs.gnu.org References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> <13d5d93be4c0091b2b49586f97b9ce5c1a41a559.camel@telenet.be> <81040c10-21ed-8b91-2785-1df21f232872@crazy-compilers.com> <5cb8ddd0c1f2bfd4d459aa4eb4921f9b793d800f.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <5cb8ddd0c1f2bfd4d459aa4eb4921f9b793d800f.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:QJsrXfub0o4K7d9MrusvD4RejgiqkSlRmTrZM4vCE9VXH0GG4xj s8qnfeiZ+40JEAd4OZC13XHicMRQcXqVT0gNxXhm6PJec95bR+dhvXi3eHJr9Yc27nTBJPV BrHaepoZhZeceCygz/UQC0nUtWv2bo/tzqJu5ne4HUQheklXGwd/PYL7sAOI80cGX8YFeQR 7iMSqG79qeo0jr+gVtY8w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:a7hnZrhR0Ws=:as7+OF0SkU/JaXmiGZC75q BXj/m7J5cJ38bnGL2wmQKyCosV3IQEBLfpPGEoszIfxdw+Uw1fVFgj58s79rmLH1x2xBtnLUf 1OtO6NHNNOcTnh4/YbN6zvb5/6L+s01dkdPP7lWeVtglM+uc62oVCaoTHeVIEgV9avGAG6/rK DsPsHtNsH3qz4l1VOY+gUirhzTjBPtOxNPlCWpjunZ36zmoedUEd63h7Q/68sM9/UB7936p37 CvfBA+fKOzsKc/hjq8n2Rv+dRV2a79q5T35Ug7e24ZJxPPKRuqlJ9ofFuXC71FrbLR7itsyf6 CM0/uld0wK/XqS3ga0QTMoZ7ktEqPPWKo1Ahdj82p6b2ZVg8757ynrCe0vjZP+c4k/s+g8d13 r6pIVCZgYEiURO2ySSOEGcB1ooFk62Fxr1RrZF01XopN/+t4OTl4lMVhW0UMJKI0I1CTiMBbB DMAsaMWote33rSobdJNlXwz13FUB/9kSqFjsBwIjXM4aJDOUrTOIGXKc8CmjWueJ3XqqClNp6 otuWbaKnRuXMRv7ej4JdkBqUfbAWscE+v+6hMyyFciX+nW/rddKJmgyP/xRGmcIc3V9qmrH5y QZdcxJPgCFYIRNUetuSsDYs5XuJmPWnWR0KtXG7YootBST451H5DA20/iBagmbL5tq51O1TXo ehGukUivIGx98XlQ3AwAVjXeiyF8Sh01MtZUV33BMa1ZNsFfcUuDuWEs8l/lC6tMMuUcSJeag NSZKsKjBEuYWAivS X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 19:57 schrieb Maxime Devos: > Always build-inputs Done. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:49:44 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:49:44 +0000 Received: from localhost ([127.0.0.1]:41406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcd5-0005RR-Fq for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:49:43 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:59981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndccq-0005Qz-Kd for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:49:42 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mf0Ru-1oAELg15dS-00gZOd; Sun, 10 Apr 2022 20:49:22 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0325166479; Sun, 10 Apr 2022 20:49:30 +0200 (CEST) Message-ID: <3e96511f-563c-1092-0c45-b99d4f00ebd4@crazy-compilers.com> Date: Sun, 10 Apr 2022 20:49:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> <7a3f64a1f27cbd235ba2fded8f1b6a354e2cca12.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <7a3f64a1f27cbd235ba2fded8f1b6a354e2cca12.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:UQ6JQG0+0S+ea8BcPqqP63PywPOOJRM7yumwgdARlplA5TZPrYQ yWWHefNCc/gNTfEaiao6z05kTF+K2Jvhke3uFDneqNlLIXR5Y+JxtokixiAgQ1v+r3Cl8B9 gA8baNAtVKPxXfeTIOBYMS3bGRglrCnedMn9voBID2GyRXAvEkln+vdWweyzb4ApMeNmYOJ GfChCWV627pla2kXa0aEg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uXucEWYhH6k=:Nqj9ts4/0Txxl/2m55S5rr 4kAoS0RJbCMQ4dQba1oyshrsJIp0Ij+SuHqNd6Fm97IisKqk2Tcp4NWUlj0RPPC42olc350gN JeIwFhNSeSBrxGUUErwmXVGIM7x9h37DDrBwhbxImhfpsiEFyNVXxliRa8SMALu8yYSzeyzdR GeDfW2GA28gqqyNM2JTb5RflyMxg2aOZNIzV+I9l9wc169AhO9kMPZfwf7HwjiU2sAWWKEKBn QdSPvP+mGIVHSyOUCEProPHKkjrCm3Y9AssGpyZYKRa5pR9d7WBfYKvbGmxRG0rYgkUQpWayP ba8/6vivC0MX0Y65Wslq8qqcUg7mlbc0dO1OX2lHtWt7hUDwwbhYgwAK4VBRjDBU0F1Otme2H W9AHw22oOCJeIXQfk46wfzSISijUo8smICP+XySb8jgvpcvO9XXT5k/AuV7J2OoZgbm+EaCmX 41VUDqJj1VLzjfOauUlgbInO4va2LJMUTnjQ6Ip3Gj9fVf6YDTkP6I7JO41bT7swGGsuTinaI Qm/+vOZ0HgcwNBdYDbS83u4k5TVW7geCjX9utVo3N+ausDMjEqC0Vsh5Ahfe6kDWmXHNyEhQW KF7jdGq+EL6wO/VuLK4mf+XaZNJ/JjpmSBgUM/sYWGBfJ/UmKVHaZtK/Odtlh/qlPXZb9kro0 M5fmWa+o6mBo1lVM4SH0Acxqu8zFXG6TsoI/mTHbUwo8xPpdOBxTFDfeIOBnyy/30Niyf9P31 YWY8uE9B3+vx/XME X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.04.22 um 22:56 schrieb Maxime Devos: > Oh right. I would do the rebar3 build-system before rebar3. Then the > packages stil cannot be for quite a few commit, but at there won't be > 'Unbound variable: rebar3-build-system’ errors when doing a bisection > with git. Good point. Changed. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:30 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:30 +0000 Received: from localhost ([127.0.0.1]:41414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckb-0005d2-SW for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:30 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:45673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcka-0005cl-41 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:28 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MZCOl-1nQCdU43Mn-00VCVY for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:22 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id BD91266479; Sun, 10 Apr 2022 20:57:31 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Date: Sun, 10 Apr 2022 20:57:19 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:Lpn2QQ8PWZAtH1k8YTirlTh1woPOKlTLTbBw8WNR9xWvJLJOPTv 3Nh/yByeptTWBgWiiNTgA59PJ9yWklhWKuGEGqMKrfculTyJ3/2tgWqS6QQlqLaN3JJPztr +4taun28xYR3t12hZOBZAMRXZ9vnD7+2jzfLoQXkkHqZ7vVC5y3xuFbIRQAEpJqIEonOOFH ODtdUMQLJVwMKKYxDgqtg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:dNF0iXmbbes=:Q3pYujk9WqdYcXqh85sBmX LwHEqTJtgs7SxW1xHKmDcIyRZlnJJ0XoRsLFFzUR5i+HVfrawefFyGvS6XnforzNxrltgaY9E p3390yMLp+jF4Hqii8pdPRIAqXuh8hyd/ppC5YMBrIDN7NmBQuV4cXaHYhrFdwzfPHWumHZ/X 7A5a7YkOLFnHPsWqAvmycWJnE17qrbArVII5x23WCAP4CkCvV/YBVw9oSU3qASVfJhKx2WkFb GL0zGBN3LeG4VwZPa0fdk10N2fwi+z/ZXKR7o4KJeP1jcH//AVfP6ddrrScTFdkUPmhMBcFqt 2S7zJoYBq1jt0JsTVCXu5wnt9hWNOl/taNpMglw9Pto7BTgBjIu8M7JOk2zKpfIoVEBmqjXtz /1eiWnnM1dTr4rnyT79JF1miQ6+nerjZs13dldtzjJN+WYiyKypG+VhpNptxrBu49peNH58xg 5wsQSw7wTA6+9lLXfmUrR24O3OMtR3tDVHFuBow/YtbEaYezeBS6VSUOlnA2B+Pv+MlB7BSI1 EMbHNy1ywmK7X2jnGov0JYI7kfURTAY+8NDQidnQ7+0uKu4oFxYXImxXtiQcxx057zTQyzDyD bmaKEGv27Aa08DxhCOF05EJ4Z+sVwnA2ZJ4sKEXxyuJhhtGl0LTLA9kHYMvuXTc+zHxWiwkaC ou4Vp9bWMdBHWvcn97ugzPaG4zwlleqHbaV7wIefW2cecixOhHusxq3rKSJPS3h73/DE94siu uzLa51NRVt2YndPL X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks to Maxime Devos for the review of V3. Do ease review for other reviewers, here is a complete set of updated patches, incorporating Maxime's comments. Cover text from v3: this is an updated version of #42180 and #51061 (both are closed already). Notable changes are: * the „extracting downloader“ and „hexpm-fetch” are gone * documentation added for both the importer and the rebar3-build-system * tests added for the importer Some remarks on the patches: * First patch adds a file guix/hexpm-download.scm, containing definitions for the hex.pm repository. These are combined in this module here since different build-systems (will) use it. * The importer tries to detect the build system to be used. For Elexir packages it creates package definitions using the “mix-build-system‘. This I will add later (WIP). * Next there patches provide the packages required rebar3, rebar3 itself and some plugins for rebar3. Open question: * Shall the build system actually be called „rebar*3*“ or just „rebar“? There is also a build-tool „rebar2“, which is obsoltete and not supported by this build-system. Anyhow, somewhen in the future there might be some „rebar4“, which we might be able to cover with the same build-system. WDYT? Hartmut Goebel (22): import: Add hex.pm importer. build-system: Add 'rebar3-build-system'. gnu: Add erlang-cf. gnu: Add erlang-certifi. gnu: Add erlang-erlware-commons. gnu: Add erlang-cth-readable. gnu: Add erlang-bbmustache. gnu: Add erlang-getopt. gnu: Add erlang-eunit-formatters. gnu: Add erlang-providers. gnu: Add erlang-parse-trans. gnu: Add erlang-hex-core. gnu: Add erlang-ssl-verify-fun. gnu: Add erlang-relx. gnu: Add erlang-edown. gnu: Add erlang-jsone. gnu: Add erlang-proper. gnu: Add erlang-covertool. gnu: Add rebar3. gnu: Add rebar3-raw-deps. gnu: Add rebar3-git-vsn. gnu: Add rebar3-proper. Makefile.am | 5 + doc/guix.texi | 70 +++- gnu/packages/erlang.scm | 493 +++++++++++++++++++++++++++++ guix/build-system/rebar3.scm | 143 +++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++ guix/hexpm-download.scm | 40 +++ guix/import/hexpm.scm | 347 ++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++ guix/upstream.scm | 1 + tests/hexpm.scm | 257 +++++++++++++++ 11 files changed, 1612 insertions(+), 2 deletions(-) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:38 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:39 +0000 Received: from localhost ([127.0.0.1]:41418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckg-0005dR-9k for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:38 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:37069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcke-0005cs-6d for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:33 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIdW9-1nipwx0LzR-00EhyT for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:26 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4B5E86647B; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 02/22] build-system: Add 'rebar3-build-system'. Date: Sun, 10 Apr 2022 20:57:00 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:IhRKBiv84TM/hlFhRKM2qDy5d9m0uKnetC6hmdQ8PHHZAmHjNyL +ITJN8P9DJd84GLzLER6TH1cYqXT+nSWBx7S+P539c15KiWPv4PfWPF/NwPq5MDiL2fAYaJ 0z9XopCYyHLMSkBc8fj3izHOmPVDtvrfTFHGR7Pj43J/0ZsRiCNSgZDw5Mq2juHSCVgA+0g m4hZeTTl8lt8II+7Dtaig== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ftVUPKDUGkI=:bcWvGTEI2gVl53lCE8Uscv JDHzHX9mg8Mpqjxxvx9pHKEQ/is0UaFmPlYSLxdzuSCDwUxkwoEGoXJ4pKNVYiQDp/j7EGdth QCtcx6P6AIwoBs00PW923FRhNP1hwKFW7Xsqrzhy5jU/3gAl4mKvMIR+dwClIS/u+wesM0eok DYrXZ2q8JaG6NzTXrJXGqnY6sBLb8kKAWlC/PCtSibeGciDElRXUtCOHlHQxiZkp+ICa4ZIpZ zrc2HdygAzONfHf74Ju8NOZmDbj+N1nM+mTTBDUJUXcI/UvZF8FazlwJNWQ+yLh11USgSsY7s oCLOgsSAp8swVle1j89SjZdiAU3TZ0vxZQYBauqYSmXnwpYJqJMu4h48AudgTJgCm3sQhXPsC 6o0gH818H3oWWFH/vX3Gnyb9tup4CM/VMWuhCcbsCGCSdjOQiMl18Mb40zXxZHQLo8wBn2cMP LYxUI1g2UNzNbn8q9ub6TtyN1nKIDPnnYgoF1xmm+m1YHRJd3JNlyF7Ay7MiGe3mlxRoIyAyL HxpkOkDP9hSDeGIi+o+3Pab5UkDOtBt/8ISw9GkimLyUEuaNKE8NEGbfsaHNWlr1mhmqHV6k9 uyTxx1bW8B/vhSaRn6RA2JQ48scUQhuhNS1PRhBimasVFgSOANM02ZThs2N4scjbzUbXJ/YKM 2tGiopzTk1ZNR2mdoZEIJ5o2ujhSG8z7wrNyYuUCogqGPME5G4ptfdKNa1/sLdWxQdoM9NuJG qa2AGl784/wfdvgy X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New files. * Makefile.am (MODULES): Add them. --- Makefile.am | 2 + doc/guix.texi | 41 ++++++++ guix/build-system/rebar3.scm | 143 ++++++++++++++++++++++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++++++++++++++++++++++ 4 files changed, 333 insertions(+) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm diff --git a/Makefile.am b/Makefile.am index 46481dac2c..e2321d1098 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,6 +164,7 @@ MODULES = \ guix/build-system/waf.scm \ guix/build-system/r.scm \ guix/build-system/rakudo.scm \ + guix/build-system/rebar3.scm \ guix/build-system/ruby.scm \ guix/build-system/scons.scm \ guix/build-system/texlive.scm \ @@ -217,6 +218,7 @@ MODULES = \ guix/build/r-build-system.scm \ guix/build/renpy-build-system.scm \ guix/build/rakudo-build-system.scm \ + guix/build/rebar3-build-system.scm \ guix/build/ruby-build-system.scm \ guix/build/scons-build-system.scm \ guix/build/texlive-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 6c17b26d70..518fabf48d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8717,6 +8717,47 @@ with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter. @end defvr +@defvr {Scheme Variable} rebar3-build-system +This variable is exported by @code{(guix build-system rebar3)}. It +implements a build procedure around @code{rebar3}. + +It adds both @code{rebar3} and the @code{erlang} to the set of inputs. +Different packages can be specified with the @code{#:rebar} and +@code{#:erlang} parameters, respectively. + +This build system is based on @code{gnu-build-system}, but with the +following phases changed: + +@table @code + +@item unpack +This phase, after unpacking the source like the @code{gnu-build-system} +does, checks for a file @code{contents.tar.gz} at the top-level of the +source. If this file exists, it will be unpacked, too. This eases +handling of package hosted by @i{hex.pm}. + +@item bootstrap +@item configure +There are no @code{bootstrap} and @code{configure} phase because erlang +packages typically don’t need to be configured. + +@item build +This phase runs @code{rebar3 compile} +with the flags listed in @code{#:rebar-flags}. + +@item check +Unless @code{#:tests? #f} is passed, +this phase runs @code{rebar3 eunit}, +or some other target specified with @code{#:test-target}, +with the flags listed in @code{#:rebar-flags}, + +@item install +This installs the files created in the @i{default} profile, or some +other profile specified with @code{#:install-profile}. + +@end table +@end defvr + @defvr {Scheme Variable} texlive-build-system This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The diff --git a/guix/build-system/rebar3.scm b/guix/build-system/rebar3.scm new file mode 100644 index 0000000000..753dcf0989 --- /dev/null +++ b/guix/build-system/rebar3.scm @@ -0,0 +1,143 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2020 Hartmut Goebel +;;; +;;; 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 (guix build-system rebar3) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix monads) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module ((guix hexpm-download) #:select (hexpm-uri) #:prefix dl:) + #:use-module (ice-9 match) + #:use-module (srfi srfi-26) + #:export (hexpm-uri + %rebar3-build-system-modules + rebar3-build + rebar3-build-system)) + +;; +;; Standard build procedure for Erlang packages using Rebar3. +;; + +(define hexpm-uri dl:hexpm-uri) + +(define %rebar3-build-system-modules + ;; Build-side modules imported by default. + `((guix build rebar3-build-system) + ,@%gnu-build-system-modules)) + +(define (default-rebar3) + "Return the default Rebar3 package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'rebar3))) + +(define (default-erlang) + "Return the default Erlang package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'erlang))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (rebar (default-rebar3)) + (erlang (default-erlang)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME from the given arguments." + (define private-keywords + '(#:target #:rebar #:erlang #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs)) + (build-inputs `(("rebar" ,rebar) + ("erlang" ,erlang) ;; for escriptize + ,@native-inputs + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (outputs outputs) + (build rebar3-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (rebar3-build name inputs + #:key + guile source + (rebar-flags ''("skip_deps=true" "-vv")) + (tests? #t) + (test-target "eunit") + ;; TODO: install-name ; default: based on guix package name + (install-profile "default") + (phases '(@ (guix build rebar3-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (native-search-paths '()) + (system (%current-system)) + (imported-modules %rebar3-build-system-modules) + (modules '((guix build rebar3-build-system) + (guix build utils)))) + "Build SOURCE with INPUTS." + + (define builder + (with-imported-modules imported-modules + #~(begin + (use-modules #$@(sexp->gexp modules)) + + #$(with-build-variables inputs outputs + #~(rebar3-build #:source #+source + #:system #$system + #:name #$name + #:rebar-flags #$rebar-flags + #:tests? #$tests? + #:test-target #$test-target + ;; TODO: #:install-name #$install-name + #:install-profile #$install-profile + #:phases #$(if (pair? phases) + (sexp->gexp phases) + phases) + #:outputs %outputs + #:search-paths '#$(sexp->gexp + (map search-path-specification->sexp + search-paths)) + #:inputs %build-inputs))))) + + (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) + system #:graft? #f))) + ;; Note: Always pass #:graft? #f. Without it, ALLOWED-REFERENCES & + ;; co. would be interpreted as referring to grafted packages. + (gexp->derivation name builder + #:system system + #:target #f + #:graft? #f + #:guile-for-build guile))) + +(define rebar3-build-system + (build-system + (name 'rebar3) + (description "The standard Rebar3 build system") + (lower lower))) diff --git a/guix/build/rebar3-build-system.scm b/guix/build/rebar3-build-system.scm new file mode 100644 index 0000000000..ae18538ed3 --- /dev/null +++ b/guix/build/rebar3-build-system.scm @@ -0,0 +1,147 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016, 2018 Ricardo Wurmus +;;; Copyright © 2019 Björn Höfling +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix build rebar3-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module ((guix build utils) #:hide (delete)) + #:use-module (ice-9 match) + #:use-module (ice-9 ftw) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (rebar3-build + %standard-phases)) + +;; +;; Builder-side code of the standard build procedure for Erlang packages using +;; rebar3. +;; +;; TODO: Think about whether bindir ("ebin"), libdir ("priv") and includedir +;; "(include") need to be configurable + +(define %erlang-libdir "/lib/erlang/lib") + +(define* (erlang-depends #:key inputs #:allow-other-keys) + (define input-directories + (match inputs + (((_ . dir) ...) + dir))) + (mkdir-p "_checkouts") + + (for-each + (lambda (input-dir) + (let ((elibdir (string-append input-dir %erlang-libdir))) + (when (directory-exists? elibdir) + (for-each + (lambda (dirname) + (let ((dest (string-append elibdir "/" dirname)) + (link (string-append "_checkouts/" dirname))) + (when (not (file-exists? link)) + ;; RETHINK: Maybe better copy and make writable to avoid some + ;; error messages e.g. when using with rebar3-git-vsn. + (symlink dest link)))) + (list-directories elibdir))))) + input-directories)) + +(define* (unpack #:key source #:allow-other-keys) + "Unpack SOURCE in the working directory, and change directory within the +source. When SOURCE is a directory, copy it in a sub-directory of the current +working directory." + (let ((gnu-unpack (assoc-ref gnu:%standard-phases 'unpack))) + (gnu-unpack #:source source) + ;; Packages from hex.pm typically have a contents.tar.gz containing the + ;; actual source. If this tar file exists, extract it. + (when (file-exists? "contents.tar.gz") + (invoke "tar" "xvf" "contents.tar.gz")))) + +(define* (build #:key (rebar-flags '()) #:allow-other-keys) + (apply invoke `("rebar3" "compile" ,@rebar-flags))) + +(define* (check #:key target (rebar-flags '()) (tests? (not target)) + (test-target "eunit") + #:allow-other-keys) + (if tests? + (apply invoke `("rebar3" ,test-target ,@rebar-flags)) + (format #t "test suite not run~%"))) + +(define (erlang-package? name) + "Check if NAME correspond to the name of an Erlang package." + (string-prefix? "erlang-" name)) + +(define (package-name-version->erlang-name name+ver) + "Convert the Guix package NAME-VER to the corresponding Erlang name-version +format. Essentially drop the prefix used in Guix and replace dashes by +underscores." + (let* ((name- (package-name->name+version name+ver))) + (string-join + (string-split + (if (erlang-package? name-) ; checks for "erlang-" prefix + (string-drop name- (string-length "erlang-")) + name-) + #\-) + "_"))) + +(define (list-directories directory) + "Return file names of the sub-directory of DIRECTORY." + (scandir directory + (lambda (file) + (and (not (member file '("." ".."))) + (file-is-directory? (string-append directory "/" file)))))) + +(define* (install #:key name outputs + (install-name (package-name-version->erlang-name name)) + (install-profile "default") ; build profile outputs to install + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg-dir (string-append out %erlang-libdir "/" install-name))) + (let ((bin-dir (string-append "_build/" install-profile "/bin")) + (lib-dir (string-append "_build/" install-profile "/lib"))) + ;; install _build/PROFILE/bin + (when (file-exists? bin-dir) + (copy-recursively bin-dir out #:follow-symlinks? #t)) + ;; install _build/PROFILE/lib/*/{ebin,include,priv} + (for-each + (lambda (*) + (for-each + (lambda (dirname) + (let ((src-dir (string-append lib-dir "/" * "/" dirname)) + (dst-dir (string-append pkg-dir "/" dirname))) + (when (file-exists? src-dir) + (copy-recursively src-dir dst-dir #:follow-symlinks? #t)) + (false-if-exception + (delete-file (string-append dst-dir "/.gitignore"))))) + '("ebin" "include" "priv"))) + (list-directories lib-dir)) + (false-if-exception + (delete-file (string-append pkg-dir "/priv/Run-eunit-loop.expect")))))) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (replace 'unpack unpack) + (delete 'bootstrap) + (delete 'configure) + (add-before 'build 'erlang-depends erlang-depends) + (replace 'build build) + (replace 'check check) + (replace 'install install))) + +(define* (rebar3-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Erlang package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args)) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:45 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:45 +0000 Received: from localhost ([127.0.0.1]:41422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckk-0005dk-Qu for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:45 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:35529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckb-0005co-Kx for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:33 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mv2gw-1nvQeJ3RlA-00r0eX for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:23 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2D3286647A; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 01/22] import: Add hex.pm importer. Date: Sun, 10 Apr 2022 20:56:59 +0200 Message-Id: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:KzHdebYEbwUPEn3bQUD1+cm+cWJf1uT+6Qk6O477Pau/Q3vm+S/ EXHub4snjbEJ1qRMUUtVfo2+kIQSTozcl5OFlcs9DJ4KzBQKl9Y2dm3fnMHzbnOZPIuPTSn v49C55g0/mzSseu/4PQE1CPuxe8c8/WWiXEA4Z2OC+TyFad+1diNonwcmRZVosJhwDGxgW+ vAkoctRpdQv9VeNOXAppA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Fi2qtipX26Q=:3aeLj639+Y0FaomNeUY07x cjHquz1URjmAwCovpCLGNIKr5cTLsETHo21p3GfxBTjpcqJcwsjmsaSmaEvg4dZ2aUoMJ8FE1 Tx32RyzrE1PcqBfuJbPTew2tIphGWcMA2Xsajdbchk5B0i5hZlb8kglwiuBgNkaWsfa+pvSz3 Lw5mTMm90GKqexti1ZyNRgn374v7rvGorPQfSkm05biCq7fFZVTL4IpFOIWABKhhI3TEla4Iw mylj7bqexNtK+SB7UnGNBfkc89cDzVcYoMt+nwTzMn+h69LljIt7nahPcRY3Zv9jOWsJqritu QOKrcq6VUq9QP4JVN9bJZNgcouPeXqtr1e73KtHSCnC/wDwGd6IlWalHM6G6Ya48z9DX4oX3+ OmSPlwcCtGADIOFk0KwLhlEB4E5MgEoOg/2cOkIVSb6pqh2dU3lGOzZ0ijHP0oShxfcVibj2E ys9Q2ZrUHc0ZChjNZ1M2gnjogH+UBPX5N7R2JdH89vq+BT0cn448/+HuhJg7k/4AktI7sKv0Y gye0tAhHfJD+KVqoSgSUm9P34hgjqOCc4SmrZ0lJFgkVdNXm1pWL0E5ukKgmnaUSb2TKhiXXF aRNPXXBLFYhlka+c584Q7chPAsibzzQ2whWZNoUUDVnJnatV3cnSV6LxuU3Ab7qadBVJq0T+f ozJ+zAQLJEEa7jjSjiXKSNokA8OUv1Ye9+4uDDAEtB2NtTeKrNoGI4Aqx6dy1sp85caNrO/9h q83mHjoCL3UyHYaD X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) hex.pm is a package repository for Erlang and Elixir. * guix/scripts/import.scm (importers): Add "hexpm". * guix/scripts/import/hexpm.scm, guix/import/hexpm.scm, guix/hexpm-download.scm: New files. * guix/import/utils.scm (source-spec->object): Add "hexpm-fetch" to list of fetch methods. * guix/upstream.scm (package-update/hexpm-fetch): New function. (%method-updates) Add it. * Makefile.am: Add them. --- Makefile.am | 3 + doc/guix.texi | 29 ++- guix/hexpm-download.scm | 40 ++++ guix/import/hexpm.scm | 347 ++++++++++++++++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++++++ guix/upstream.scm | 1 + tests/hexpm.scm | 257 +++++++++++++++++++++++++ 8 files changed, 786 insertions(+), 2 deletions(-) create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm diff --git a/Makefile.am b/Makefile.am index aedb514ee1..46481dac2c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,6 +100,7 @@ MODULES = \ guix/git-download.scm \ guix/hg-download.scm \ guix/hash.scm \ + guix/hexpm-download.scm \ guix/swh.scm \ guix/monads.scm \ guix/monad-repl.scm \ @@ -263,6 +264,7 @@ MODULES = \ guix/import/gnu.scm \ guix/import/go.scm \ guix/import/hackage.scm \ + guix/import/hexpm.scm \ guix/import/json.scm \ guix/import/kde.scm \ guix/import/launchpad.scm \ @@ -311,6 +313,7 @@ MODULES = \ guix/scripts/import/gnu.scm \ guix/scripts/import/go.scm \ guix/scripts/import/hackage.scm \ + guix/scripts/import/hexpm.scm \ guix/scripts/import/json.scm \ guix/scripts/import/minetest.scm \ guix/scripts/import/opam.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index e8ef4286be..6c17b26d70 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -48,7 +48,7 @@ Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* -Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* +Copyright @copyright{} 2017, 2019, 2020, 2022 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* @@ -12817,6 +12817,33 @@ guix import egg arrays@@1.0 @end example Additional options include: +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively +and generate package expressions for all those packages that are not yet +in Guix. +@end table + +@item hexpm +@cindex hexpm +Import metadata from the hex.pm Erlang and Elixir package repository +@uref{https://hex.pm, hex.pm}, as in this example: + +@example +guix import hexpm stun +@end example + +The importer tries to determine the build system used by the package. + +The hexpm importer also allows you to specify a version string: + +@example +guix import hexpm cf@@0.3.0 +@end example + +Additional options include: + @table @code @item --recursive @itemx -r diff --git a/guix/hexpm-download.scm b/guix/hexpm-download.scm new file mode 100644 index 0000000000..e2f0eb22a8 --- /dev/null +++ b/guix/hexpm-download.scm @@ -0,0 +1,40 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix hexpm-download) + #:use-module (srfi srfi-26) + #:export (hexpm-package-url + hexpm-uri)) + +;;; +;;; Definitions for the hex.pm repository, +;;; combined here since different build-systems use it. +;;; + +;; URL and paths from +;; https://github.com/hexpm/specifications/blob/master/endpoints.md +(define %hexpm-repo-url + (make-parameter "https://repo.hex.pm")) + +(define hexpm-package-url + (string-append (%hexpm-repo-url) "/tarballs/")) + +(define (hexpm-uri name version) + "Return a URI string for the package hosted at hex.pm corresponding to NAME +and VERSION." + (string-append hexpm-package-url name "-" version ".tar")) diff --git a/guix/import/hexpm.scm b/guix/import/hexpm.scm new file mode 100644 index 0000000000..39ac9ed5db --- /dev/null +++ b/guix/import/hexpm.scm @@ -0,0 +1,347 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Cyril Roelandt +;;; Copyright © 2016 David Craven +;;; Copyright © 2017, 2019-2021 Ludovic Courtès +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2019 Maxim Cournoyer +;;; Copyright © 2020-2022 Hartmut Goebel +;;; +;;; 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 (guix import hexpm) + #:use-module (guix base32) + #:use-module ((guix download) #:prefix download:) + #:use-module (guix hexpm-download) + #:use-module (gcrypt hash) + #:use-module (guix http-client) + #:use-module (json) + #:use-module (guix import utils) + #:use-module ((guix import json) #:select (json-fetch)) + #:use-module ((guix build utils) + #:select ((package-name->name+version + . hyphen-package-name->name+version) + dump-port)) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix monads) + #:use-module (guix packages) + #:use-module (guix upstream) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (ice-9 popen) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-2) + #:use-module (srfi srfi-26) + #:export (hexpm->guix-package + guix-package->hexpm-name + strings->licenses ;; why used here? + hexpm-recursive-import + %hexpm-updater)) + +;;; +;;; Interface to https://hex.pm/api, version 2. +;;; REST-API end-points: +;;; https://github.com/hexpm/specifications/blob/master/apiary.apib +;;; Repository end-points: +;;; https://github.com/hexpm/specifications/blob/master/endpoints.md +;;; + +(define %hexpm-api-url + (make-parameter "https://hex.pm/api")) + +(define (package-url name) + (string-append (%hexpm-api-url) "/packages/" name)) + +;; +;; Hexpm Package. /packages/${name} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Package +;; +;; Each package can have several "releases", each of which has its own set of +;; requirements, build-tool, etc. - see below. +(define-json-mapping make-hexpm-pkgdef hexpm-pkgdef? + json->hexpm + (name hexpm-name) ; string + (html-url hexpm-html-url "html_url") ; string + (docs-html-url hexpm-docs-html-url "docs_html_url") ; string | 'null + (meta hexpm-meta "meta" json->hexpm-meta) + (versions hexpm-versions "releases" ; list of + (lambda (vector) + (map json->hexpm-version + (vector->list vector)))) + ;; "latest_version" and "latest_stable_version" are not named in the + ;; specification, butt seen in practice. + (latest-version hexpm-latest-version "latest_version") ; string + (latest-stable hexpm-latest-stable "latest_stable_version")) ; string + +;; Hexpm package metadata. +(define-json-mapping make-hexpm-meta hexpm-meta? + json->hexpm-meta + (description hexpm-meta-description) ;string + (licenses hexpm-meta-licenses "licenses" ;list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + #f)))) + +;; Hexpm package versions. +(define-json-mapping make-hexpm-version hexpm-version? + json->hexpm-version + (number hexpm-version-number "version") ;string + (url hexpm-version-url)) ;string + + +(define (lookup-hexpm name) + "Look up NAME on hex.pm and return the corresopnding record +or #f if it was not found." + (and=> (json-fetch (package-url name)) + json->hexpm)) + +;; +;; Hexpm release. /packages/${name}/releases/${version} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Release +;; +(define-json-mapping make-hexpm-release hexpm-release? + json->hexpm-release + (version hexpm-release-version) ; string + (url hexpm-release-url) ; string + (meta hexpm-release-meta "meta" json->hexpm-release-meta) + ;; Specification names the next fields "dependencies", but in practice it is + ;; "requirements". + (dependencies hexpm-requirements "requirements")) ; list of + +;; Hexpm release meta. +;; https://github.com/hexpm/specifications/blob/main/package_metadata.md +(define-json-mapping + make-hexpm-release-meta hexpm-release-meta? + json->hexpm-release-meta + (app hexpm-release-meta-app) ; string + (elixir hexpm-release-meta-elixir) ; string + (build-tools hexpm-release-meta-build-tools "build_tools" ; list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + (list))))) + +;; Hexpm dependency. Each requirement has information about the required +;; version, such as "~> 2.1.2" or ">= 2.1.2 and < 2.2.0", see +;; , and whether +;; the dependency is optional. +(define-json-mapping make-hexpm-dependency + hexpm-dependency? + json->hexpm-dependency + (name hexpm-dependency-name "app") ; string + (requirement hexpm-dependency-requirement) ; string + (optional hexpm-dependency-optional)) ; bool + +(define (hexpm-release-dependencies release) + "Return the list of dependency names of RELEASE, a ." + (let ((reqs (or (hexpm-requirements release) '#()))) + (map first reqs))) ;; TODO: also return required version + + +(define (lookup-hexpm-release version*) + "Look up RELEASE on hexpm-version-url and return the corresopnding + record or #f if it was not found." + (and=> (json-fetch (hexpm-version-url version*)) + json->hexpm-release)) + + +;;; +;;; Converting hex.pm packages to Guix packages. +;;; + +(define (maybe-inputs package-inputs input-type) + "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a +package definition. INPUT-TYPE, a symbol, is used to populate the name of +the input field." + (match package-inputs + (() + '()) + ((package-inputs ...) + `((,input-type (list ,@package-inputs)))))) + +(define (dependencies->package-names names) + "Given a list of hexpm package NAMES, returns a list of guix package names +as symbols." + ;; TODO: Base name on language of dependency. + ;; The language used for implementing the dependency is not know without + ;; recursing the dependencies. So for now assume more packages are based on + ;; Erlang and prefix all dependencies with "erlang-" (the default). + (map string->symbol + (map hexpm-name->package-name + (sort names string-cipackage-name name language)) + (version ,version) + (source (origin + (method url-fetch) + (uri (hexpm-uri ,name version)) + (sha256 (base32 ,(guix-hash-url temp))))) + (build-system ,build-system) + ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs) + (synopsis ,synopsis) + (description ,(beautify-description description)) + (home-page ,(match home-page + (() "") + (_ home-page))) + (license ,(match license + (() #f) + ((license) license) + (_ `(list ,@license)))))))))) + +(define (strings->licenses strings) + "Convert the list of STRINGS into a list of license objects." + (filter-map (lambda (license) + (and (not (string-null? license)) + (not (any (lambda (elem) (string=? elem license)) + '("AND" "OR" "WITH"))) + (or (spdx-string->license license) + license))) + strings)) + +(define (hexpm-latest-release package) + "Return the version string for the latest stable release of PACKAGE." + ;; Use latest-stable if specified (see comment in hexpm-pkgdef above), + ;; otherwise compare the lists of release versions. + (let ((latest-stable (hexpm-latest-stable package))) + (if (not (unspecified? latest-stable)) + latest-stable + (let ((versions (map hexpm-version-number (hexpm-versions package)))) + (fold (lambda (a b) + (if (version>? a b) a b)) (car versions) versions))))) + +(define* (hexpm->guix-package package-name #:key repo version) + "Fetch the metadata for PACKAGE-NAME from hexpms.io, and return the +`package' s-expression corresponding to that package, or #f on failure. +When VERSION is specified, attempt to fetch that version; otherwise fetch the +latest version of PACKAGE-NAME." + + (define package + (lookup-hexpm package-name)) + + (define version-number + (and package + (or version + (hexpm-latest-release package)))) + + (define version* + (and package + (find (lambda (version) + (string=? (hexpm-version-number version) + version-number)) + (hexpm-versions package)))) + + (define release + (and package version* + (lookup-hexpm-release version*))) + + (define release-meta + (and package version* + (hexpm-release-meta release))) + + (define build-system + (and package version* + (let ((build-tools (hexpm-release-meta-build-tools release-meta))) + (cond + ((member "rebar3" build-tools) 'rebar3-build-system) + ((member "mix" build-tools) 'mix-build-system) + ((member "make" build-tools) 'gnu-build-system) + (else #f))))) + + (define language + (and package version* + (let ((elixir (hexpm-release-meta-elixir release-meta))) + (cond + ((and (string? elixir) (not (string-null? elixir))) "elixir") + (else "erlang"))))) + + (and package version* + (let ((dependencies (hexpm-release-dependencies release)) + (pkg-meta (hexpm-meta package)) + (docs-html-url (hexpm-docs-html-url package))) + (values + (make-hexpm-sexp + #:language language + #:build-system build-system + #:name package-name + #:version version-number + #:dependencies dependencies + #:home-page (or (and (not (eq? docs-html-url 'null)) + docs-html-url) + ;; TODO: Homepage? + (hexpm-html-url package)) + #:synopsis (hexpm-meta-description pkg-meta) + #:description (hexpm-meta-description pkg-meta) + #:license (or (and=> (hexpm-meta-licenses pkg-meta) + strings->licenses)) + #:tarball-url (hexpm-uri package-name version-number)) + dependencies)))) + +(define* (hexpm-recursive-import pkg-name #:optional version) + (recursive-import pkg-name + #:version version + #:repo->guix-package hexpm->guix-package + #:guix-name hexpm-name->package-name)) + +(define (guix-package->hexpm-name package) + "Return the hex.pm name of PACKAGE." + (define (url->hexpm-name url) + (hyphen-package-name->name+version + (basename (file-sans-extension url)))) + + (match (and=> (package-source package) origin-uri) + ((? string? url) + (url->hexpm-name url)) + ((lst ...) + (any url->hexpm-name lst)) + (#f #f))) + +(define* (hexpm-name->package-name name #:optional (language "erlang")) + (string-append language "-" (string-join (string-split name #\_) "-"))) + + +;;; +;;; Updater +;;; + +(define (latest-release package) + "Return an for the latest release of PACKAGE." + (let* ((hexpm-name (guix-package->hexpm-name package)) + (hexpm (lookup-hexpm hexpm-name)) + (version (hexpm-latest-release hexpm)) + (url (hexpm-uri hexpm-name version))) + (upstream-source + (package (package-name package)) + (version version) + (urls (list url))))) + +(define %hexpm-updater + (upstream-updater + (name 'hexpm) + (description "Updater for hex.pm packages") + (pred (url-prefix-predicate hexpm-package-url)) + (latest latest-release))) diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index 40fa6759ae..aaadad4adf 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -79,7 +79,7 @@ rather than \\n." ;;; (define importers '("gnu" "pypi" "cpan" "hackage" "stackage" "egg" "elpa" - "gem" "go" "cran" "crate" "texlive" "json" "opam" + "gem" "go" "cran" "crate" "texlive" "json" "opam" "hexpm" "minetest")) (define (resolve-importer name) diff --git a/guix/scripts/import/hexpm.scm b/guix/scripts/import/hexpm.scm new file mode 100644 index 0000000000..b49d263f9e --- /dev/null +++ b/guix/scripts/import/hexpm.scm @@ -0,0 +1,109 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 David Thompson +;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix scripts import hexpm) + #:use-module (guix ui) + #:use-module (guix utils) + #:use-module (guix scripts) + #:use-module (guix import hexpm) + #:use-module (guix scripts import) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-37) + #:use-module (srfi srfi-71) + #:use-module (ice-9 match) + #:use-module (ice-9 format) + #:export (guix-import-hexpm)) + + +;;; +;;; Command-line options. +;;; + +(define %default-options + '()) + +(define (show-help) + (display (G_ "Usage: guix import hexpm PACKAGE-NAME +Import and convert the hex.pm package for PACKAGE-NAME.\n")) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (newline) + (display (G_ " + -r, --recursive import packages recursively")) + (newline) + (show-bug-report-information)) + +(define %options + ;; Specification of the command-line options. + (cons* (option '(#\h "help") #f #f + (lambda args + (show-help) + (exit 0))) + (option '(#\V "version") #f #f + (lambda args + (show-version-and-exit "guix import hexpm"))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) + %standard-import-options)) + + +;;; +;;; Entry point. +;;; + +(define (guix-import-hexpm . args) + (define (parse-options) + ;; Return the alist of option values. + (parse-command-line args %options (list %default-options) + #:build-options? #f)) + + (let* ((opts (parse-options)) + (args (filter-map (match-lambda + (('argument . value) + value) + (_ #f)) + (reverse opts)))) + (match args + ((spec) + (with-error-handling + (let ((name version (package-name->name+version spec))) + (if (assoc-ref opts 'recursive) + ;; Recursive import + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (hexpm-recursive-import name version)) + ;; Single import + (let ((sexp (hexpm->guix-package name #:version version))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + spec)) + sexp))))) + (() + (leave (G_ "too few arguments~%"))) + ((many ...) + (leave (G_ "too many arguments~%")))))) diff --git a/guix/upstream.scm b/guix/upstream.scm index 6666803a92..b0f77fb7d0 100644 --- a/guix/upstream.scm +++ b/guix/upstream.scm @@ -464,6 +464,7 @@ SOURCE, an ." #:key-download key-download))) (values version tarball source)))))) + (define* (package-update/git-fetch store package source #:key key-download) "Return the version, checkout, and SOURCE, to update PACKAGE to SOURCE, an ." diff --git a/tests/hexpm.scm b/tests/hexpm.scm new file mode 100644 index 0000000000..84d126c821 --- /dev/null +++ b/tests/hexpm.scm @@ -0,0 +1,257 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 David Thompson +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2022 Hartmut Goebel +;;; +;;; 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 (test-hexpm) + #:use-module (guix import hexpm) + #:use-module (guix base32) + #:use-module (gcrypt hash) + #:use-module (guix tests) + #:use-module (srfi srfi-64) + #:use-module (ice-9 binary-ports) + #:use-module (ice-9 match)) + +(define test-bla-package + "{\"name\": \"bla\", + \"html_url\": \"https://hex.pm/packages/bla\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"A cool package\", + \"licenses\": [\"MIT\", \"Apache-2.0\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"version\": \"1.5.0\"}, + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.4.7\", + \"version\": \"1.4.7\"} + ] +}") + +(define test-bla-release + "{ + \"version\": \"1.5.0\", + \"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"requirements\": { + \"blubb\":{\"app\": \"blubb\", + \"optional\": false, + \"requirement\": \"~>0.3\" + }, + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\":{ \"build_tools\":[\"mix\", \"make\", \"rebar3\"] } + }") + +(define test-blubb-package + "{\"name\": \"blubb\", + \"latest_stable_version\": \"0.3.1\", + \"latest_version\": \"0.3.1\", + \"html_url\": \"https://hex.pm/packages/blubb\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Another cool package\", + \"licenses\": [\"MIT\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"version\": \"0.3.1\"}, + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.0\", + \"version\": \"0.3.0\"} + ] +}") + +(define test-blubb-release + "{ + \"version\": \"0.3.1\", + \"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"requirements\": { + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\": { \"build_tools\":[\"mix\"] } + }") + +(define test-fasel-package + "{\"name\": \"fasel\", + \"latest_stable_version\": \"1.2.1\", + \"latest_version\": \"1.2.1\", + \"html_url\": \"https://hex.pm/packages/fasel\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Yet another cool package\", + \"licenses\": [\"GPL\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"version\": \"1.2.1\"} + ] +}") + +(define test-fasel-release + "{ + \"version\": \"1.2.1\", + \"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"requirements\" :{}, + \"meta\":{ \"build_tools\":[\"make\"] } + }") + +(test-begin "hexpm") + +(test-assert "hexpm->guix-package" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm->guix-package "bla") + (('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0zcl4dgcmqwl1g5xb901pd6dz61r1xgmac9mqlwvh022paa6gks1")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0))) + #t) + (x + (pk 'fail x #f)))))) + +(test-assert "hexpm-recursive-import" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + ("https://hex.pm/api/packages/blubb" + (values (open-input-string test-blubb-package) + (string-length test-blubb-package))) + ("https://hex.pm/api/packages/blubb/releases/0.3.1" + (values (open-input-string test-blubb-release) + (string-length test-blubb-release))) + ("https://hex.pm/api/packages/fasel" + (values (open-input-string test-fasel-package) + (string-length test-fasel-package))) + ("https://hex.pm/api/packages/fasel/releases/1.2.1" + (values (open-input-string test-fasel-release) + (string-length test-fasel-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "bla-source") + ("https://repo.hex.pm/tarballs/blubb-0.3.1.tar" + "blubb-source") + ("https://repo.hex.pm/tarballs/fasel-1.2.1.tar" + "fasel-source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm-recursive-import "bla") + ((('package + ('name "erlang-blubb") + ('version "0.3.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "blubb" 'version)) + ('sha256 + ('base32 + "17y88b5y8ld7s1c2bcwwwa04pf1cl4402i9zk3inna221ps3ppj2")))) + ('build-system 'mix-build-system) + ('inputs ('list 'erlang-fasel)) + ('synopsis "Another cool package") + ('description "Another cool package") + ('home-page "https://hex.pm/packages/blubb") + ('license 'license:expat)) + ('package + ('name "erlang-fasel") + ('version "1.2.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "fasel" 'version)) + ('sha256 + ('base32 + "1k6d70mxwqgq78jrbr7yqnw187yki74jnagybi7nacrj4a67qjha")))) + ('build-system 'gnu-build-system) + ('synopsis "Yet another cool package") + ('description "Yet another cool package") + ('home-page "https://hex.pm/packages/fasel") + ('license "GPL")) + ('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0d3gj746c4swbb1m6ycylxb239jsavvdcizag6bfbg2aqccxwij8")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0)))) + #t) + (x + (pk 'fail x #f)))))) + +(test-end "hexpm") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:51 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:51 +0000 Received: from localhost ([127.0.0.1]:41426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckr-0005eH-RD for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:51 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:41769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckg-0005cx-3H for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:35 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MxVbb-1nsxnt0jwP-00xuWC for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:28 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5BB876647C; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 03/22] gnu: Add erlang-cf. Date: Sun, 10 Apr 2022 20:57:01 +0200 Message-Id: <2b273525253d11c97d5202561763a30d89eb745e.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:EhyktPN11GyKidiUrqPrpqTCu9z2g51CXZ+X761EqdzipFLBD65 wURUWwZchdO1n62OW6bgLvrFFmYvnsPaDfZogZ1FizaNqOZCmu87VvD/+y/N8QAik1YIpxi jZIY2XiNIGcU/hrC39u+mXRqqo/MCzYSA1k1r8zk4TtJJGlHus2KA/r7csLHMQcJ5hJb/9G UcqcRIt0GROpdNfYeS0aQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qFOKnuotL0Q=:pyuuIGNxENtC2EOjU7a3dY 2Ym36oPNKoXJikv7FzuNPz1ZovMU7IN3pphd92cfRwp2TLlph44yQCgaTIQkzl5AzBItTSDvo 0I1ZvYM3UYzJWgylr/K3+Ol4Rq/2PWU2V2Jw8ZiiiUSvN/shR+OLk1gOsC3A29HC9Vp/MV5w4 5UH2cZbQw8NroRiLphBvaKLRSmuCf1Wy7Q6cIcWm0ZrU5SoM/WOuafOGNSFqKB4H7oanjR6jM aeD0ITB3zn6rqA412m7IDD2lBV6Hs66S/8scdZlIIx/wqbNywHKlwbkGlRoOA0zohYRE1CjNu iK14IRUi3IcnDkOO86oeHuIGjY7BWTCBlBAx4O43h9s0Bnoma/BD5aWaufEHU9WxItwbvIhH5 z2EU/h8a0TwCxVECfIjqrDCfav+Wz981J8Ee638fOAVFaf5B+w1pcvQKCUKO2jKlH/8z3YHkh yeCOZokQKgdodg6/FS0nB0zbZjYBjKM+4O8IZypKy/GPxej281ceaOgk89LyZmYV81Qw7ckt+ 6R9O0i1TL2rWup241cXI7QYG/d6xDFdzH1XcV3k/F0dpTLRNB22DOmpp7YkkQDTCd0cH4j0TF Y6wb9vdSvM7yHKCPTFD83KwgNo9Mp7SYYdl2QN2pzU4X2+jMfaorVqwgKR7Qq+vXHWa4ufnGI P6BAon0stW6zBNVdRjOOIWGps8XtTQgLPvsRNiOS6EvfHsDpTAqwd08EJkiggNSBxpTMHvn5M XhCa6CkIcHhcPR17 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-cf): New variable. --- gnu/packages/erlang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 888a0f4f1e..0b9e89d134 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017 Pjotr Prins ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Nikita +;;; Copyright © 2020-2022 Hartmut Goebel ;;; Copyright © 2021 Oskar Köök ;;; Copyright © 2021 Cees de Groot ;;; @@ -26,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (guix build-system emacs) + #:use-module (guix build-system rebar3) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -203,3 +205,20 @@ built-in support for concurrency, distribution and fault tolerance.") "This package provides an Emacs major mode for editing Erlang source files.") (license license:asl2.0))) + +(define-public erlang-cf + (package + (name "erlang-cf") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cf" version)) + (sha256 + (base32 "0wknz4xkqkhgvlx4vx5619p8m65v7g87lfgsvfy04jrsgm28spii")))) + (build-system rebar3-build-system) + (home-page "https://github.com/project-fifo/cf") + (synopsis "Terminal colour helper for Erlang io and io_lib") + (description "This package provides a helper library for termial colour +printing extending the io:format syntax to add colours.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:51 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:51 +0000 Received: from localhost ([127.0.0.1]:41431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckx-0005el-Dl for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:51 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:39799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcki-0005dA-66 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:36 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MYeV1-1nPefp28tH-00Vgrc for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:30 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7124E6647D; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 04/22] gnu: Add erlang-certifi. Date: Sun, 10 Apr 2022 20:57:02 +0200 Message-Id: <9d4747b3080cbbf91ab52389bd9802c8d36aa08f.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:tyI3jat9mnpfpRMkMN+xciIpK76bwFRUm3mO2ZIP4Za7xuUnSoG Q87/nTlB2N1uTO07oOTlOMDagfhmorkEc/2RAP5kJ/QrilKmhIViJXHaU36MBeGsgekjLtF HOL6hjqYeJyfxOTfyVmU6yMNy/dztcGBQTVlwtctfoUDX6JHHc7oQgw8CxG/KaMu3Dca3Y8 fvWGRkKDFQ92D+azrQq/A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:E1lUxTY41A4=:vQkT8Ij2Qo+cJhRwaJ/IVI cxnsd6vXclBRO9kldjae1jZJ71PlUc2pVE4ZIXaqtgPOnFx8gSInzZCBW/kt6zsa1hP/bTzMV U+8qFLxfLDiCRX5RSJwyqBIGbJkbEsI0R+WkEhrBnPQ81/p+dOh6Aa1LTmzr/FnIAmY8K8oLu EtD2RIZ5OxrklRC3tKp7fPYtkE+aLCXbPE4z2UsZcZY4MOxrAcgoftqG4isNJgPKIXdwpOfnV WUgQ7WWu/tfI/O8Nm83q8wnTpAE6es0qkELL/NJGxbaQks4xKoVdHIncR5SXCx0uVuoSUgZfm pYkLPPvOSBmXzht9v1d8FnXjMoiEn6g+MYSVddKPjAb7aR+kNLh0GF/rjwzgSwjGRn9qM7rMz ySBrtZlhKboi42tC7Zvj0xbt1RiQoqxuuos8UVHoGlJcNMRSFRRllHct2miWjitvH7bpMVke5 bKZCqSV9m0syWRX337VXthmsEmOdQ96wIbG6PIW+4yjTf/p3vqlJLasr3mMqW//BlJDr5BDcW 8+jZyDOkJ2XzYRzQfEvdgM8qFRCqB9DdAMrCCu7xEP67DllAjrd0I//l5fyhzkNMW7OHbJ+be VPV8tEcRtO7nWAnEZ6F1pSEJI9HDikxpSj6PQiY88DqJDHeHEaP6753OEUz1Va85D+Wk9kXdu sZy+QbFMdBH0FXRDX9GK6eek5eRWERhsJJjyB/DRg9bi8SOAghKHZRUajHa0tlwyAfRhzXLod Bi+UoA97ZHQ2Fc75 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-certifi): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 0b9e89d134..02ea0deed1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,30 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-certifi + (package + (name "erlang-certifi") + (version "2.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "certifi" version)) + (sha256 + (base32 "0ha6vmf5p3xlbf5w1msa89frhvfk535rnyfybz9wdmh6vdms8v96")))) + (build-system rebar3-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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:52 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:52 +0000 Received: from localhost ([127.0.0.1]:41433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckx-0005es-Mv for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:51 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:47871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckk-0005dK-IG for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:39 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MhClw-1o81ok3Zju-00eJT9 for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:32 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7C80D6647E; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 05/22] gnu: Add erlang-erlware-commons. Date: Sun, 10 Apr 2022 20:57:03 +0200 Message-Id: <47b8bb91b19c0c8c555ce0b322f4694c3665f464.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1UO8gH2CY2jzh4hiCFhfmfoN8ibFG9RW/5z6MBD5EYvMdakGBr9 OAI671GrPznmI9UAGUjySuvOiSsKUjY/V7sFIO/KzJyI1OiflxnAtS7cJBVnZPPXlLF76yb t3gvHqjXM993Sjthc17TTq5rIr3i4uh6hLHfWAj6oX9IjkgxaR/yVYQyCU02lfFeVTOwrjf DhQbslAHEnFonjCPVTHAQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eHxd2vQTmuE=:udFnux3hFRhhGSci1eLwmg rVaRMySzTOmrH6cSV26I+40N0cU793YHa+rApoEJ29L/AfE4SBnpGKNyV9d1ky2o+QecuhWwY 5AmXMunsziQGpMGMjpDhqVKmvGQr26fSHUURHmpjC/DNrcvywHLvV7P82dGw197OzOfiRpSmc 4dE/vuDk7/bWI8OFwgP8TmAo6or7qWrABhwqNGrtSOnAu/cUj0ErAUudks9PJm72q8FfN5nuW GZixvoQeRaGZNOX3wDx1kIHguQtnaACLH279oCQmiAOACt5FSVwfgMNwYtDpNbWN1k2xexz5e dGvzFdmacfz+P1aPBF9maHMzQo597g3lFbS4lsYvCe5tPRAp+Vib/CCGjwi7VNH6BgsjOTRcX 2eRonlOd2N/H4lPmuc4kbY7Q+VrZuH4c8fcaJFIlW6pzkKpFrom8ooF7WFFq+xEeNS8LGKxeo jOV+K1GluNhF4gwEQ8KnXmsiCgNBgF4dkEQAFOs5cbiky8nGYPIC5JvK0VWkq57AcWedfD8CH WkTwWUK0hlo7EpYfmm05zWRT/W7qy8DBEBkRVTu+wbgqyh8y5ZLipSB3ci7WNljeWVDwlXOaH WehgWavX/ab2DvDDbEvqSwi80byLOYMAvoZNJ+g+/ynZny2Vhqx1T/ORlFMl5bxdRLxIoflwr Dhrl/VTyPPQFt9TrG2EvfEPk8F/G3UjNt7GA22NxW79QAibHCXzhJZA1fkM+I0ldTT7glxtLj Hpo2ifcOQdvUWBfe X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-erlware-commons): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 02ea0deed1..98f6a44cb4 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -246,3 +246,30 @@ Mozilla's canonical set.") (description "This package provides a helper library for termial colour printing extending the io:format syntax to add colours.") (license license:expat))) + +(define-public erlang-erlware-commons + (package + (name "erlang-erlware-commons") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "erlware_commons" version)) + (sha256 + (base32 "18qam9xdzi74wppb0cj4zc8161i0i8djr79z8662m6d276f2jz5m")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (native-inputs + (list git-minimal/fixed)) ;; Required for tests + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "TERM" "xterm")))))) ; enable color in logs + (home-page "http://erlware.github.io/erlware_commons/") + (synopsis "Additional standard library for Erlang") + (description "Erlware Commons is an Erlware project focused on all aspects +of reusable Erlang components.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:52 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:52 +0000 Received: from localhost ([127.0.0.1]:41435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcky-0005f0-0e for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:52 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:45703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckm-0005dY-UN for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:41 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MlsWZ-1oKtzw0tBT-00j4je for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:35 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 923956647F; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 06/22] gnu: Add erlang-cth-readable. Date: Sun, 10 Apr 2022 20:57:04 +0200 Message-Id: <9c93787f4991d5e9ac0f77fd439a1fcde6efd387.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:nLrNrdGvQjeK2SP5h6KypfBvcPtBlKuzttFD1/4LCLb/dzwSNNB aqGIz1nMBl9fnR/fgmQAs1hTwN+XoXKnmc/WbSdDxO8B25uzNpyD9BttHJ+y1mhtcQRJ1rO y2qKslQ5PcEFP5Sj702RxLg0AJXTxX5y+8fBUgQc43L/NCcXOI4PmioCCX0HARt+oFUSYQj 9PWULIGzDznHbqzPcRz5w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:n+pKR+5qU/w=:auCK3IptdHJEfY+R4DDJPT t0q7ptzpKxNbAlAoUAIrvW2wCaZgx+ob37iIWTBbrDVoWCJHrA8truXphaefh4AaIxg1hfh5N WHJ6lVwWFtulg7TgJYOdouheZh1mQbPAruDB1j3XHaXMwi1mt+W52RTNs2+zZBt+n0AudD4z+ w/iE89YZg+vlaBe7P05u6nYCxFzWrfAgQu3P4le3ihTC0naGS0mWolQ3Jhz+deyDA4sUwSiAB rV+Iio9SayldA1lOSEgR5qnup9avtG5FEhm75wPQ376CiVBnNuF9dj8j+RMOrMn1mZW0kqi3b qibv2BHAAbd0onJ4cnVLnswu0GC10nI8ucS9UfGt+0yL+GXytDdEM87p4QHAZp7rmW4ufgdZo EEuFf98/ROko6sp9EN0VexByg4RmRITw5Ppxq+pF6j/ELg+hIobqlx5ycXeqDVCELpbqHiW2M 0JuL7UrErdNlPob4s5vTXQQo1K/vTgR6YtRvN8FyMsgUWbryZRs4P/lvO/PZb+qrgt6+24pCn BH0zovJHTTkJAM+6wR+ivVAX6JSu1F4XZpKn3ztkaFcXPa87GL4OS8WVBQ/B6rePDDXuL6N9q b+cna8mPuEm+vg3SeVaHamLbqfycOb8wwj+H5vLEGuGVaO8tBGxNSHbmTOjvYr9RXh+iniDpa QenfFvtwdltXowIw8AKBrG3wB7YMmCqrtMx3pGOA/tf6+qYcNwXndtPL5uXdEdlwmZTrSrzc+ ieJA1tREtL9WgQXi X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-cth-readable): New variable. --- gnu/packages/erlang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 98f6a44cb4..a06de3bb87 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -247,6 +247,27 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-cth-readable + (package + (name "erlang-cth-readable") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cth_readable" version)) + (sha256 + (base32 "104xgybb6iciy6i28pyyrarqzliddi8kjyq43ajaav7y5si42rb8")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (arguments + `(#:tests? #f)) ;; no test-suite in hex-pm package + (home-page "https://github.com/ferd/cth_readable") + (synopsis "Common Test hooks for more readable logs for Erlang") + (description "This package provides an OTP library to be used for CT log +outputs you want to be readable around all that noise they contain.") + (license license:bsd-3))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:52 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:52 +0000 Received: from localhost ([127.0.0.1]:41437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcky-0005f7-An for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:52 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:42183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckp-0005dh-Pm for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:44 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mgw7n-1oBb8G2QkX-00hKbM for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:37 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id AA50F66480; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 07/22] gnu: Add erlang-bbmustache. Date: Sun, 10 Apr 2022 20:57:05 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:FPZaw2HrOQbhXbDS5g4x7i4lOyRJF6R4lURLNkJJt7YtZyScT4N 6o3N+K9tHscYgLPCmOjY+JMe+XJYhuoEH8EHcdcXdbSvjoa8YL+7+R84u5VtM6gt/skT8a/ 5p/RR9qoisRq6+LM9VavDWIZumsKxNcohLSm9KzLEJZ1JzsdX4F47AGAeQ0FjVadhO/SSAX NbPBtNpCDOCd61fBAFrzA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rtilLeKHYno=:qd3u2gRthpsZ8T/JKKYmlD uYxKyj9DD9LlqPKmP3i5xipKsVduy9bN2PdRB3jDj7gPc6gUv5Yjhk0V3EcmwVSb6jS+SE/uN 4zkH5Hy4YneSnED9vu+6qjDKYLCvqqfHAfxdh7x0igKwxZUMLmoi1znKCE3ZNEgdiGzpO+jSF 14tST1mclyoIiJdYYvrqOe42tRee72VcIM1Tkp0ttgjLdzJ6HBL6+J/3jYbTGKVWBnL1Uh9iy H84G7aP3Y4mXGZhpspH33/54+7ObGU62yNMS9g4c1ceSLku1r4qKjhNK9YsMO28EsgWa62IMy bQ/BIPO6z30W0ZeFGEHl1LLqdTjL7vhJ5+GPf5MunF7Qacrv2lmvKkH1w6La10ASFBYbU/wXn QpteNRcHXFQH8fKz/x1sv/2bqAq+DK7/KPTVnjnNmLkWeLJ440qdx7slETLfauMvoucQ03/JH 6XA6pKAIMLumCE2ogV4A/TbbnXiVn3VDBo+Rv+WtvVeNh5DfN3lJ3Sp3i9EO9gzyOhz8P/lrs bpwCaRkX6g5kU6I+ybpF8hy21JDgHEOw05Kc1kA9qVDdNuQR2Dxa9KGloh8WQT0Xd+etWmg5x k5/i1k0kMq7xc+90/jlTLA2tCPZMb9hFCwi3umBLQz0WBZOLP4bP4S2EMUaD565YpKW2oeOIj +/It4ZsGg3balGUqjFvCcAC5H9BNEsdINF2yQo9He7dxY/BgZROMX6CHYlVf4gKll/aiCqYxM 8Lto2+hRPpDZz5Na X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-bbmustache): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index a06de3bb87..c025eb83cd 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,38 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-bbmustache + (package + (name "erlang-bbmustache") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "bbmustache" version)) + (sha256 + (base32 "0fvvaxdpziygxl30j59g98qkh2n47xlb7w5dfpsm2bfcsnj372v8")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt rebar3-git-vsn + erlang-edown)) ; for building the docs + (arguments + `(#:tests? #f ;; requires mustache specification file + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-more + (lambda _ + (invoke "rebar3" "as" "dev" "escriptize"))) + (add-after 'install 'install-escript + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "_build/dev/bin/bbmustache" + (string-append out "/bin")))))))) + (home-page "https://github.com/soranoba/bbmustache/") + (synopsis "Binary pattern match Based Mustache template engine for Erlang") + (description "This Erlang library provides a Binary pattern match Based +Mustache template engine") + (license license:expat))) + (define-public erlang-certifi (package (name "erlang-certifi") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:52 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:53 +0000 Received: from localhost ([127.0.0.1]:41439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcky-0005fF-LV for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:52 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:46531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckr-0005dx-T2 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:46 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M8hph-1nYy3e3t1F-004nJ3 for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:39 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id B774666481; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 08/22] gnu: Add erlang-getopt. Date: Sun, 10 Apr 2022 20:57:06 +0200 Message-Id: <02c3ad5b64322f6437430bafe60d8c87fafc2000.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:YY4eh6rZRndvZGq/D5lcddAwf2d3IywEGBmvG9KmhHo1SaytX/Q VQvRGbzH4XdiES4wjhcZI+NItHaMW2MK1Fa4bNxQHon5SdLNmVrx1rPc5bkCNR+svRQCHxu /6VTC5Ef1GLFMqBfa82jJLYOcOqju5WlubWGieooaZghs2KXBmWyyv+fLAjKNEPR75j3nP6 f8pzkWCcYNKXZTYrWIaIQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Rw5Kq0f1LTI=:HwtG4rRHqI2uLkJ7owMQ5N aasvpTE3+rrj2ag7+P3+SQxNhoB2MqYpeY0RL9Z8JVlnPtH6S3kb1d3V05t9ySE8HW9t+/PUn YWf01Q1o7lGr36k6sYFFzaXY1jqCJ86BBC4M1HkBlHcGuI9rOENdTiodCnH6E10YCZZgUn8JL 6jtHrEaDvP07lYA9fX8lhLvHSaBnfbpIzWo/XotkapHz5pKf+0KFmF9s1xPdJerOj+3IMkRay pKVSLct++AkxCjDEYWaOAA3nA064SUu6CBxvelTFQOXtT2DLf+eIWxnQYgUgcC5jXA25JUK1Y LgajpVDSYimH/mIBQ+N/A59QpUgh8s7/79gdSWkzTYoSRPgdFrtl7sJx0wQlkqrBmcw7J4yhX Yq3psz+Ap9SrK7fp+YKtO3p1M7HowzLD3x3oXxRRPJSLBwL9uFGk4EFwn4bwLxdTqPELoJ2qR 8DxTeJjSBslMv2jlc+TSSE58N5U94ymX0NZup9Q7WdQq3iGyU6cweKB4V6LAK7XHio5YjfeAj VyZdz1cCxH4OoSMfHOlBRB+9xd0VIT8VH39UIWQa76/ef64eP5rPTrCb4Dw6cpmFyTdohm8Fv Fe7lmMMbSQs5Kvhch4ZVxReYj6mfjG1h+EFQscbNLNtmkhyv2RrS9Ks2gbYn2fsMsMiKTZcep wu4qDCMYTbeSZJN3dl1hTWhrsvWpw+LtrBczrJw6CCy6JwN+f24/8uwOJNhTPCXMLsHa7uPtb PzGcUkotaI19momZ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-getopt): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index c025eb83cd..2b4d0bfdc3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -326,3 +326,20 @@ outputs you want to be readable around all that noise they contain.") (description "Erlware Commons is an Erlware project focused on all aspects of reusable Erlang components.") (license license:expat))) + +(define-public erlang-getopt + (package + (name "erlang-getopt") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "getopt" version)) + (sha256 + (base32 "09pasi7ki1rivw9sl7xndj5qgjbdqvcscxk83yk85yr28gm9l0m0")))) + (build-system rebar3-build-system) + (home-page "https://github.com/jcomellas/getopt") + (synopsis "Command-line options parser for Erlang") + (description "This package provides an Erlang module to parse command line +arguments using the GNU getopt syntax.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:53 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:53 +0000 Received: from localhost ([127.0.0.1]:41442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcky-0005fN-Tw for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:53 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:39279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckt-0005e6-Vc for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:48 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N95Nf-1o05sf15C3-0167Zr for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:42 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id CC9CB66482; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 09/22] gnu: Add erlang-eunit-formatters. Date: Sun, 10 Apr 2022 20:57:07 +0200 Message-Id: <993e14ecae2227545c39197f7a270d518f08b9db.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:0MBZaoQNb9zY4+Y1VQB3esfzCWAiZkIaBy6uiND5pFBxxXIsQsp LIDBpwO0szrjYXZ0QlMdYb84tAF/g9CUvX+rmRzOD2nzCqMJ6Bko/yBE9N0/746ARLllYg4 qWXM5QIdIZpTAoIBH5X/r59XOGGNZbIffMhKoh9HcUEmGI8CyxhpgXE7KEHrB+cuan7aaX8 RrQYenh46xRFFwkqm6nyg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tc9dizVlF2c=:VV5Fqm3fg6RBu1pviSO7xL 8fY5BQgg1AzODUq5T1hEEpetPygcDMI060RGlImo6oaoRH6+cXcQ+fXAtgOiK+fEI3Et/SDQn PM7SYsWBzUtVdQqN0b6Xok1EqFUrCge+YoyFa0sQfsHwXZghKzcf6k1XnpBxkS5FN/Kxrt2PY cgOyb/TzPEfHvVeaEpfpXeuP4D6FMq7THAoW3rFNgSwmCANb9JeT6PteqEiEAffWEL8sylyqC 7NOmLji8bJfLCZJNlS27t0+ic45nmMx7qRhTGNfmx6U+/qtNfcNZmTyoXDpUuK8w8eDObCF4K FyQWhCiBWq54EVT6lny3ctyo4Ror8SDRQr04r1glhJMRYrhrgZEvi/30ZD+/1X2wq2mrXDqxJ B9WEJDl2fkxaPaOL+/qKlFk3cbBKmCVFtxrlO48RzRbQ/v69jBDboKOaHghK3AiNT3Ks3t0CC OlTZnYUlilOWr/C5uLFPT91GlfvaKcedtb6e9d3M9D16hVsJ2RrTgHP+pQ++9A5qgQUf9/Z8E uycBNsMz/SByVnKEhvLn/YfGjscqfmcqeDY9hR6kwI25dHOKmB5sQBTl1TW6vwib4RIZeEcMa E+qBDzHFPEMwN02sVnj3f1azzuHMqFObatYnk/PNO/EzYivn3fy6LaO8lnqEajHySrGcnw2qS kdcMaAvwToNpj+ogUEI0Z5Ap5UiUm8fniqufzMqBDruYKz/YBbWmBaY7CirdJql0IDk3w7jpY rg/iAwlTN18Y5VeI X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-eunit-formatters): New variable. --- gnu/packages/erlang.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 2b4d0bfdc3..0b4fe327a5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -327,6 +327,22 @@ outputs you want to be readable around all that noise they contain.") of reusable Erlang components.") (license license:expat))) +(define-public erlang-eunit-formatters + (package + (name "erlang-eunit-formatters") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "eunit_formatters" version)) + (sha256 + (base32 "1jb3hzb216r29x2h4pcjwfmx1k81431rgh5v0mp4x5146hhvmj6n")))) + (build-system rebar3-build-system) + (home-page "https://github.com/seancribbs/eunit_formatters") + (synopsis "Better output for eunit suites") + (description "This package provides a better output for Erlang eunits.") + (license license:asl2.0))) + (define-public erlang-getopt (package (name "erlang-getopt") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:53 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:53 +0000 Received: from localhost ([127.0.0.1]:41444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckz-0005fb-7N for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:53 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:57895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckw-0005eE-Af for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:50 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MLzeb-1nLovB2RWb-00Ht6R for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:44 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E360766483; Sun, 10 Apr 2022 20:57:32 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 10/22] gnu: Add erlang-providers. Date: Sun, 10 Apr 2022 20:57:08 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:L0Y0i1Xx/z6u91OFNo0L1esdDL+39RKnDXWVbiEPKsxMoGJdBeg cT7Z/0sIpJTH/i/KMCieu2uEjna1xS6XcuK4kLxqMLyPoKRo5ea2PB5y3hW0GDiLo6FnuAR g39f0zFn/pRuCrX85MewXHTYkiNgi+SSVaz1of6Ag13DogPRxn7Fe/gvW4VT65hB01Hs2uQ dR1cAaSJsP96b0UQdF9bQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:f96/+nrRAr0=:6F1/Oh1apbEMIWFVPvm11y exM+fBreSMIzcXhIUn1Y26yi1bl36Fzf5VtCtWWgc5q+wdVtVzOuOAsm/aTOCj5MhLP92Xabl MMYCAXfFAzUEeKRcfb+OfmxgpdAe2T5cluSvsFHZ8xXo3XlWsxiBT6NsvOJBEhY1dhWUILU+w zzLnPZIkXfU1gTZeeXL80L+UB5WoNiUhHmEGUSTrqU7a4O9Q4OTr+9/V3TDgTR7r8YW6Q8HdF HxaPucUCOVQB8L3fyF1Cb58NuqWxFU3m6nosZLEMeUqSdqLm/LZg+FdxkuHlt5Kx5EZzt09Q0 vqEYngVlUtqE4VLDl2afj41vwQjjU5C0vGTZXWzrMaE5VyTjFeo8ItLFRLBLN05sDSYev/FFd K9QJ9szbcmTRKdFLNFPbcdpewK6Pri4lGexZy+IBb4UWM5Xnke4q2oBENQqNEc3FSqv0skS7b zhtp0/ovCsBFt4j4yNKy+3hXyfpsFKG4qL6nPrp+T0xjpyvBeLrwF9k/c01f0LrhqTJgoqaP5 IFsU96z3aMs3lF3Pj1KuYPXYne1mzOKZwWEfKMK4/fDByatih7ibuY2ScsSmOtI8nGdWM8ob2 rEOE/6chs5R31AAPkjwurx2ckglUHswnQisOa90Thya6Lv6xTt4T1yNMuEefgymMgOYCRzJFA Gk5WJBbaZRsGQQgsoMBChU6ROLMVC9WRs+/xtVXNJDJA74gJV5o3386w+nBLO/MwQ5xUpVVCi Zk7+Eehr8sNBslkp X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-providers): New variable. --- gnu/packages/erlang.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 0b4fe327a5..351484b5d6 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -359,3 +359,21 @@ of reusable Erlang components.") (description "This package provides an Erlang module to parse command line arguments using the GNU getopt syntax.") (license license:bsd-3))) + +(define-public erlang-providers + (package + (name "erlang-providers") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "providers" version)) + (sha256 + (base32 "05y0kz3xgx77hzn1l05byaisvmk8bgds7c22hrh0a5ba81sfi1yj")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-erlware-commons erlang-getopt)) + (home-page "https://github.com/tsloughter/providers") + (synopsis "Erlang providers library") + (description "This package provides an Erlang providers library.") + (license license:asl2.0))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:53 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:53 +0000 Received: from localhost ([127.0.0.1]:41446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndckz-0005fh-HI for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:53 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:48705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcky-0005eU-Iw for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:52 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MsqMq-1nxcVm3oPA-00t8lj for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:46 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 050A266484; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 11/22] gnu: Add erlang-parse-trans. Date: Sun, 10 Apr 2022 20:57:09 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:IobzanEbIuqzLQcuhJuZWUMyiaopPlWv5KCkPSzbsFMva4CKih4 kWoqpInnu4ThzWgeR5+BBnEZ8q12iAwEg5fIIndyJSY0nctNEForOwxLHDyQhCjN5xq4UCz yKXjWtLpZrDGpEIAWFpxX/S0/k3qxrXPWvtwPPnHNPtbskjjJp8wyZHWXi3kjo4mxUgzZh6 mVac4/qhfgOZRFAD24ByA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:F8qNI4ykOdA=:FjLRKelI1IhtlxCjH9sRq6 cTp3AMgRhlahzhoxYwWjXUBEPfVNi+kM/1bsPOMhKH8EXBDerhlC+vqGPMgmEAB40ddBWNr3c /dt73X0VmzW6Z+YUqNYzaftj2P0Hk5c8keeQcfOP+kshu0mpkss6gnIWauk1OVgfjkQslrUjR c+5rz9N8lqm/2o9DwRsU+Hx2MexoETX2P4NprB9dXBBAkXGNd9e0YJu/LV/QS79ym1pK69o8g G7WtHRejynTc5FkZwm+xRCLPuFSXD2keAy8Pz+4gqMFnYdy+VwG7HEUE/EMBjI78mwCPSeUet HgOgoacjCfrHCnk8twrx6f98wPgRtKQooTYzuIriJPKcQtkpwcs7f8Bu6ylp604RckUawSjjh AzcrK68ps/pFJ2AV21MM0jj6TmyTp84I5XyuWoeB5qtQmdWwxnS/n4WSiFb2OAgImwaZQREPb rHiAJvn+iPF90HWs9riHiemU4W3Blt6bAGIKYy7/ItChZXYgyq1rM1gYmoUptLqOAHpWZw1d1 kHNzJsvzNyzfOOUr7jaUqXqbxu5YMdTAWfTRKhkjihyrg6DbsGzi9YnYfso1DRzurSVEA+kFy whVqHO0WfhT7gLBAKMlocpWcp5DUAGp356DgRSeiQc2Ih6XuuV9bPUpKq3zmxfNqMreFpkW/p VyEFzEdEXc5FKyuZaPEpglkPmWF/I6+b5OJ8hLAldnGuMQPInv4w2Eyo+JKAKvz9DuY9VUtro DzsH0PLS8GyiKlZK X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-parse-trans): New variable. --- gnu/packages/erlang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 351484b5d6..df6c722f68 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,29 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-parse-trans + (package + (name "erlang-parse-trans") + (version "3.4.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "parse_trans" version)) + (sha256 + (base32 "16p4c2xjrvz16kzpr9pmcvi6nxq6rwckqi9fp0ksibaxwxn402k2")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt)) + (home-page "https://github.com/uwiger/parse_trans") + (synopsis "Parse transform utilities for Erlang") + (description "This package captures some useful patterns in parse +transformation and code generation for Erlang. + +For example generating standardized accessor functions for records or +evaluating an expression at compile-time and substitute the result as a +compile-time constant.") + (license license:asl2.0))) + (define-public erlang-providers (package (name "erlang-providers") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:57:58 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:57:59 +0000 Received: from localhost ([127.0.0.1]:41450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl4-0005gA-Pk for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:58 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:53861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl3-0005f8-Lc for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:58 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MhlCg-1o8ZnL2XwG-00dlNJ for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:51 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2541666486; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 13/22] gnu: Add erlang-ssl-verify-fun. Date: Sun, 10 Apr 2022 20:57:11 +0200 Message-Id: <494b48fa25e47554dc770a283ead188a822ac38f.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:B5Jt2cLrkSoFfvX/nldM2hl+ajcUfvRK4zXVEl0YdXHojKQhRH+ Jr/ghaKeAA72qlBYlrjJGc5dImYlufCXgvVGJBRXMCnaOlWKzc4CXK8JKJmIVkzuvElfnMD 8rBqCyZA8v9btnw6MdfId25+/7G0QuBFYD8ACucy8m5/WAznhK6ULCYyaJSuzCJtIlROVnI pNuPgGjgJfVp+VcR8psPQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8G3/rBH2Gq0=:EfkeatafLOX25R7s66xoUz Qs5p9ln+u2uMxXBTn/1/EHz1wmT4XhcJUKnis75QNIOqHf5YfFnigjofH9oszLuJ3omipxFGN cUuGIo33wZTPqXwCJEtfpAdU2Nex8z9pYbmSV7H+HRCyGzDcKnjqmnFtlw5WeTcDk/OKN9lkN togF+Krb7+3TQtkMXmcfOiXzyvkdBFDj0W1AlAKlRNXSgQcPZa72tAB1ZwiFJt9Hqmhiil4to kpiXrIaaA5jle0Ng3IATAlOk3jPGwK0Ff1RfvH4efj2s8yQppJ1hBHfUXIPWsdMXTb030BUvQ una3ZcqOgD/cvmtdv+LpTIgxENaIYFG1rfyptVRNocY+bCsN9s2GIjhXDLk+mq6Jp95+dVwv9 t6N2YzF7t28HBV8V/HAKWBuIvL8JeMElVdU5PqlLKBjmgkz2m8x8SJ70ONsdZMzSVZDyqI9ix PI0iL1VTyLXAO3FsnQjjJSwlLtXSWeM2xhy+wWE6eYXdnh41XlY9AajWNVOQfiVl93EJlElvl PkU5D9dWWezBT2NvDHzqppVMnoBO3ZSWY2HdoXlbUKLICt6YrJrNGsrDceuJOXpeo5zquZJYV 4zqBMabmGv91L5BsVSdOjoKhu0Tp8EpznATstTiBHY8Izbtkbzd00wqHqb8qrTpzJjArCwdcJ NIU/1PlpMe6Q3/AZgWThYRgNnLmouxGrGNGVzY4IYGs127a78no7uoTPTBQw9MWPiEmKnntoX yE5yWAo6/uH9ES0L X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-ssl-verify-fun): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 219cc04b05..b151f5c695 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -426,3 +426,20 @@ compile-time constant.") (synopsis "Erlang providers library") (description "This package provides an Erlang providers library.") (license license:asl2.0))) + +(define-public erlang-ssl-verify-fun + (package + (name "erlang-ssl-verify-fun") + (version "1.1.6") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "ssl_verify_fun" version)) + (sha256 + (base32 "1026l1z1jh25z8bfrhaw0ryk5gprhrpnirq877zqhg253x3x5c5x")))) + (build-system rebar3-build-system) + (home-page "https://github.com/deadtrickster/ssl_verify_fun.erl") + (synopsis "SSL verification functions for Erlang") + (description "This package provides SSL verification functions for +Erlang.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:01 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:01 +0000 Received: from localhost ([127.0.0.1]:41453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl6-0005gP-W8 for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:01 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:44749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl0-0005ed-Uo for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:57:58 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MMG6Y-1nMeOx109W-00JHwh for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:49 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 1A32F66485; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 12/22] gnu: Add erlang-hex-core. Date: Sun, 10 Apr 2022 20:57:10 +0200 Message-Id: <759948386d975c5e373b52faefc8781408f2be26.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:alq3d6/caYJCzyFO/WDx5zrr5M34PSXAf8hXe6MCQYWl0RJSTY2 p6e8ZbeMrqNelGN5tegk2Pq+isA3Zr70NiqMFUqp4g8TzHiBuPy5KtYzVD/2gqDvE6RBx51 nIgQJ313ob9rN4X/XvKvS8Ldu+u1V1FYSmKXN3LXMUYpXx+45z1MWDECq9LwpW+zLNWgG5t xrho6OqEL2u8Sg3xjV/5w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H8t+4Pn8cpc=:TkQsX5w5JPUXG0aQlxmkEY XhKXJ/iYvnmCgVwAwsQaikxlsOdtjzVnPIyyQI8pbf6vCq4LwqCgy5glkom4X1BmpTBsiG9ll MxlmuridVVPGtKvFjcLpZlZkysm0gAbEMRKktWbKqnL6Fl29h/6U8lQGgCYR70PfNlGlCJZTm oxSusShDKhOuB/3Ml95bTDiyzSa2Bl8WsqU+ew+HB1rOQ2kySCMJaEWdGB8GSEzMvGScypOdC hlDdHO0mG55atwqRPrSO8DAm35MszvJPlLHJvJQoDPiRVZ5lYQTiUC4dQo8LlTOAiBlQuHpiN FVlLOpjAUo/kDd9RmEOkZjaib9PaqmkayQUbdd3W+5VvTQGLnfA4H3k+l4lvwdv5C15lfyV7V 2L/cVOZDF4VcGXl2bQvPF++oJTUxYNdZuwwFOVM5pUrz/V122gxtqqR92OV6qozme21Bl22F0 UtQTy/kX/61nEO2MAImAhnFikGet1pX1uHkI4Lx8F6slEimzk9gRPXL5/Oj6i3wiQrmCPIQR8 mLBX/A4Ytla9T61BXOdEeRYSfHEWSJUB4Rl7PEUMlx+RjIC+1vfZpG7K+NH5pKcXacbPatzDo gXfvJ/8Ugl879Jf+A1/0WRq7aepU9pOlcJwKRon3KVVRMvoV/M6+y0z7hYUmH5nMtd46Zew/w w7Cqo8+ARvLBU3sVlE8VNWbcXlOR0QhH1MMXvlRVLv4PoYmzaM5HMcz5zCBruHqOkRTy7Re9h oEILfyVp4LNq9IEI X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-hex-core): New variable. --- gnu/packages/erlang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index df6c722f68..219cc04b05 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,32 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-hex-core + (package + (name "erlang-hex-core") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "hex_core" version)) + (sha256 + (base32 "06p65hlm29ky03vs3fq3qz6px2ylwp8b0f2y75wdf5cm0kx2332b")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rebar3" "as" "test" "proper"))))))) + (inputs + (list erlang-proper rebar3-proper)) + (home-page "https://github.com/hexpm/hex_core") + (synopsis "Reference implementation of Hex specifications") + (description "This package provides the reference implementation of Hex +specifications.") + (license license:asl2.0))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:01 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:01 +0000 Received: from localhost ([127.0.0.1]:41455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl7-0005gX-9X for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:01 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:46401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl5-0005fu-VS for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:00 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M3lgJ-1ncnoI41jv-000uAo for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:54 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3B3AF66487; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 14/22] gnu: Add erlang-relx. Date: Sun, 10 Apr 2022 20:57:12 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:pkolNQeoLVA7SBzwiv3s9jjj4jdxgZ58ynVJaMnTUXsslhX9z2r 34Bbe6SVv5Xla2ToDguB2eDfgsR55HrBrqwPtg9ORlm8Vfvq6tZ4vtFVopNq26web0kXuPY ujHmTw8nf/fa+OdEo7TGuwoTewaKcZpcmepNUmBqM1GpHCspnWcOYZRpl1mv2fbLt9vjnYq El53NOk+SokYce1z00I6g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uuLKJuTK6y4=:/ZclR1jR2ZuK5ZRLNTjOmG lprfD7LqrQdciIkeupRdM3jvEGx64xDzxvobEQTnBf+qsc2Biw3Q3SQxcC6pT8lWbBtFYiv+2 ym4NS/wrQQG4TdcGxbUSIxjE5yr1cfHiBY2DqiR+HTU32yG88mj4/KICl3fBRsLogNPx6r0F0 2If4uaOPGW57aJP+TTg2PeTwWXcwGPOy/AiNataUroSq3u+XLiSMbcsvLIcZ+PwxJG0G2o/hL ulI5k7936PyBwLNQzak5sDUzpGY4/0mCbB1C2S10PmMShVJXCytroaR0xYyEbEIdXiWM5lgAR wSHlG6o1kfHO3uRKQeRzHn/0/LnWSkAB3V++26ndoOo/m3VSeXPlcGCny4hoiGlE7LVjCAHZp Yj9EVs7pZF0ZxqDFaWzHcgOxLFWujjwh1ZsyvUtgSboV63GVyu64yW4LVAdqLU7lKK8G63s7Y LWN94hnEe9+eOCZ5aDbfIFZ0EiXVSNzuKGcD6D+GsdLhCZtgotZ8GiBnE3t2oyWPHTa62Rk3Q kIX7P8QUWua00ChLzznVH54YqF5drZSzQFTbTVdNNC41LH4pW7wH/QOCM3a2Z04QCP0vEckeb vBM0bJs+lWxhL6++6CjHqNOoChR7PMG0AFYOYp7ZudpCsbCI6CUbQz08fcthBFlPosDgk+wYQ pWyfqri01XSenJWnVqejJ2hKUl9ehHTzTsZeMG1Tx11ZdZTiHo2G21mOfSmvYzY/m3PL6JdTa ryWegBE4cEjX8lsy X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-relx): New variable. --- gnu/packages/erlang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index b151f5c695..9c8f61b714 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -427,6 +427,28 @@ compile-time constant.") (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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:05 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:05 +0000 Received: from localhost ([127.0.0.1]:41467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclA-0005hi-Ke for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:04 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:56291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndcl8-0005fx-0v for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:02 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MGQax-1nl1nl1IfF-00GpyQ for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:56 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 514E866488; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 15/22] gnu: Add erlang-edown. Date: Sun, 10 Apr 2022 20:57:13 +0200 Message-Id: <5af714f8b14605bc353f76dcb5c3cbadcbff220b.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:K/Qg6w2MkBkM26hWLjpbwIj+EwT8EG69Y1t+hcVmaSD5uLq1N5G BpJxDe6KHeSc4WsQkOYJhc572C1j6R7kb9pVTgBhejm3nm4Y4XiJCJ40lFjvwOxjucTJJxL PjfhRx4lspEaP3PSVedtR/Z9pzbhjESrgyKVnyqctqN/oHWoooMC9dyAHBXPGdCAgyiVFLR a12U3pl3RK069F/FpocqQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kO4QqEefs00=:vRDxbAqfLcAJeucW0cPOvV ZvZZgH6lebOzSne36IZGGjGcX2s6cy2lUjU/fX+AYc8E3soGtXzUIlfVRemZsBELWPZrKrfev rAnd2eoyglymXttdVPet3iWyeWBQLqp4wdrkzj7VQgaZyYucVVgWIYsQZkbPOGOHyRGnbUvCt NEos3yIBNPb9RCrjvNQSsDgHVWlCx0jV7D9fWCXjpM0qZ9HheNNDBaWzzpp3QhimiRIbR/l4R mv/dFoLvMpCawL8v0PdOk6NCnmySiLYxlC5amz/49DfBjWQ2ae7LfEUzcmu9kV9jF+oD9HCA3 xCJQa69Meq9QMnxqVOIBZXVfSxImAeHFAeBYF4IamqtVNMTI7JPPDKcBzD40Xvd6r6vFNaMZs mBzm3qwgZmPF6YUhJ0JYdVXTfhHQ1ES2UHPAI7U4CpwkU93sOCpxzxYOWdtFBTBb4BZdgxsI9 wXMmHkC/kJjku4SDHE/yPzGzTM/nNZhpLFcrxEAN/LJBSklyMEdIGZqpS/1BPqRhnw9O42Hra G31LS7Q/senDyR2+El3SYmlaOvQMInWHQNK+nue2geF9MGz2g1CfbH5Bo8TYxKAwfTiCxqdS2 u047VJqEsFC5nhySGVecCCkQkwY6ySz3shCLrZvQS8PQUCZn2EK1l/gMkrC4ZYQZGeYGBArPv biwo5BL1KQsFBy7I9bZ/Lm/x5Lf0D2+WGB9beSTW69Htj05PwkZS4Pbht7XgoB/+NKXadjebS CkZCo4c4Z6DKDq0R X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-edown): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 9c8f61b714..a8beb7e34c 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -300,6 +300,23 @@ printing extending the io:format syntax to add colours.") outputs you want to be readable around all that noise they contain.") (license license:bsd-3))) +(define-public erlang-edown + (package + (name "erlang-edown") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "edown" version)) + (sha256 + (base32 "0ij47gvgs6yfqphj0f54qjzj18crj8y1dsjjlzpp3dp8pscqzbqw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/uwiger/edown") + (synopsis "Markdown extension for EDoc") + (description "This package provides an extension for EDoc for generating +Markdown.") + (license license:asl2.0))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:07 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:07 +0000 Received: from localhost ([127.0.0.1]:41475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclD-0005ia-0i for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:07 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:58819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclA-0005gH-D4 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:04 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1My3Ef-1ntWJN2po7-00zYII for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:57:58 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6CDA866489; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 16/22] gnu: Add erlang-jsone. Date: Sun, 10 Apr 2022 20:57:14 +0200 Message-Id: <140d9e86a3cf739a654f8d7dbf0124a42443bdb2.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:tTz129EeE1ityTKWsxjI1qOBmKJq9+RqaBrZT9ScFxxCOIC2MJy PAfdG2aGz9oNT0v2uu8S095zu4Q6UndcYgFNjs/ETHR4/kPJ1cur1/jAUnYzWdu7LjR8G9D R21cQLUHyeF3nJIzquIJR2Ab5Tmo42ipcHc5F9XYDLPUF0MHAhzFUgTiPMEpFnY/hzse9RI R7Paie7NTiwoENukeU87A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hEZ3TU5n9mU=:gsooQu7CwlRtZ1TRTnyq7/ hXFrYuFnYxvqZg9qiceKQ3NjR2GYmDwchSoZ8BseLSz3EtmC0NRo4NsNR7SwZ1pBPx35hn6mM Ziq/+gdykPQhi1N5qPiSUcdcgDXAk68P6/DSt/RAxfVhNyXjCMHu18/rWVwcjL7YXCRfeq2YR wGXX5bVi+Eflp8XBdLeUrKumbpBRdvBIw49svqUMRXnX+xyt6PTuChxTTS+LojU/ggXQ0V0Y9 YXAZ0AJE8qCel4ItFIXyM8DKn2WurcDtuCS7n2G2tqaVI2cVXtRrHR3GPyxlWWMnEPv+om4Dx V0gvboy/+9PhZLCQQJrh3rStDS2LAUDplc5nuzjh9uPH/qUdOYdZ0HfLFHb+C/iiPU9y0sS/S JBqIW6/pMRFn8OaLd8G4YWu9rcIVCs3zAChbl5/TY4EJX60eJ2SNVDTmbI3/4j+Y/xceCcAEZ oj1BHfh1VgfS/hjooS2Ar5S92lV5hqtZdCWkSSjkKvotHna2j9jFIMuht9cChfmkagixuM6Fa KECnVzjyAgXq9qF2hkxU1/6IbJyENr3WQZGUFxxs4+5iXPzkOk/xlDMX5pnncUIQzZz6cvJlM NU+SqInMc2VT5+wLEHALQzlsZexqinPoKKUFo2NxVR/eta2xd17zGH1GFNTQWTBDiQY64ri2U 3qYgAXwSEe6z/8BmnXPTqKdSByx79b8t4POYrOupLEd8Y2wX54ilWBpNz4tv1CuRIbUkU9xFv ICZy8Q/J/e7LECNX X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-jsone): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index a8beb7e34c..fdc59894c0 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -403,6 +403,30 @@ arguments using the GNU getopt syntax.") specifications.") (license license:asl2.0))) +(define-public erlang-jsone + (package + (name "erlang-jsone") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "jsone" version)) + (sha256 + (base32 "1gaxiw76syjp3s9rygskm32y9799b917q752rw8bxj3bxq93g8x3")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{project_plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://github.com/sile/jsone/") + (synopsis "Erlang JSON Library") + (description "An Erlang library for encoding and decoding JSON data.") + (license license:expat))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:09 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:10 +0000 Received: from localhost ([127.0.0.1]:41482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclF-0005jO-Bm for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:09 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:54211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclC-0005gd-OA for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:07 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mzy6q-1nrbR906a6-00x5JJ for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:01 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7759A6648A; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 17/22] gnu: Add erlang-proper. Date: Sun, 10 Apr 2022 20:57:15 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:PFLhPhQStavVYsx8julM1xMfZjqeDN5+M51rGs2BHtFNXc9LNfg J+MZ7bzbb0Gpkv4uKXErFqhQnzjk0gJmesn2grKP5OqEwrst0GO0Rq6Z523pFpYjyunH8HP KAD2OPYAwe3v+tbXccvmSjOWZvmLpRsW7INgUGn+bZYTbPTTD1DZo/oImM1EnRw2fmaeqN5 EgkTc+3JhK6NdOw/f6TAw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:S/MFqTo+LBo=:dZTqxy0ieK6WKLSwapKpDo roKFELinUjf4ROxnVeaWoWFBsoIDZyo1VHyNpvnxlBKLbqTA3o0wWHmvvdxHUEZnIHcu+TlYb wXhPO7qxS7sqwyMF7zWDnnpZHe+XUgT8hERDvpUE2tZJ1iEhdajSZ+be+Ff1wWBAtB6KcOP0L DT68xfHxuvv4XN2jqwFib0x8V7L1OgSOx3IXa2s1kpr8AuypQamB50FPcXF4JKUUbozzloFoM l3fDFKTsSavpHMUxohHSGn/dcHTZy9zGLvoKXz9UQZV8NZochtUtBz0LEQ8p0TRM3vqZIb1K7 yHyw9rvwHBpeZLdXqNKtpOq1zXnGr8S0fJXaIMqgIuOQ9zCYKrQwrr4bEzjzPnpCaVv2LxApE Pjx7bdSkoHhMqx6Mf++CdVSD17zbjZSPot3L9+qSse/8TjbH2yTIkeEb5P0hzvnqfvXpZfVTQ gMkfBvfdiXpv2KCCJG+vz8c2kK4pMGrRwGtAjd6h8N3A1VsFAtn3jli3HV4Ngo4mDJ/Y4x/Aj OT8ZrA0xcvD8Wj9EmLAx7QErUwea4muHqhPpfAVKzQzF6kVRajt0NAIC3G1e86uh3Z7KiOJmA i8Z++OfxP1AwfU5zqH9unfSBuBmqYDv3u5tN5/PO0JRRKR5eff7ftzho2aqKP1Arf7jkNpc4C VMYHqyGuBv2HA25T6gCDL6SQ5MwTG66reHujsYluqlw3DoD4E7SwQfEOvvRUIRldCdmDEsOkw OwsLaaLRnzWeNUsJ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-proper): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index fdc59894c0..33ac324074 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -450,6 +450,33 @@ evaluating an expression at compile-time and substitute the result as a compile-time constant.") (license license:asl2.0))) +(define-public erlang-proper + (package + (name "erlang-proper") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "proper" version)) + (sha256 + (base32 "1fwcas4a9kz3w3z1jqdk9lw8822srfjk9lcpvbxkxlsv3115ha0q")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://proper-testing.github.io/") + (synopsis "QuickCheck-inspired property-based testing tool for Erlang") + (description "PropEr is a tool for the automated, semi-random, +property-based testing of Erlang programs. It is fully integrated with +Erlang's type language, and can also be used for the model-based random +testing of stateful systems.") + (license license:gpl3+))) + (define-public erlang-providers (package (name "erlang-providers") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:12 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:12 +0000 Received: from localhost ([127.0.0.1]:41486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclH-0005jv-Rm for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:12 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:56219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclF-0005hY-9i for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:09 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MKKlN-1nOZHQ2dNn-00LnOf for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:03 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 951E36648B; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 18/22] gnu: Add erlang-covertool. Date: Sun, 10 Apr 2022 20:57:16 +0200 Message-Id: <09ddfc5e71b2ef074936009df1f694dc7131e37f.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:wxIie56ENfOKKawZVNxYveZiMcy8JiQva3+MA7KqpFrKPTn/CBe XzL4Svk/ZJy+yr+g3trNMl1AY8lKgNrea0hJZy43xZPKfpaX9NP6BzLAeptNq3FlEHl06+N Y+ThdGwdlGlcHr2ZgnqKdfAl/Tx28nX+BR8x2bOdRn65d4eDLNzc2Y9WdOywJDIfPhbOs5R 5MAh6F9MQUN70Wjyp2Ahg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wkNhU6qHQy0=:wa0BQbxjAR6CCMsA4dZEkl LawPrOJ9Ge4Zm9q3LtQNIw0GV2qq1UGzsnddMAIdgGROCy96r4U4x9pJxgHUB60BxqI0to+4M q7XOCmtCnxXag8VXk8Vl+k6TMXhjlJSCyiAagK9aB5G4600hJ6hVFlFrVsnhSOoK5nOoXWa/Q bs6bDJ+BrYrY6gy3pAZfX6Iek16GMU/KWnPoxjnfpjNVWLevwwRL6YSUJ1yAe8vGOIMRt3npN La5p2/LQChtK+Tnb1y0S7vA91R4SjF6FGbiOdYYIREtY5T18hj52xB6epITZB5wQ998ThdRzl kl9NAxHcromwP7BlugLRfdhwTndhxf32Ni1fUzlF4ZtwYV2KOpo/NDIgFQ9F74SalKX0rqDGT 8gk4VyDvm434uxGDtR7QNVSn2ygVQUhYCTUD2wJiHztO2LYsjJiTDQr+XbkXroSAgFDihuF7E t8tarHDNqXZ3DdpJVRDh8QtnoZu78UhHyMuqy4JFVWSQj0WoDMZWEg4z2FgSumLUb7qT54sZF Ipkh58NXoj/tC28hCcAwqwACtIoWwwbZKxr+kdpYiRCzDdIg+JSzv/MZEeVsNWhQCT3Zq0TlF yKdltPN9C2jcZ9t7VeDzVlcHfVp4O4GZFsg+0ESvpVYCqLNTVVH/6eObcc7OzY+x7h1kNTJuo UFJoC7IOCIiSHK5sW0+eAMrxB1BC41Qp39G1y8shlXlUMLBUapalo8a7VDKRq4PuBJ9O5f6uB xMfxPs9NMrRUir2G X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (erlang-covertool): New variable. --- gnu/packages/erlang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 33ac324074..18ea933333 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -279,6 +279,27 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-covertool + (package + (name "erlang-covertool") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "covertool" version)) + (sha256 + (base32 "1p0c1n3nl4063xwi1sv176l1x68xqf07qwvj444a5z888fx6i5aw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/covertool/covertool") + (synopsis "Convert Erlang code-coverage data generated by @code{cover} +into Cobertura XML reports") + (description "This package provides a build tool and plugin to convert +exported Erlang @code{cover} data sets into Cobertura XML reports, which can +then be feed to the Jenkins Cobertura plug-in. + +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertool}.") + (license license:bsd-2))) + (define-public erlang-cth-readable (package (name "erlang-cth-readable") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:13 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:13 +0000 Received: from localhost ([127.0.0.1]:41489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclJ-0005k8-AV for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:13 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclH-0005iQ-N6 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:12 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MYeV3-1nPefO46hH-00Vkid for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:06 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id AC6A066479; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 19/22] gnu: Add rebar3. Date: Sun, 10 Apr 2022 20:57:17 +0200 Message-Id: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2vDF/gbyeg32bjLEOiCiWlyxa3UIE2+KNg6SEyhVnk1h2h0zTmB hKJjlkAANba/RungScdq5/CpCxVlytV4TpVTavxCvQf5aw6SHWIw7V0sDbZF1NyoAYyU7YY nW9UiZ56abY168yk4286JXViVz3pcpI960DQ8i0ElHcfsXWlBIA4GjwoJfOaYuLY0bE3EZn byhfxwGDrmxVuev4hxZTA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fAiTmaevIFM=:ZVOudi68/c2PnUQYgUpQwK 1ph+oG9/aa+OTA/BLoAzLrrD2zQtvQMAx2Hy394UVvNWLVLt+RQdxVOHGYJovvFlNJpj0XKNj 2SO7FG9kUpWn3pBES1KSnePY7u1UBZd5WVS7HzaXEe0IrWCA8D54KtI64ji0uaDbT88fHKnoW wEwttNS4TNCh8GCxn+lmTUrxlHMy+xCcS/3Z/pYv/jZM8q4tdRFg4WDxXt6jZscHDdp/mEIX1 xKaJCtnwHbW545Yp9zWiy5auiFga00jCbvlT7GPqt7QKmKhOG0595NiSY/OKarKOC+JHDIc8v 5As2hdY8fdJFFL9q3tlw85MP7tHkMziLBcyivXuDrA8kkz5U6gc8Ci/q7y47/GTsmsjIsiPNw EqIvE/d4fVOWiJ6Art1maGiYSpDYX89U4B1sRkhGQ9nZInGYlPirr9szNrnVYngdxAQqavnEY KEm3YCj8eXStc58jogFqnS7a/JCcUdvO0GVdBTJiuyBifPh+GaxcPxs1HdlOdlxUw5U36BSIl gskgoQ3kL267u+PlXFXj9rOs5/K/undABSkKsHkb4+VixHaZ4Syu85wLN+AKjQfmdVrJSLwvb /uwjyB3bbRIdW+Nb8PBb0loBMfuV2T/+ohJR+ThJLzq3XhnsxwIPlEWL2Z4D78HvY+daUvmBv RPwjPjIjhndNTmpNVEX0RXenkFl9ZjeaE8ND9pXJsOCy7xO4q+Yv+XDBA7keiEjwJFrbYdnmd F2Aio8nfs9MGiBcR X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3): New variable. --- gnu/packages/erlang.scm | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 18ea933333..e8f43e7de2 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -554,3 +554,79 @@ a well configured release directory.") (description "This package provides SSL verification functions for Erlang.") (license license:expat))) + +(define-public rebar3 + (package + (name "rebar3") + (version "3.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erlang/rebar3") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09648hzc2mnjwf9klm20cg4hb5rn2xv2gmzcg98ffv37p5yfl327")))) + (build-system gnu-build-system) + ;; TODO: remove vendored modules, install man-page, install lib(?) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (add-after 'unpack 'unpack-dependency-sources + (lambda* (#:key inputs #:allow-other-keys) + (for-each + (lambda (pkgname) + (let* ((src (string-append pkgname "-source")) + (input (assoc-ref inputs src)) + (checkouts-dir (string-append "_checkouts/" pkgname)) + (lib-dir (string-append "_build/default/lib/" pkgname))) + (mkdir-p checkouts-dir) + (invoke "tar" "-xf" input "-C" checkouts-dir) + (invoke "tar" "-xzf" + (pk (string-append checkouts-dir "/contents.tar.gz")) + "-C" checkouts-dir) + (mkdir-p lib-dir) + (copy-recursively checkouts-dir lib-dir))) + (list "bbmustache" "certifi" "cf" "cth_readable" + "eunit_formatters" "getopt" "hex_core" "erlware_commons" + "parse_trans" "relx" "ssl_verify_fun" "providers")))) + (delete 'configure) + (replace 'build + (lambda _ + (setenv "HOME" (getcwd)) + (invoke "./bootstrap"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "rebar3" (string-append out "/bin"))))) + (delete 'check)))) + (native-inputs + (list erlang)) + (inputs + `(("bbmustache-source" ,(package-source erlang-bbmustache)) + ("certifi-source" ,(package-source erlang-certifi)) + ("cf-source" ,(package-source erlang-cf)) + ("cth_readable-source" ,(package-source erlang-cth-readable)) + ("erlware_commons-source" ,(package-source erlang-erlware-commons)) + ("eunit_formatters-source" ,(package-source erlang-eunit-formatters)) + ("getopt-source" ,(package-source erlang-getopt)) + ("hex_core-source" ,(package-source erlang-hex-core)) + ("parse_trans-source" ,(package-source erlang-parse-trans)) + ("relx-source" ,(package-source erlang-relx)) + ("ssl_verify_fun-source" ,(package-source erlang-ssl-verify-fun)) + ("providers-source" ,(package-source erlang-providers)))) + (home-page "https://www.rebar3.org/") + (synopsis "Sophisticated build-tool for Erlang projects that follows OTP +principles") + (description "@code{rebar3} is an Erlang build tool that makes it easy to +compile and test Erlang applications, port drivers and releases. + +@code{rebar3} is a self-contained Erlang script, so it's easy to distribute or +even embed directly in a project. Where possible, rebar uses standard +Erlang/OTP conventions for project structures, thus minimizing the amount of +build configuration work. @code{rebar3} also provides dependency management, +enabling application writers to easily re-use common libraries from a variety +of locations (git, hg, etc).") + (license license:asl2.0))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:15 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:15 +0000 Received: from localhost ([127.0.0.1]:41492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclL-0005kR-Ma for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:15 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:57377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclJ-0005jD-Vc for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:14 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M89bP-1nYQ6N1IFn-005Lc4 for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:08 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id CBE336648C; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 20/22] gnu: Add rebar3-raw-deps. Date: Sun, 10 Apr 2022 20:57:18 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:n43JT+yonWP/yyZ/IFSmjLJtL4uhQKksohUdBPO/zSDFmfToHWY 4RLAVc38MWft2K+Fa4S+4iXnsAYmAZe/deAmLpQO4ud54qjDNm6My/gruQr4xxxdpA7mB4m FHPMdQTLIsM+VSKTUeHBIMnpLr7oyE0E9Vv7LhOCxPteHPY+ridHS1VLp1KGOpVvoSBPcmO pFg1HNCTwVuzeyNObLIyw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IpR14EDXZgg=:yZr/l0BUb4DlNF52vVYlpB o/SNn4/Car7sGl2tDj/jnPzvtvgj7Waar+hbH0k4AvXlc9pv8w7F4qw6qG/QEiYDtoM7uR96D WveQnFrEU/3PtjaJRsSn2i+m0dHhgSaYDkihfYyFbrcomEZUSjEmgpk8jda58xUTJFF0GIc9P 8DqYWQ5VKcStNw+371gCcw2fZBLyZmluPPuHaMqMC0x1MMfASyVgbKB4EhFkbDVDICGp9Ezha fFJBtFfjRZTqmzbKwIbECWi/4qF8hkFPdJOqX/m/+zh5vH1SMv4mNEpQrTgv8N1an5Y3pL2Y3 PtlCj4cSWKCoHdWC2LXid72vXa4eQwI9iiSlpiDuYMqmon0gWF8ncVmot0Mu5BiKsy2e8Qr+V AD1MkLSG08UD47DELBtbZIdFMkH8waLj5NmunwpM98zyEP/unUAl0rXvu5vPRlb3VGE9tEJMb uzIR1/5J+I0Vdo17Rste45fA27PdJzyT9zD0ia4EQtzGtcA3WiPvzzzVqS+68gLAaaCvkQWKb SY7SCrc84JcYN/0iHoDHip3AoUa0amPYJ4mUfpRVUIdNanzDy3KX94YGjzRJRcXLWgce9DRbm KsMHPSPyL9way06HdsfKs+zEkOv5q809RnI0HKXSYa8+Attz6Arkl9RMl1kEPJXg+txJXo/lF CL9ts4FvhdwfQaVqB7Wszw3yw1irWPf8luX3HfzMMVECUOvTKO/c4XSIRo/q7vN4nBC4GYj0/ aHQbyPaHDGuwbXzY X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-raw-deps): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index e8f43e7de2..e5331a37a5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -630,3 +630,20 @@ build configuration work. @code{rebar3} also provides dependency management, enabling application writers to easily re-use common libraries from a variety of locations (git, hg, etc).") (license license:asl2.0))) + +(define-public rebar3-raw-deps + (package + (name "rebar3-raw-deps") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_raw_deps" version)) + (sha256 + (base32 "1pzmm3m8gb2s9jn8fp6shzgfmy4mvh2vdci0z6nsm74ma3ffh1i3")))) + (build-system rebar3-build-system) + (home-page "https://github.com/soranoba/rebar3_raw_deps") + (synopsis "Rebar3 plugin for supporting \"raw\" dependencies") + (description "This plugin provides support for handling non-OTP +applications as a dependent libraries.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:18 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:18 +0000 Received: from localhost ([127.0.0.1]:41495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclN-0005kf-SP for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:18 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:51143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclM-0005jt-Bp for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:16 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MKbTo-1nPOCU2hB6-00Ktun for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:10 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id DEDB96648D; Sun, 10 Apr 2022 20:57:33 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 21/22] gnu: Add rebar3-git-vsn. Date: Sun, 10 Apr 2022 20:57:19 +0200 Message-Id: <349cec253c9e68e1836cc85d0d435271a3fa191f.1649616716.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:svT/oX0CmsOLN4KzU6sffPqmOTGLPsLbxBEShye9Bb90EXvHXr3 5VXs5QFRrZwo5Q8OtCqVUQJYhnIY2lg4GeLZumBiwWuApUV8jMB1t8tdoq8By5eynN1Ebkx dpxnBXLl7ke7SxHGki+WqdRdeQP4Fya1f15DX/GhJJm6GT6RlwaAALKj+KY2pnqghIFDMuH Dyn/gfnGJSD3nLGY3abCw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lKfg9Y2ugpg=:wM3hlOfm+8h6Ax1HvsjJbH HIX8X0BCdL/EeND5Nl9gXOtgXmKhnYBwMrNyyJRYIxGsOnVIWZz4bsuo34Ml9pQeq6haMjUBb FASjuAlxOL+Lp0Oehhg70nM7bArQwz1lGZuHJn1tLQVpIRbs4RQ1vGUH9Mj/9EFwU13Rmc8Gf 2TQZwpF5xnwSEi6WUE5P1nw/5BtpGST3YoETBk/Jud4Nbc3LMKK2qdlQ7aQt+JEB5tsc15Prf HaRgbFIvAkU9X03PEkY2MMtZhcuEaeD9bCDov5Z0yz4yRouvgcrgrKlUCTxiXo3Sf21xAB+vv XR7iasLVhDooRB0PKjXgRevDHqGQ9HSIsbqZL3bvGCBehduWbhLXvdIcO1KDmH8KVaYxtjHxh 9N6zn46DdzGGnvRZvo/MH6Ddjh/Pd/u1ps5hUFIruovaussaawcjVcCWHyLBWJPfrxuCQzkXV hphUDKzoLEJqw0/zPTIKrFLp0oIvO0d7p8JokisNexfLFpVp1vO5hmClB0FzI5UdKRnANajls aAVMF4F6zehXy9+GH4IQSqOWy6dKSwnYB2Ojsz1g6Qe3dI8G0r476bVMG5gmY18ZyJRKdX3wF kJqdyWtMUOW2jNI0oNjdLA6t0P3OalpfvNuRjWhY2tpmrSiBLqovgKV7SJWW6Q/MLCn/2hwpr BH/SrOG0PllT2JzZgp6L1KwCNcBVk5ZeKrK5VdFEF/QeitM69hg9MZyJwPa9/guL77xA4yPVj cqID78ZL0V4pmj/q X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-git-vsn): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index e5331a37a5..c6cffd9906 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages version-control) #:use-module (gnu packages tls) #:use-module (gnu packages wxwidgets)) @@ -647,3 +648,34 @@ of locations (git, hg, etc).") (description "This plugin provides support for handling non-OTP applications as a dependent libraries.") (license license:expat))) + +(define-public rebar3-git-vsn + (package + (name "rebar3-git-vsn") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_git_vsn" version)) + (sha256 + (base32 "1dfz56034pa25axly9vqdzv3phkn8ll0qwrkws96pbgcprhky1hx")))) + (build-system rebar3-build-system) + (inputs + (list git-minimal/fixed)) + (arguments + `(;; Running the tests require binary artifact (tar-file containing + ;; samples git repos) TODO: remove these from the source + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (assoc-ref inputs "git-minimal"))) + (substitute* "src/rebar3_git_vsn.erl" + (("rebar_utils:sh\\(\"git " _) + (string-append "rebar_utils:sh(\"" git "/bin/git "))))))))) + (home-page "https://github.com/soranoba/rebar3_git_vsn") + (synopsis "Rebar3 plugin for generating the version from git") + (description "This plugin adds support for generating the version from +a git checkout.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 10 14:58:20 2022 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 18:58:20 +0000 Received: from localhost ([127.0.0.1]:41498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclQ-0005kt-3j for submit@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:20 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:34215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndclO-0005k9-L9 for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 14:58:18 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9ntb-1na4Wn480L-005nJ9 for <54796@debbugs.gnu.org>; Sun, 10 Apr 2022 20:58:13 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 02D506648E; Sun, 10 Apr 2022 20:57:34 +0200 (CEST) From: Hartmut Goebel To: 54796@debbugs.gnu.org Subject: [PATCH v4 22/22] gnu: Add rebar3-proper. Date: Sun, 10 Apr 2022 20:57:20 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:nxCgZ6B/NdAb/v5aHZoD/ZtxIqDpPhQJ0UfXl/ivawb056472XY /f4WZfAdYKKaSDul6prwKeefLA8UKpgFij5mg4WZGChKgDnA1L+S97j+/rUi2ZTlkcV2zwh iFFFEmkVl62NqJ0iAiVcN+DdeJa0pHZVz/AQ9ZbcyWJWA7hn9E5hPUsb1Upo/f1Mju1pqg1 wlJij7oUrtrGjKex6M0OQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LuXVmd7xsnQ=:SQxj7zpLuJpb9D5LODOjYH CiDs9uS2lPaCgWpZZN2V+IRXXE05X2l5tarXELxuhnnYkXoS/xh8drZxS8OAJYPvbtNvrVDca 5oQnnqUI4oUGskkXrfVh9F0fdg8XRx57cnjwSLsk21uydk6P/cviDCg2lbpO912jhbhS1hnFg MDDmu9p57sieOvfQVwH86G5lo8wb9Scw0mDSvbFmT/W9vyLM2yneD2GF8vvH2ihG43fy+k9ll H31mFD8P/+4GPsJAc2aOvJu9Y4HKb1vEY87taQCQOHHg9ubzH6hRz1/8lGrtMF4K0yJc1pL1D kMUxSZY5yUB3ELFtNfcyO/FQz3pRoHCGx32DpwejKGTk18XqaqdoAa6iwMsqIM/4R4c9v93O5 sENiaX0SjDmDlSq77BJSneqofW2Wc9/BXsa+OD2SVB6MN7RwpoGgz0cba8hpHSksEsGtT8sPE biSW4ujuoEpgF1VpSDpLFDDtWYR1getK+MITZJ1EhwDueL4k/5GPuv6RaE83Wz/fzMM3ZH6FP jw/wJxwqWfJIFI9Or1QmsYm3f4K9sE3oi+g4+2NlzOODwoA6Z2IKtP2+32Zb65o49YZgXNGr1 +2eCAcdm71ADmTPx7XW1cNPz48GWYTtw92XtsBhoPYgovvBG2PdhNkokPcU4rty7s9rfH6QNg z61yua6BHLUYZ/5uhzI67xk5/cobUbdEhCnR/OTShVehdBe1pxjmFlKzfFqM47oiOIPK/IErU Y285HTUNiJCrczO2 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/erlang.scm (rebar3-proper): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index c6cffd9906..ea441e1c2a 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -679,3 +679,20 @@ applications as a dependent libraries.") (description "This plugin adds support for generating the version from a git checkout.") (license license:expat))) + +(define-public rebar3-proper + (package + (name "rebar3-proper") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_proper" version)) + (sha256 + (base32 "1f174fb6h2071wr7qbw9aqqvnglzsjlylmyi8215fhrmi38w94b6")))) + (build-system rebar3-build-system) + (home-page "https://github.com/ferd/rebar3_proper") + (synopsis "Rebar3 PropEr plugin") + (description "This plugin allows running PropEr test suites from within +rebar3.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 11 08:04:58 2022 Received: (at 54796) by debbugs.gnu.org; 11 Apr 2022 12:04:58 +0000 Received: from localhost ([127.0.0.1]:42952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndsmw-0002KW-5n for submit@debbugs.gnu.org; Mon, 11 Apr 2022 08:04:58 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:57550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndsmu-0002KM-2E for 54796@debbugs.gnu.org; Mon, 11 Apr 2022 08:04:57 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id HQ4u270084UW6Th01Q4utg; Mon, 11 Apr 2022 14:04:54 +0200 Message-ID: Subject: Re: [bug#54796] [PATCH v4 00/22] Add importer for hex.pm and rebar3 build-system for Erlang From: Maxime Devos To: Hartmut Goebel , 54796@debbugs.gnu.org Date: Mon, 11 Apr 2022 14:04:48 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-5IMKRfIu82pMyZeNrC4P" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649678694; bh=1O9lzIKMjcE1lJ0pZuKn8ZUhBcX54/FWigGMcaFy510=; h=Subject:From:To:Date:In-Reply-To:References; b=dvmMqEXo2a7T2TtDHo8/yyyhZUqHawlhtIyU9t2rCxjIyQQ3EwG6azUzNwNqR7Qyq U1QkLrU8eHYxE32TCXms5z5dHG9GQEaAKAssgAloMasD908pGq0PvQ9QkIW/Gn4WRo Z+OnvB8cXfxUNbO0DMYG9p90bVxjEAAwtJJZbg8aeKsd/pjuTtgg0jpqsYJo/1IkVX L19eCVjBzU4CRBjXrl9HUlC5NXo+zct3ZKdYVR/7kQ/dUJdi4/+1GOHbW4FjYmSq2E ySwJSGkIZWs6eom3tvLEiBLFxHCA49H0Txdlp7+sdSaPy0bZnMiEHH163atyk9ziAx 4PJ1+ZUL/5KsA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-5IMKRfIu82pMyZeNrC4P Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op zo 10-04-2022 om 20:57 [+0200]: > * Shall the build system actually be called =E2=80=9Erebar*3*=E2=80=9C or= just =E2=80=9Erebar=E2=80=9C? There > =C2=A0 is also a build-tool =E2=80=9Erebar2=E2=80=9C, which is obsoltete = and not supported by this > =C2=A0 build-system. Anyhow, somewhen in the future there might be some = =E2=80=9Erebar4=E2=80=9C, > =C2=A0 which we might be able to cover with the same build-system. WDYT? Was the rebar2 --> rebar3 change mostly backwards-compatible, and would a hypothetical rebar2 or rebar4 build system look mostly the same? If both hold, I would treat rebar2 --> rebar3 as =E2=80=98merely=E2=80=99 a= package update from python@2 to python@3 -- some breaking changes, but no need for separate build systems (and hence, no 3 suffix) If rebar2, rebar3 and rebar4 would require completely different phases and use different file formats or such, IMO a separate build system (and hence, a 2, 3 or 4 suffix) may be useful. Greetings, Maxime. --=-5IMKRfIu82pMyZeNrC4P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlQZYBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ifOAQCFHG0x5ivnZCLGu/Dv+JB7BQFO ufS0RrFWOSeCDM9g3wEA+Czp4Nj0Vmf5r+UA4SGN3jNUlbRAsE8bDspM7NDTbwA= =jABI -----END PGP SIGNATURE----- --=-5IMKRfIu82pMyZeNrC4P-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 09:06:29 2022 Received: (at 54796) by debbugs.gnu.org; 29 Apr 2022 13:06:29 +0000 Received: from localhost ([127.0.0.1]:51213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQKL-0000jt-Fy for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:06:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQKK-0000jh-3H for 54796@debbugs.gnu.org; Fri, 29 Apr 2022 09:06:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQKE-0000iP-7W; Fri, 29 Apr 2022 09:06:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=jKhwj/TFdSpE/qVYevCJ0j4TP/iLoT+9qm/wexprU44=; b=fGLA8YOVZoJkO1szIWkT d/vHbD6X30BUFRSiELkbTH2lE5BcK6P6Ys+h+Ax6NrRnJKwxwkc5VOguTVifEmfFBRxSqMSp6bS7z 3tLjTxTayD016+GPL7uSn93T7in1fb0OOEqfxwbpPxBmeyVSI1ctno378vonXuy3gTZTtnNcbBvEi OIVffwkrBvUECBNwPuGkedbzS2PtUIPTnbkyD5pG4EKLSg3nkolXzc8fUZ0/Znos614z4v7nA1A/6 kqViaH2XfSoGiASvKvh7kpiSUruhpEoNOAHoyPfvX6QbbHll5OrWCsZQBRYbdL/KW1FWhqoQ49fKP wxr1VblKwoAAdQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48970 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQKB-0005xJ-I0; Fri, 29 Apr 2022 09:06:22 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: Date: Fri, 29 Apr 2022 15:06:16 +0200 In-Reply-To: (Hartmut Goebel's message of "Sun, 10 Apr 2022 20:57:00 +0200") Message-ID: <877d7882ev.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Hartmut Goebel skribis: > * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New f= iles. > * Makefile.am (MODULES): Add them. Please mention the guix.texi changes here. > +@defvr {Scheme Variable} rebar3-build-system > +This variable is exported by @code{(guix build-system rebar3)}. It > +implements a build procedure around @code{rebar3}. Please provide a bit more context, like: =E2=80=9C[=E2=80=A6] around @uref{http://example.org,rebar3}, a build system for programs written in the Erlang language.=E2=80=9D > +source. If this file exists, it will be unpacked, too. This eases > +handling of package hosted by @i{hex.pm}. Rather: =E2=80=9Chosted at @uref{https://hex.pm/}, the Erlang package repository.=E2=80=9D > + (lambda (*) > + (for-each > + (lambda (dirname) > + (let ((src-dir (string-append lib-dir "/" * "/" dirname)) > + (dst-dir (string-append pkg-dir "/" dirname))) > + (when (file-exists? src-dir) > + (copy-recursively src-dir dst-dir #:follow-symlinks? #t)) > + (false-if-exception > + (delete-file (string-append dst-dir "/.gitignore"))))) > + '("ebin" "include" "priv"))) =E2=80=9Cebin=E2=80=9D and =E2=80=9Cpriv=E2=80=9D are non-standard director= y names. It would be ideal to avoid them, unless this is a hard requirement for Erlang/rebar3? Otherwise LGTM! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 09:13:22 2022 Received: (at 54796) by debbugs.gnu.org; 29 Apr 2022 13:13:23 +0000 Received: from localhost ([127.0.0.1]:51233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQQu-0000ul-Lx for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:13:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQQs-0000uZ-C5 for 54796@debbugs.gnu.org; Fri, 29 Apr 2022 09:13:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQQl-0001j7-F5; Fri, 29 Apr 2022 09:13:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VDnvOagOJwTbQ+niuIJQJBEhtsRbIp84LvicmItmjTQ=; b=pRHB9l5gJ1GorAjtHcMj GfbRQN/O9rxdBIJsVjdt4MC3IntM7JQHsz4V/xmjRIPLtdFRDNqePr33twgg+3T5DSMkY7fRAaYk8 D6udXeU7Zqg1r7eZxESM1swP+1WpdWmYBDZVUuUsZUPmX45iXMUi2e1O7oJ8ZU3M8N/hYLv6U37u5 hq/4JMAI5hdwZlg46l5E8JfKVRHNRhp5pS7Xvl+rVMpYkOsVNnFZ03TtD21Rum0XB6tmuA9tQRDpq dpecasy7knGjalVg08vEpaBzkjeCzPMHXGOSSHxQdORveUbuxLjqonynEEQcGgXRC9d0gB7OykpsB +m0Jr5VLYNWhtw==; Received: from [193.50.110.83] (port=54064 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQQk-0006LE-QS; Fri, 29 Apr 2022 09:13:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> Date: Fri, 29 Apr 2022 15:13:04 +0200 In-Reply-To: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 10 Apr 2022 20:56:59 +0200") Message-ID: <8735hw823j.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hartmut Goebel skribis: > hex.pm is a package repository for Erlang and Elixir. > > * guix/scripts/import.scm (importers): Add "hexpm". > * guix/scripts/import/hexpm.scm, guix/import/hexpm.scm, > guix/hexpm-download.scm: New files. > * guix/import/utils.scm (source-spec->object): Add "hexpm-fetch" to list = of > fetch methods. > * guix/upstream.scm (package-update/hexpm-fetch): New function. > (%method-updates) Add it. > * Makefile.am: Add them. Please mention tests/hexpm.scm. [...] > +(define-module (guix hexpm-download) > + #:use-module (srfi srfi-26) > + #:export (hexpm-package-url > + hexpm-uri)) How about moving these two procedures to (guix build-system rebar3)? This is what is done in similar cases, for example with =E2=80=98pypi-uri= =E2=80=99. > +++ b/guix/scripts/import/hexpm.scm > @@ -0,0 +1,109 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2014 David Thompson > +;;; Copyright =C2=A9 2016 David Craven > +;;; Copyright =C2=A9 2019 Martin Becze > +;;; Copyright =C2=A9 2020, 2022 Hartmut Goebel I think it=E2=80=99s fine to keep just your name here; it=E2=80=99s a short= file and one could argue that the bits found in all these files aren=E2=80=99t inventive= . :-) > + #:use-module (srfi srfi-11) > + #:use-module (srfi srfi-71) I think you can drop these two imports. > +++ b/guix/upstream.scm > @@ -464,6 +464,7 @@ SOURCE, an ." > #:key-download key-download))) > (values version tarball source)))))) >=20=20 > + Oops. :-) > +++ b/tests/hexpm.scm > @@ -0,0 +1,257 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2015 David Thompson > +;;; Copyright =C2=A9 2016 Ricardo Wurmus > +;;; Copyright =C2=A9 2018 Oleg Pykhalov > +;;; Copyright =C2=A9 2021 Sarah Morgensen > +;;; Copyright =C2=A9 2022 Hartmut Goebel Same comment here. > +(test-assert "hexpm->guix-package" > + ;; Replace network resources with sample data. > + (mock ((guix http-client) http-fetch > + (lambda (url . rest) I have a preference for spawning an HTTP server, if that=E2=80=99s possible= , as is done in tests/cpan.scm for instance. But it=E2=80=99s already been a long ride, so we can keep that for later. Otherwise LGTM. Great to see this new importer! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 09:16:24 2022 Received: (at 54796) by debbugs.gnu.org; 29 Apr 2022 13:16:24 +0000 Received: from localhost ([127.0.0.1]:51249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQTw-000112-JK for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:16:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQTv-00010p-Ot for 54796@debbugs.gnu.org; Fri, 29 Apr 2022 09:16:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQTk-0002Ht-ER; Fri, 29 Apr 2022 09:16:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=AHs01TMUCm+VplLyzAVTsHiqZAgC9vZWhNN41HyiXXs=; b=Cx7/LThRy8iD8A03lpcS +hD2Wf5FeDqN1xEDCjtWmQbgy1QBSeW+nZf0vYnajp3ZpjSS2R0JzmZkGhbyURViz5rN/JpWJLYVG xyRgz9z8EtIkPfDVJY2psLXZnMqCSBJpuSSDu5yqD717v1r8OJc8hv7tpZC42OEAW7QKs03kJn9UY FHmGgXq+q9DDUEHuaFzVnt8eIcBM5vscMprBWkIVeSlThWGIs/yDEFatgj8RXjTZedSugHWnS029d DOu/ttuTI0T8BTwPrPgBmBSbvdWKzavlukoMLsOVFMrHzjlcVI0uctmojB7LS7ZDAy/wDUqELyQnB KNn0wWVF6j7J8Q==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48972 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQTj-0006jH-S1; Fri, 29 Apr 2022 09:16:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> Date: Fri, 29 Apr 2022 15:16:09 +0200 In-Reply-To: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 10 Apr 2022 20:57:17 +0200") Message-ID: <87y1zo6ndy.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hartmut Goebel skribis: > * gnu/packages/erlang.scm (rebar3): New variable. [...] > + (inputs > + `(("bbmustache-source" ,(package-source erlang-bbmustache)) > + ("certifi-source" ,(package-source erlang-certifi)) > + ("cf-source" ,(package-source erlang-cf)) > + ("cth_readable-source" ,(package-source erlang-cth-readable)) > + ("erlware_commons-source" ,(package-source erlang-erlware-commons= )) > + ("eunit_formatters-source" ,(package-source erlang-eunit-formatte= rs)) > + ("getopt-source" ,(package-source erlang-getopt)) > + ("hex_core-source" ,(package-source erlang-hex-core)) > + ("parse_trans-source" ,(package-source erlang-parse-trans)) > + ("relx-source" ,(package-source erlang-relx)) > + ("ssl_verify_fun-source" ,(package-source erlang-ssl-verify-fun)) > + ("providers-source" ,(package-source erlang-providers)))) Not a blocker, but I=E2=80=99d rather see this eventually changed to use a = gexp, like so: #:arguments #~(modify-phases =E2=80=A6 (add-before =E2=80=A6 (lambda =E2=80=A6 (for-each (lambda (source) =E2=80=A6) '(#$@(map package-source (list erlang-bbmustache =E2=80=A6= ))))))) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 09:18:30 2022 Received: (at 54796) by debbugs.gnu.org; 29 Apr 2022 13:18:30 +0000 Received: from localhost ([127.0.0.1]:51254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQVy-00014W-0D for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:18:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQVw-00014D-98 for 54796@debbugs.gnu.org; Fri, 29 Apr 2022 09:18:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQVp-0002ZN-SQ; Fri, 29 Apr 2022 09:18:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=27/XiKedeDX0gQS8N6PiS79A11xxAkkFfVR5Y7z1COw=; b=VKr1gz8R4w9PtchVUL30 njx6eyYdxbDsIL2d91qp2VelQmg/gTCAKQ1L0yKMLiRaDK3q4bwVQqa9CJHUIMQAdCWYg8oUC/yO8 redn+sh3bsRlsNe+6+RH1ne8DfE2rPKL3sPdoakzOq5RdfYO/A6NQ7tTzGqXeIs9Xhr+FXZTQaE3Z +PigH38pmKJ/tsfnNnf/Auf6F7HRvfBN2GFtI3l3DBADpRhUstk8oAgLaETA4q/CXk8x9OChbyza/ Cds1n6BXp3vHEck58rbvqJUsgGZ1e7QeJd4O7fCBV0AdmBaXWv4DdYrs56nm1eS9jgg+AFXOYrgUN 6rVywFBUOUc5jQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48974 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQVp-0006rz-4B; Fri, 29 Apr 2022 09:18:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: Date: Fri, 29 Apr 2022 15:18:19 +0200 In-Reply-To: (Hartmut Goebel's message of "Sun, 10 Apr 2022 20:57:19 +0200") Message-ID: <87sfpw6nac.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org, Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Hartmut Goebel skribis: > Thanks to Maxime Devos for the review of V3. Do ease review for other > reviewers, here is a complete set of updated patches, incorporating Maxim= e's > comments. Unless Maxime has further comments, this patch series looks ready to me, modulo the cosmetic changes I suggested (some of which can be made afterwards). Hartmut, can we remove guix/extracting-download.scm now? Thanks folks for all the work! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 10:33:16 2022 Received: (at 54796) by debbugs.gnu.org; 29 Apr 2022 14:33:17 +0000 Received: from localhost ([127.0.0.1]:55051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRgK-00025z-LZ for submit@debbugs.gnu.org; Fri, 29 Apr 2022 10:33:16 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:48706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRgI-00025q-Mo for 54796@debbugs.gnu.org; Fri, 29 Apr 2022 10:33:15 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id QeZC2700Z4UW6Th01eZDHy; Fri, 29 Apr 2022 16:33:13 +0200 Message-ID: <5dfc8bc092e05496db58cd7290a31df665faa594.camel@telenet.be> Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Hartmut Goebel Date: Fri, 29 Apr 2022 16:33:08 +0200 In-Reply-To: <87sfpw6nac.fsf_-_@gnu.org> References: <87sfpw6nac.fsf_-_@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-SPHwxcrTy0ngHszJhfo9" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651242793; bh=ih+q7OIckL626CEQ8iqx/b9dhhK4CDFb2IzkJ48YejA=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OttIq9Zj9eUTYDaxv7B3Se1B3ugrY0Bms4Zwc69+tLLntzBwA/kX5Qifnrz3NdYYD aDmvOtReYjAUeb/7kUDpZpL8Jv+1ptcRWX96Ha61PqFVhof0xsFN6TssIVj9kCrz3b G3PaWUZmkPQq7e6243Pew38jN57CqX2M1Y+s4+864hbLC3wxjEYPfWTGrrSkgA9APd sCm+KtfXKabr9FLUB7J40N0+zXkdFhrEQMhr+BkIgIGC1FoGwPtOUV4++e06QNcyCA VRb588i6urFKwwQlThNQ0JBf2QTVZP6XNABe1osqtN0lvm8rTssXQhr8YGkH0UaGAc +mvmnoRzBq8BA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-SPHwxcrTy0ngHszJhfo9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op vr 29-04-2022 om 15:18 [+0200]: > Hi, >=20 > Hartmut Goebel skribis: >=20 > > Thanks to Maxime Devos for the review of V3. Do ease review for other > > reviewers, here is a complete set of updated patches, incorporating Max= ime's > > comments. >=20 > Unless Maxime has further comments, this patch series looks ready to me, > modulo the cosmetic changes I suggested (some of which can be made > afterwards). No further comments. Greetings, Maxime. --=-SPHwxcrTy0ngHszJhfo9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYmv3JBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hatAQDcLjTK3TRWc7RIBK9AL66wB8mF 3/PKh09jcGABB8nflgEAp/G4EMaHy0Dbctq3LMPaJcbexDzkzFs+0UdE9T+VVgU= =gnlX -----END PGP SIGNATURE----- --=-SPHwxcrTy0ngHszJhfo9-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 08:41:10 2022 Received: (at 54796) by debbugs.gnu.org; 5 May 2022 12:41:10 +0000 Received: from localhost ([127.0.0.1]:44671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nman8-0000px-7d for submit@debbugs.gnu.org; Thu, 05 May 2022 08:41:10 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:54747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nman3-0000pF-KM for 54796@debbugs.gnu.org; Thu, 05 May 2022 08:41:09 -0400 Received: from hermia.goebel-consult.de ([79.211.176.114]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MirX2-1oIMhT1zZk-00evsO; Thu, 05 May 2022 14:40:59 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id AC1425F9CB; Thu, 5 May 2022 14:40:56 +0200 (CEST) Message-ID: <85f5b644-cabe-36f4-3d67-94948043091a@crazy-compilers.com> Date: Thu, 5 May 2022 14:40:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> <8735hw823j.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <8735hw823j.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:nlY5aEcaZCkdSoOeoKKgld7Wfue5S/6gNk/tSygOqwRS6iNofZ+ M/qpchO9UXuIXhqW/jtT6b0we5PrrwNzxaDdPlc5zLyqNm7sFnjIvaz+lFqBlREhpQCYEit UtOyiH/2LV5in1D4kNEYyhx0JUqMf7mg4Yvjrk8zxs6XIJTOHjq6WDFCeaKuBRSx5agSLEf jZkU2cN5WCxuQEjPK9+Dg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:caQhE8tGp38=:8bf5DDtLpyw5KhQVl6S7e/ YeqaFL3H83eoYhg2AN3XYFL+SjigFSZkX+DeHggFwU73e2cDyH5A0SE6imedHlunVY2B7xKtw 9PBjWT9hPIa41AbhJOCJxWrjLUwFJ8E9HFwCLY+43Ru/ZLIl40cVxGrs6EkxKAwgZpp1v1eO5 mFMS7RichzIPmc/GqyQYmrTJpscX5VrnzWz3zzktjoGFDQPBAGg6bB4CcBWgkcm83CJraLA33 3flUsYa8pOD7sx/dTH8URofLCepRcdmlabs3AkpNJmvk0iBET6tXtgvQ8BS2isjSJGFnuInic H4dBeDYaP9SOHxErdnqlvM/rQlhBMaooTFKlup1Q3Nk6MRUJ48QI+yTjCpd+k9KqB/tlKtD51 Y5LpytGWI2dKMvFBCNG/6zlE6IkPt+z3Nl3NInAE5aTl1ElpgFyGWnoAkukwZacaT4VMy3hvd pkxik5X6d1RBDwKYD6qaurP5AQHda1HYdtqYTf0UnlMZVVc6USBRLMV4X3EtqStB5Sms7ahPJ OLgakwNJts+ycqg8zJxnf0+jvS1lUwLMOA4ipfJbXI/PeJBclrpQT912I2Gy4W6NzvUCeo+of UqFZRyuM9mawWik59LdfaOhWaoOMlHZbEGycnb5Mx2iMxui0kK//v5irizTP93Bu+GCISoaB/ Xdgg36ovwEvNTlV7dITn6S99em37via3ubDjTNjgPDYWqr+VjvBRlpUmeg7C4MR03JNNsbTFH L5Whvm6exnShpWdI X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 29.04.22 um 15:13 schrieb Ludovic Courtès: >> +(define-module (guix hexpm-download) >> + #:use-module (srfi srfi-26) >> + #:export (hexpm-package-url >> + hexpm-uri)) > How about moving these two procedures to (guix build-system rebar3)? > This is what is done in similar cases, for example with ‘pypi-uri’. > These definitions are combined in this module, since the WIP „mix-build-system“ (for Elixir) will also use it. Do you want me to move this into the respective build-system modules and thus duplicate the data? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 08:46:34 2022 Received: (at 54796) by debbugs.gnu.org; 5 May 2022 12:46:34 +0000 Received: from localhost ([127.0.0.1]:44688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmasM-0002PH-Ju for submit@debbugs.gnu.org; Thu, 05 May 2022 08:46:34 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:46293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmasL-0002KA-C7 for 54796@debbugs.gnu.org; Thu, 05 May 2022 08:46:33 -0400 Received: from hermia.goebel-consult.de ([79.211.176.114]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MoOIi-1oAiPj11Vw-00opbm; Thu, 05 May 2022 14:46:27 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 834095F9CB; Thu, 5 May 2022 14:46:24 +0200 (CEST) Message-ID: <20323546-87c1-ef2e-4b20-c6dc12f1190c@crazy-compilers.com> Date: Thu, 5 May 2022 14:46:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <877d7882ev.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <877d7882ev.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:PlvyzPLB1RaoYTLQAhQTpUs5FC4dDlEtBGcFDZoYsc3nRhWLzQo VS8x+0fcwbgIwYHSrxOtDCJ0aXxceLnP48yeYPvaKh0hCCg7lDx/ocRI91FUcsr/BifSkNI yk51gbvzrgcqp6Bq3q4hyJ8ZS/6cjPInMwf7bSG48+ViJxOFaIxw73Ipe8acztG8MoaemwT BZsht0hFPdmYPEeT1zHOA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+RVxKMXi8YM=:1ys5cA40cEvJVhUxDlV2gu ihYVTsFIWqwaN2zM5Gf5Fa6gW1H4VnLIb7/HfNQtI07gm9MytSs6WB2IuFi5eLaJ16CVHhE1R yLfl1ihHsIbOyLstcbu+QnnxMrHof843AL0oELO2nlOzdZ12QryJHnkm0ed2nVSVjMv8tfNo4 kc+39LerkjjeQgybGbzXzG/6yUYXXMyZdrn83PiCRUF8el8P/grBTZspw+iqRudW/AMXu7uoZ puZbpbzxjdHQS4ySOBtUzFN7u4V8QjJ8Bs0wjT9/RJTJN7balX3Mz086xy3z7P9BWdPaX2via 1ouKRXMKwVZoIJS11JLP5m+2iupLCMQSmIdcmSlu+NPOO2YzP09Dho0UBoM029NVr6PzGLDSC 3Z+YBvIzQdN3R6lWIhqUmK/M+E9WOZuihPycbIsw8mheIB0+8rETotDBqonblG26TZycqkD55 AL23NTocpYxE3CKstHjNnTiBtuuW+CLKO+1HqiNEBQ1UlNw0YxGmc7l1STuEr0liVEhgucpWv T0pctR8x+dlAL2AlGoEh2EMJixWgvYL9IyOioOYy7S8dP1Mjcg9BsSOHN36a1YFNs2qaeI6vA 90C3ZEm6/mNH3yiyR4JG6bdrDkCbFcrwwluegfa4TsY+nUTf8TfgFhojmdnFJn4x4KJ7qIiZW uN0GHLURXzFvBWkuj03R2eqxRwvBd5uScWRISqzMxODZhwc0zYYHbb9rWWMmzaoOnnyZIHo9S nEdveoNtpnLi6DvA X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 29.04.22 um 15:06 schrieb Ludovic Courtès: > “ebin” and “priv” are non-standard directory names. It would be ideal > to avoid them, unless this is a hard requirement for Erlang/rebar3? AFAIU they are. I'm lacking knowledge about Erlang/OTP internals, and this is what I experienced. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 08:56:49 2022 Received: (at 54796) by debbugs.gnu.org; 5 May 2022 12:56:50 +0000 Received: from localhost ([127.0.0.1]:44745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmb2H-0003VV-MD for submit@debbugs.gnu.org; Thu, 05 May 2022 08:56:49 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmb2F-0003VH-Im for 54796@debbugs.gnu.org; Thu, 05 May 2022 08:56:48 -0400 Received: from hermia.goebel-consult.de ([79.211.176.114]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M89P1-1nhOF13VqN-005KFg; Thu, 05 May 2022 14:56:40 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 08EFC5F9CB; Thu, 5 May 2022 14:56:38 +0200 (CEST) Message-ID: <3d4996a0-5e90-31c0-ea5c-854b3356327d@crazy-compilers.com> Date: Thu, 5 May 2022 14:56:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [bug#54796] [PATCH v4 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: Maxime Devos , 54796@debbugs.gnu.org References: From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1w37z3y2olcV5N9Bb6u2i3/pz4rkVDNO8Z/boGDXGeI1OLCOIII LBhddrJTDon3Y7LFe745pFJWJkA/EYzLHCxUC7JuC//8dbhwdUz5vx70KAyqtNK/Qe/9hk/ wwmIhP11Boy2WVJFrMUuivlIM4waYEUiz5gJzU/hkA5xJ7cfMmoz1moNbgfTgg+/+oIam2+ D2/RNdrUj5HKzVK24q4Zw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fFO6Soh+A4c=:fpoPz35DACAhm6jeaLlXBY jZtnwCbDQXnZIXhTkEm2StYHa0yiQP7A7kbm3dCM6TESb/42dSDqAj9wVnI/UhOt1K7eCbzM5 h9lQAU7FG9z0XDJN8SeK0eCU7xE3GKI9W1tj/iGfBQ+4nWyS+4KfxLjcAwImOkeKUjxQ1dmac NSqpMW0hHCQ4NXmqjt+jwgJQIlKskvOoUs/i6MUqXZAKgkpXDHZtXnFZgTTDYbRb8scHvfOSC +bYjLvERkJIAbgt+XvafwlCLNKjCJDkhv7yoq/f6qe8riEE/LdUFrfMiEusYOkkI4cTe2OvQC tzjkNLKPv85w590PaLiMzx0DU+RxvNn23xVnkal6ZZQHlB7kLtx7n7fo7hiIzwGBiLQ2YYDWg EWpJx3ss+cUpx2hbg7IH5USiH2f4k8IRPF9ag9FJhQBjpx7hfMh29xT/aIMxsC5U9T3PPdNi/ iLOWRLoCB+bkwPPSzS+wqGyX82cyP7WZ/sRA2oskP/y9dbENjA1H5Bq6AhQWqgjUSt0Liexph gayyBOwoqVge8ytX1ds1HiKu/u9/tig32M4oPm4A8s7kQhkjY1VY/AtrguqTXFv7xE4enoYdk kmV9ALqzkFj48gx+tK3BEjeOSDgt9HjJ+ryX/BPUcOaT96YJ7cCR67d6Q3gPmFPD5j2XPYU7w b/3hdOA+bUmvD9HMf80YHhVLoyREzL1ItRw0Gf2Zdlp2Z0kcjhQnVzlhZSQM86BL4sed3irM4 bPbCcCBockFTPIsY X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 11.04.22 um 14:04 schrieb Maxime Devos: > If rebar2, rebar3 and rebar4 would require completely different phases > and use different file formats or such, IMO a separate build system > (and hence, a 2, 3 or 4 suffix) may be useful. It took some time to come to a conclusion for me on this: I'm going to rename it into „rebar-build-system“ (without the number). If need arises for some rebar4-build-system, we can still think about adding „rebar3-build-system” as an alias. Rational: I assume, some rebar2 and rebar4 build-systems would have the same phases. „Just” commands might be different. Eg. rebar2 did just „compile“ while rebar3 can have „as prod compile“ — which could be handled with different means. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 16:48:19 2022 Received: (at 54796) by debbugs.gnu.org; 5 May 2022 20:48:20 +0000 Received: from localhost ([127.0.0.1]:46610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmiOZ-0007tf-Lv for submit@debbugs.gnu.org; Thu, 05 May 2022 16:48:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmiOX-0007tS-RQ for 54796@debbugs.gnu.org; Thu, 05 May 2022 16:48:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmiOS-0004gr-0N; Thu, 05 May 2022 16:48:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=KgxJws856uZaSw9iWSBDXa0KwRysDXCEfBPU583TQkg=; b=MlRqtg65hkZIQXXw0c1G GkY51dgNN7k3/GoDRpvTcorIHLW0thc2A+Zpagm1HIhKtN35YnrNK7XFYdf24+mGR1yuLKZhJzx6v yiENSB6vLzjBp0mMd4EXp95aU4csQWCPEIbk2BYLKBJeItweP7cNJuA5rzrd7Lvngyogzdl2kzkZZ U/HJmZlxS8tn0V3KXzeyxxcVCFk1LHkQtpAUIQaG5N8FyjLsUPK4EhFJjinrgmDbCKu/FT/jje7o2 5TT5MDw+8biBtbLmx8Ue8aTE0sNJ8Cu95jbCoj1rHU/x4vgVL8qvWPpjCxVzrtDE0k9awOKGzFQyT WWloBZ6cj37/nw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:49741 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmiOR-0004jB-KQ; Thu, 05 May 2022 16:48:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> <8735hw823j.fsf_-_@gnu.org> <85f5b644-cabe-36f4-3d67-94948043091a@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?utf-8?Q?Flor=C3=A9al?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 05 May 2022 22:48:09 +0200 In-Reply-To: <85f5b644-cabe-36f4-3d67-94948043091a@crazy-compilers.com> (Hartmut Goebel's message of "Thu, 5 May 2022 14:40:56 +0200") Message-ID: <8735hn7lkm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Hartmut Goebel skribis: > Am 29.04.22 um 15:13 schrieb Ludovic Court=C3=A8s: >>> +(define-module (guix hexpm-download) >>> + #:use-module (srfi srfi-26) >>> + #:export (hexpm-package-url >>> + hexpm-uri)) >> How about moving these two procedures to (guix build-system rebar3)? >> This is what is done in similar cases, for example with =E2=80=98pypi-ur= i=E2=80=99. >> > These definitions are combined in this module, since the WIP > =E2=80=9Emix-build-system=E2=80=9C (for Elixir) will also use it. OK. > Do you want me to move this into the respective build-system modules > and thus duplicate the data? We don=E2=80=99t want to duplicate it, but it might still make sense to have them in (guix build-system rebar3) and have it imported by (guix build-system mix) if needed. At least I have a slight preference for this over having a short top-level module =E2=80=98just=E2=80=99 for these two procedures. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 17:06:29 2022 Received: (at 54796) by debbugs.gnu.org; 5 May 2022 21:06:29 +0000 Received: from localhost ([127.0.0.1]:46614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmig9-0008L0-8u for submit@debbugs.gnu.org; Thu, 05 May 2022 17:06:29 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:43287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmig7-0008Kl-Gq for 54796@debbugs.gnu.org; Thu, 05 May 2022 17:06:28 -0400 Received: from hermia.goebel-consult.de ([79.211.176.114]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mr8vG-1o8FjP0W50-00oIS2; Thu, 05 May 2022 23:06:21 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0B6CA5F9EC; Thu, 5 May 2022 23:06:18 +0200 (CEST) Message-ID: <53972c3f-6232-9737-63e0-f6d2653bfb01@crazy-compilers.com> Date: Thu, 5 May 2022 23:06:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <1b7d1999ae7d090d17ad8953b835da9c5dc3cf54.1649616716.git.h.goebel@crazy-compilers.com> <8735hw823j.fsf_-_@gnu.org> <85f5b644-cabe-36f4-3d67-94948043091a@crazy-compilers.com> <8735hn7lkm.fsf@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <8735hn7lkm.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:BMMI3v8+C9gsnWkCpV7VqIE4Tf8owtCwyYQAGEYb0/bJ87qPL5s XHZ4aR4mwhOayNlQU+KpvQylQfM+CqRmIVmMGMBb4q0VAAD0kqRVPdU3ScZDtYvSauaAHVm QFeC4b2zCMyOP4PItNhNzuyrdAbgydBmSedkXWsy43PkfhghWCx/ikv2/AB1Phnn6+UQnhj AKVU/9D5SYZKKkuLJCmFw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:E6J6jtDViMg=:2zBYvKBp8+JkgNR3saRcVC ClJ8hfsoA7x/HgIfAQVEr8N5eHBxYkpzoS/T7j5uaL6cyVyVAQJkVKoqUoKOe4eazcXkBkk6s NbjcJVWTgWhAoCFUdMkIduULFHa6aU1YUaDU4X5HJiktCX+cc1BDpU8IzzyByWxpyornZJrZv oJIHul+BWGVUWXyK06G0w025UlRV/TJX00TLlpFcXjQufjYdV40ptcw4Bbg4LU/jocjs+I8lN L2/1/btjviRhL5sUD3PL6RTHtkwSUZw0qFV5e8DmzpYanuC0vDmeVg+gYNzwAwoLOdJZH153k 0Fw0bRyegwOKoc64XkMR9w0FcauYT63yiP0t6I4Q5H+1TQG0/biRJkodtCBombE8Nxpo+wuzH tpdvB9TB12u4YlxZ0uqNjHQE/eJ/AXR+haK2extU7/ZAJ0w9GLTEufHPQqT0rAvivV/qiRPpu 1on3Xydteq0N9Vcj8siEbIegAxe13PKrzfzntfPJe35rZticF5cZtEj4WZFfmmmtuGtyFYRBl uvEnWSYCq3ZMzfFHY76PbY24tnSbeMh4rcN6IhR9m9D8GForPQtb6EbZp+lF8DR+w7g2GIiBF /uexYplmFrstLv8XpY/MYd9mz3IeCXTo874MxY/wCdGybFyG/dFITUS1Mco8/dYLpiJQqyRAe LkcqRC17Z32RMcvRpyNLLPunpm7JQAyyPaBf5ScANueYvFGl4FInp3Cc29Au1UYOaOyDaM1Qr pdTUY7q4rF+AYHdd X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 05.05.22 um 22:48 schrieb Ludovic Courtès: > We don’t want to duplicate it, but it might still make sense to have > them in (guix build-system rebar3) and have it imported by (guix > build-system mix) if needed. Fine for me. I'll change the patches accordingly. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 10:58:51 2022 Received: (at 54796) by debbugs.gnu.org; 6 May 2022 14:58:51 +0000 Received: from localhost ([127.0.0.1]:49431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmzPv-0003nh-8W for submit@debbugs.gnu.org; Fri, 06 May 2022 10:58:51 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:45165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmzPt-0003nP-I2 for 54796@debbugs.gnu.org; Fri, 06 May 2022 10:58:50 -0400 Received: from hermia.goebel-consult.de ([79.211.190.242]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M1ZUb-1npTBp3iQd-0032Qf; Fri, 06 May 2022 16:58:42 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 114155F9CB; Fri, 6 May 2022 16:58:40 +0200 (CEST) Message-ID: Date: Fri, 6 May 2022 16:58:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> <87y1zo6ndy.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <87y1zo6ndy.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:TKIYcQRiyINj8Fkl/lDGihotwuy0JEerk4IqhxQNq1y9HftsT+Q owUGZC9aTijIWfDAhXfa14h4Qgtfk6z2plXQm55atTx4YfQ3IqulcOSRHqb3fD047zK7Rde syrz7YDQ92YiHZWjNOr2kyrNTUenyLmvLYLQPyVV4U4vxHXiEM2m5K08tkpphM00FZr5qre yPyOLdEDwvYDNzrsCIhhg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rJ3CAoN9gNg=:ddPXJGdzvKlM02XUrlHdr0 rA9TiMsldT5OHeFxHBEnZf46eFMBt9kXQ3/BEYilUrnvYgY5lVdkvflCyGrcXIDPXVk/uUrL+ eDl/alOhp1dMIqVOrLpzo24er2Y5pMJuszh/KI2xfB5gQTSvoVoMXRJ4CUef7Lc0CcE90dX63 nqb3+8jdbTX5rM5bSNJ8qkb3Q+LPnvAvi+zQiKjdOD9jQnShaliAhq3I5gaQrpd1gqr9bt6S9 xNr8fHuvw1JPe1dZp0IMMV089kFr6EjLgfABITrob/2RXLBhdxz6rIZj9c1FaeUtG1bIidMba VkjXXlvDA4ix3spC1/LrUz39nYXugX3+FMhCcPoaVRkF/eaSDAi8OIzAGIyxzl2Pz4Mr7pubN NKLj4rlbbBDjrn5aTDjDf3Nay7Pz/njxg2K2SQnwIbuTXrhPQ+K9mD0tJdie5T403hp8u5gr1 Dk94DOEtx5BLr0aAJM7ozHk1zP66CA0SkFYyCjl+YmRfQ5Wuuq1cNMu47PGLqgiOUrMV2RIue +yE78hH23+9TVqDcUDaPrn5cxzG0iEIlngKeXG4BPh9HSRuAH40PWii7WxqsCpHyOBNAmuNB2 Exi48XrKL/QdcJ8pIJhz5Ky2cbtXA/Hn6aS0Hs/Ax9Uag0mVHirypDXiBvHlPYny9YpfrX43l mv1ILd735nFapjrbVEzjXeM4T6GPHgCPgwjOOiqe+YHzFWDVcrUmPwuN0c4+3proOk/vJpiEn cuW7Mqhsje5GtIRw X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 29.04.22 um 15:16 schrieb Ludovic Courtès: > Not a blocker, but I’d rather see this eventually changed to use a gexp, > like so: Writing some decent code for with is beyond my scheme knowledge. I leave this as an excersice for guile experts. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 04:25:36 2022 Received: (at 54796) by debbugs.gnu.org; 9 May 2022 08:25:36 +0000 Received: from localhost ([127.0.0.1]:55969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnyi0-0006jX-A2 for submit@debbugs.gnu.org; Mon, 09 May 2022 04:25:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnyhx-0006jJ-JW for 54796@debbugs.gnu.org; Mon, 09 May 2022 04:25:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnyhr-0000DV-MJ; Mon, 09 May 2022 04:25:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8C0Q3Dmn1+xm1f1rdRsfwKtV2q2AmKoTS3Dk9zapa/Q=; b=ptkFsL+crK5P2DBI5M8Q EmzQw9nAE+seSlK38m8UjBe37HF1rRzDSdos2xU4tD20lqyUOZUV8tW4DBvamZQSkFGKxLb7TwANs dS3gF1fvdejxGZyTS6hI+kSfOtvSbkZrMZUeNbVcXsB/9b2kNSsRNn92LOiMxCezbQVyPshEJUaxK ARL4zdzDIy0+7vwP0m/fUvgMeaZp9I6zerfZ+PFvEemsn118HKKVsZg2JiOXodapWzTassPA9Qa/S 32L8PqJTRdVJT2dzyf2UNx/Ou9DMURI1VrFpVTD6obGkhvIlD31PB6eh2f9YuwBtcCV9NVJgU74kn cwmN1tKr4o7MfA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44896 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnyhr-00037T-5n; Mon, 09 May 2022 04:25:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> <87y1zo6ndy.fsf_-_@gnu.org> Date: Mon, 09 May 2022 10:25:24 +0200 In-Reply-To: (Hartmut Goebel's message of "Fri, 6 May 2022 16:58:39 +0200") Message-ID: <87ee13t8nf.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Hartmut Goebel skribis: > Am 29.04.22 um 15:16 schrieb Ludovic Court=C3=A8s: >> Not a blocker, but I=E2=80=99d rather see this eventually changed to use= a gexp, >> like so: > > Writing some decent code for with is beyond my scheme knowledge. I > leave this as an excersice for guile experts. To be fair, there=E2=80=99s not much expertise to be had beyond mimicking t= he example I gave you in the parent message; it=E2=80=99s close to working cod= e! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 06:15:52 2022 Received: (at 54796) by debbugs.gnu.org; 9 May 2022 10:15:52 +0000 Received: from localhost ([127.0.0.1]:56263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no0Qh-0000cC-Uu for submit@debbugs.gnu.org; Mon, 09 May 2022 06:15:52 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:33685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no0Qg-0000UF-E7 for 54796@debbugs.gnu.org; Mon, 09 May 2022 06:15:51 -0400 Received: from hermia.goebel-consult.de ([79.211.188.63]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MpDeD-1o9ZTc3J6N-00qiRu; Mon, 09 May 2022 12:15:43 +0200 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id B812E5F587; Mon, 9 May 2022 12:15:40 +0200 (CEST) Message-ID: <0d5b991a-e0dc-f2d4-5ab9-5f9d30a6807d@crazy-compilers.com> Date: Mon, 9 May 2022 12:15:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <120da897838074daac150b733b46c2716f24da2c.1649616716.git.h.goebel@crazy-compilers.com> <87y1zo6ndy.fsf_-_@gnu.org> <87ee13t8nf.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <87ee13t8nf.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:c8ut8uKVmN/Ozz+Kt0MhRiYdEuYO+0krQBhcZQosL6ccDozfO1D NgIZKNOly0QsQ+JAaatHTqaS/siFZ7KYj32Q2pI8gesioogjJjCU9rjhCVPKue02DWRwgbH CY3PRh8yv4qOPVXJ/cA1wYHSbdDWImi6VR8wJiXmpP1UuSJSjIb8nxRpoBBM3fJFAEqvBxg SzafeNKjq8tYlPFNJPDhw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mMDlSa/iLRQ=:p76YKbUMuB6rr7UUgDN5vG ZbHiU+adTpm9bfpwsWS83z91hRzDRh4ws14n6IZIFiE/KGEi5vuStwYPRY0p1QkpsI0iFNEgV 0+odJ+SApUtkGF3TesR4GzbHSXLNrK6u25/YjLQM26Sf76v6Khrc5hRRulvzje2ZX3w1EC5Rg itzzK6SIPSk6uvh1M6NUDHDJ1uvH7NCHohKMm38i4DdyIKoGTvyyY0ymAV3DQmEVyI5vqtDLu 6YN2zLdqT0oXd8Fg2ORgKcUrYWytPnUUhbLfQ3f1/7JA5vsXyDZkaSmTlz4aHVcvVQMi/GAmJ bKVrxE1wLLgXwP8fgx4ahYtw/WoPeUuLb9SzDeUGXBM4MTFNFUXIgYAcgbX6PnFornWtw8Int tPR367e+gY3AB5hh6YdkqPQPmHLHH5wtFki9BDw5i4Ieh+qrWM0uwFUQzAGl3enUOOFadQrBY VG7wIAjsP+PPDrvkMcEb98WUFIx3NorzUVS0WADFmNG3FJ7iazAWpEFi6Cyi3dlj4ax3Kp02Y ogMoByCujJOMU0qa/uMxtJ6Z/2OrZl3kZQtj5YL1MNRVeR7YQgpFRkO3rSvdSy5N5QFBG/c2K Qq8bLKE3zPNErkKCMoxNqNKnOgvzyxqwpBYqc8zEAI+dajFge9+QaJ7ngz+9t2ISVDObMFFOK 9aoRN/QTq658l6OeLNWiiQhqgMdX6DGFElWPQxOGrgHa1VRwTayE9ptEx00lgbbiqKOBEOAss fsalPQKz4xTXEkSB X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am 09.05.22 um 10:25 schrieb Ludovic Courtès: > To be fair, there’s not much expertise to be had beyond mimicking the > example I gave you in the parent message; it’s close to working code! This is what I thought. But beside the package, there is also required the original package's name (no prefix, underscores instead of dashes). And the code I was able to write was ugly. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 17:29:43 2022 Received: (at 54796) by debbugs.gnu.org; 14 Jun 2022 21:29:43 +0000 Received: from localhost ([127.0.0.1]:35962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1E6Z-0002yS-5u for submit@debbugs.gnu.org; Tue, 14 Jun 2022 17:29:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1E6R-0002yB-0s for 54796@debbugs.gnu.org; Tue, 14 Jun 2022 17:29:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1E6K-0001wG-Mj; Tue, 14 Jun 2022 17:29:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=fk96cUaCa0IAOMoAt0kNvV3k8CQx/tpxmkDZeZGRUEw=; b=oyE6Nlbh0VXJm1+1jKCJ AKtaSHogr6ZrhCjx83Rrbl7oC23m7SqHU5YWCCx7K/8/UE01+V8r3Gx/5s9UgKTbMCXYZrYxX2yvR 7rnCnFLJItTW6mJ2BnlziVqc0j25qkwwtKKu+sAlTtKONYJ0tAcZFxCCiATDYySQB0oShg0KEhTOK +yth2oWn5tCbDtEHGKcFqoHXp4sWYG3UGJofJrPV3ChkDmV2FwhlpQf7W83sKl1Qey75Qekwpie6q fr3wkA5y9nUFq4u15o3eo6y2HfPIOLwr+CxLpdeXg/VNW+v5UQZ3xrAXGB69z5eM0XQ+uY6s1Bleo 5X1kXKKq1o3GKA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61088 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1E6K-00047K-AS; Tue, 14 Jun 2022 17:29:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: bug#54796: [PATCH v3 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <87sfpw6nac.fsf_-_@gnu.org> <5dfc8bc092e05496db58cd7290a31df665faa594.camel@telenet.be> Date: Tue, 14 Jun 2022 23:29:26 +0200 In-Reply-To: <5dfc8bc092e05496db58cd7290a31df665faa594.camel@telenet.be> (Maxime Devos's message of "Fri, 29 Apr 2022 16:33:08 +0200") Message-ID: <877d5jvsqx.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796 Cc: 54796@debbugs.gnu.org, Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Hartmut, Maxime Devos skribis: > Ludovic Court=C3=A8s schreef op vr 29-04-2022 om 15:18 [+0200]: >> Hi, >>=20 >> Hartmut Goebel skribis: >>=20 >> > Thanks to Maxime Devos for the review of V3. Do ease review for other >> > reviewers, here is a complete set of updated patches, incorporating Ma= xime's >> > comments. >>=20 >> Unless Maxime has further comments, this patch series looks ready to me, >> modulo the cosmetic changes I suggested (some of which can be made >> afterwards). > > No further comments. This patch series was reviewed and approved a while back, please feel free to push it! There were a couple of suggestions (non-blockers) that you could implement in subsequent patches. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 05:21:01 2022 Received: (at 54796-close) by debbugs.gnu.org; 15 Jun 2022 09:21:01 +0000 Received: from localhost ([127.0.0.1]:36536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1PCv-0006up-8P for submit@debbugs.gnu.org; Wed, 15 Jun 2022 05:21:01 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:55791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1PCs-0006ub-LJ for 54796-close@debbugs.gnu.org; Wed, 15 Jun 2022 05:21:00 -0400 Received: from hermia.goebel-consult.de ([79.211.185.70]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNL2Y-1oLqne1gVu-00OlbD for <54796-close@debbugs.gnu.org>; Wed, 15 Jun 2022 11:20:52 +0200 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id C6DD95F53D for <54796-close@debbugs.gnu.org>; Wed, 15 Jun 2022 11:20:53 +0200 (CEST) Message-ID: <427ac7c5-a3a2-b892-315f-4a66f31d4da0@crazy-compilers.com> Date: Wed, 15 Jun 2022 11:20:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 From: Hartmut Goebel Subject: Re: [PATCH v4 00/22] Add importer for hex.pm and rebar3 build-system for Erlang To: 54796-close@debbugs.gnu.org References: Content-Language: de-DE Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:DOpk8IK8lwb7a/RmYYDb3N/sW6PFLofbSJ6aKo0qvTl1R1euriv OOGzXpe5TIliItRrz6PGZMZkYUlMf8AAqzc6MkUQgPIi5tqRx6zvW/fBdUePr9XGOzRlg8s WZkdh/do0DCX7fdnPGZ1j8uQU3bdd0KEorzE6Lps2fHHrtZY9vjOQUfvWG5MS1pKyvnPd3V 0mgv+zOIRDPo4g3xI/Jfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:zPNGOwcTuPY=:OHQkG5I63u61wk+jWc4eoE mPOrSJ51ZkDOzhgG6F4Ye1j+gpBMOvPTQiGbhkXbI/J/hAg2TtboeuBcjrR/+deseOJXB/cpr EN8Twhz+Aez44hRpdChvgy9r+l0oEqAt4r8QCfdIw23aYnH7y2mWK5g6Nv48kaNqiqigiuyov lEfMKxhMNiigr+b2EL8lu0E7oZJs815zGXWsSAeMF1+PZiwZmSvXr1CiKz2givTiQE1ZjeZ6x u2UXp60vk8GovenZCHZJ4wVU38Lw64U1IfT+RERuWDGgtlt9Y0EoU2CLSUVKP5q2QruXMjY+w DFDM7/u2lz4mRzWJMvTxte5YefAxWMq4ulPueSkUkJdWzTBT0Falzen0dwN45oIw4Bs/Sz9NI 6HqgujnXmTcjW7h8DlhZ4n/wmrJVxujuhYtIfBHIQ6yBAF+1Xo1b/rDOmnW1wK6SsoXsjcV1K 6FRvUgkda1bJ4SYbcTVL9ioY20bA+26vMvyeQPFa/WX0zQ1HRiATumxjtYA/hMw/mgAJqCVks IP9DIEEdslraYVvba08kTEz+/plg8btVF20SYti7cz3f5XKp1TcvN64tTqv9C+XliLy/N/hfi VxusNrnX7ZLLluzFUd1TV3jL+VvHhCrzUoJyDnSb6nu5daPDmltivn1iK0quTN4F2qlb274gy Y/gM8v3ZvdPSM4tugL3PNPuNKhJM9V4z0VJhkZA2PNjqG4j+Bg3CLQkv3IUkz9x+uJ3c02b90 sKKIAWPlq7rOyUTDKaasEy7gmCohao30hYA9387MP2sqjKhBepwlDaA9UzM= X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54796-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Many thanks for the review. Finally I finished this patch series and pushed as 9cccf6490d98bd40ea1eb9e84ecf4a2b32614107 Notable changes compared to last review comments: * removed guix extracting-download - which was an left-over * build-system is now named rebar (without '3') * fixed some minor lint-errors I also validated that all packages are up to date. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 11:25:20 2022 Received: (at 54796-done) by debbugs.gnu.org; 17 Jun 2022 15:25:20 +0000 Received: from localhost ([127.0.0.1]:46711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Dqa-0002d5-1a for submit@debbugs.gnu.org; Fri, 17 Jun 2022 11:25:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2DqT-0002cl-QY for 54796-done@debbugs.gnu.org; Fri, 17 Jun 2022 11:25:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2DqM-0005OQ-Qu; Fri, 17 Jun 2022 11:25:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Mj5jm/jk5FG81PeoRasxd0DUm299g/C57XvRZXWrXqY=; b=LQdL3Tl4aXfbKCg07x+D DybwmK4FdKLLT42uNl0QWuAyd2buwPnlbUXyU1p1tH2gjoyplGpSOMBD/f/V92MCDCknQeOik+4a1 B4+hkwsvn9LDnrTxNQ9xV+akq/Gvw1VvZoBIY9CD8FOFGkyhED0m504ADFeYzaw1RE9+hIaSnEeq9 F//m8PYfwMDOUcwFEKVtW2b5TUeUEqeLUVSIlj+vJjsMetSh3Aqh953BWv3s0n0WNOqP+df1oXXnp RLSlOnq5fcSlAGbyy8uByfO0JOKBulJ2nfNB1qDiul0sWhrHyKH+sPLKo9zIiHOJi6NxeA5GjzlvO Gj9qhEBIRcMN6A==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38820 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2DqJ-0001OU-8j; Fri, 17 Jun 2022 11:25:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Subject: Re: [PATCH v4 00/22] Add importer for hex.pm and rebar3 build-system for Erlang References: <1a53c4c0-3516-e337-2e51-ff45ee44cd8d@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 29 Prairial an 230 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la Pivoine X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 17 Jun 2022 17:25:01 +0200 In-Reply-To: <1a53c4c0-3516-e337-2e51-ff45ee44cd8d@crazy-compilers.com> (Hartmut Goebel's message of "Wed, 15 Jun 2022 11:06:20 +0200") Message-ID: <87ilozfh2q.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54796-done Cc: 54796-done@debbugs.gnu.org, Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Hartmut Goebel skribis: > Many thanks for the review. Finally I finished this patch series and > pushed as 9cccf6490d98bd40ea1eb9e84ecf4a2b32614107 Yay, well done, thanks! Ludo=E2=80=99. From unknown Fri Jun 20 07:20:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Jul 2022 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator