From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353365619250 (code B ref -1); Wed, 06 Oct 2021 15:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:20:56 +0000 Received: from localhost ([127.0.0.1]:45160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8ix-000503-Bf for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:20:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:57188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8it-0004zd-62 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:20:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8is-0002Ya-Uw for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:46 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:43120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8id-0007ly-Ms for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:46 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSB3PcDz1qwyD; Wed, 6 Oct 2021 17:20:26 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSB1flJz1qqkD; Wed, 6 Oct 2021 17:20:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id e5QwXXbKqggV; Wed, 6 Oct 2021 17:20:23 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:23 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id C52566008B; Wed, 6 Oct 2021 17:20:31 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:19 +0200 Message-Id: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * guix/extracting-download.scm: New file * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + guix/extracting-download.scm | 179 +++++++++++++++++++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 guix/extracting-download.scm diff --git a/Makefile.am b/Makefile.am index b66789fa0b..f2b6c8e8da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,6 +96,7 @@ MODULES = \ guix/discovery.scm \ guix/android-repo-download.scm \ guix/bzr-download.scm \ + guix/extracting-download.scm \ guix/git-download.scm \ guix/hg-download.scm \ guix/swh.scm \ diff --git a/guix/extracting-download.scm b/guix/extracting-download.scm new file mode 100644 index 0000000000..4b7dcc7e83 --- /dev/null +++ b/guix/extracting-download.scm @@ -0,0 +1,179 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès +;;; Copyright © 2017 Mathieu Lirzin +;;; Copyright © 2017 Christopher Baines +;;; Copyright © 2020 Jakub Kądziołka +;;; 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 extracting-download) + #:use-module (ice-9 match) + #:use-module (ice-9 popen) + #:use-module ((guix build download) #:prefix build:) + #:use-module ((guix build utils) #:hide (delete)) + #:use-module (guix gexp) + #:use-module (guix modules) + #:use-module (guix monads) + #:use-module (guix packages) ;; for %current-system + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (srfi srfi-26) + #:export (http-fetch/extract + download-to-store/extract)) + +;;; +;;; Produce fixed-output derivations with data extracted from n archive +;;; fetched over HTTP or FTP. +;;; +;;; This is meant to be used for package repositories where the actual source +;;; archive is packed into another archive, eventually carrying meta-data. +;;; Using this derivation saves both storing the outer archive and extracting +;;; the actual one at build time. The hash is calculated on the actual +;;; archive to ease validating the stored file. +;;; + +(define* (http-fetch/extract url filename-to-extract hash-algo hash + #:optional name + #:key (system (%current-system)) (guile (default-guile))) + "Return a fixed-output derivation that fetches an archive at URL, and +extracts FILE_TO_EXTRACT from the archive. The FILE_TO_EXTRACT is expected to +have hash HASH of type HASH-ALGO (a symbol). By default, the file name is the +base name of URL; optionally, NAME can specify a different file name." + (define file-name + (match url + ((head _ ...) + (basename head)) + (_ + (basename url)))) + + (define guile-zlib + (module-ref (resolve-interface '(gnu packages guile)) 'guile-zlib)) + + (define guile-json + (module-ref (resolve-interface '(gnu packages guile)) 'guile-json-4)) + + (define gnutls + (module-ref (resolve-interface '(gnu packages tls)) 'gnutls)) + + (define inputs + `(("tar" ,(module-ref (resolve-interface '(gnu packages base)) + 'tar)))) + + (define config.scm + (scheme-file "config.scm" + #~(begin + (define-module (guix config) + #:export (%system)) + + (define %system + #$(%current-system))))) + + (define modules + (cons `((guix config) => ,config.scm) + (delete '(guix config) + (source-module-closure '((guix build download) + (guix build utils) + (guix utils) + (web uri)))))) + + (define build + (with-imported-modules modules + (with-extensions (list guile-json gnutls ;for (guix swh) + guile-zlib) + #~(begin + (use-modules (guix build download) + (guix build utils) + (guix utils) + (web uri) + (ice-9 match) + (ice-9 popen)) + ;; The code below expects tar to be in $PATH. + (set-path-environment-variable "PATH" '("bin") + (match '#+inputs + (((names dirs outputs ...) ...) + dirs))) + + (setvbuf (current-output-port) 'line) + (setvbuf (current-error-port) 'line) + + (call-with-temporary-directory + (lambda (directory) + ;; TODO: Support different archive types, based on content-type + ;; or archive name extention. + (let* ((file-to-extract (getenv "extract filename")) + (port (http-fetch (string->uri (getenv "download url")) + #:verify-certificate? #f)) + (tar (open-pipe* OPEN_WRITE "tar" "-C" directory + "-xf" "-" file-to-extract))) + (dump-port port tar) + (close-port port) + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status))) + (copy-file (string-append directory "/" + (getenv "extract filename")) + #$output)))))))) + + (mlet %store-monad ((guile (package->derivation guile system))) + (gexp->derivation (or name file-name) build + + ;; Use environment variables and a fixed script name so + ;; there's only one script in store for all the + ;; downloads. + #:script-name "extract-download" + #:env-vars + `(("download url" . ,url) + ("extract filename" . ,filename-to-extract)) + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") + #:system system + #:local-build? #t ; don't offload download + #:hash-algo hash-algo + #:hash hash + #:guile-for-build guile))) + + +(define* (download-to-store/extract store url filename-to-extract + #:optional (name (basename url)) + #:key (log (current-error-port)) + (verify-certificate? #t)) + "Download an archive from URL, and extracts FILE_TO_EXTRACT from the archive +to STORE, either under NAME or URL's basename if omitted. Write progress +reports to LOG. VERIFY-CERTIFICATE? determines whether or not to validate +HTTPS server certificates." + (call-with-temporary-output-file + (lambda (temp port) + (let ((result + (parameterize ((current-output-port log)) + (build:url-fetch url temp + ;;#:mirrors %mirrors + #:verify-certificate? + verify-certificate?)))) + (close port) + (and result + (call-with-temporary-output-file + (lambda (contents port) + (let ((tar (open-pipe* OPEN_READ + "tar" ;"--auto-compress" + "-xf" temp "--to-stdout" filename-to-extract))) + (dump-port tar port) + (close-port port) + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status))) + (add-to-store store name #f "sha256" contents))))))))) -- 2.30.2 From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 02/23] guix: Add importer for hex.pm. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353366819449 (code B ref -1); Wed, 06 Oct 2021 15:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:08 +0000 Received: from localhost ([127.0.0.1]:45176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8j9-000529-2d for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:57254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8j2-00050P-2V for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8iw-0002ak-Ih for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:53 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:37173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8ie-0007ok-C1 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:50 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSG5LpBz1sCwl; Wed, 6 Oct 2021 17:20:30 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSG35rLz1qqkD; Wed, 6 Oct 2021 17:20:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 5-lFBYTCYAis; Wed, 6 Oct 2021 17:20:27 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:27 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 76467601C7; Wed, 6 Oct 2021 17:20:33 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:00 +0200 Message-Id: <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_FILL_THIS_FORM_SHORT=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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/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 + guix/hexpm-download.scm | 74 +++++++++ guix/import/hexpm.scm | 294 ++++++++++++++++++++++++++++++++++ guix/import/utils.scm | 1 + guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 114 +++++++++++++ guix/upstream.scm | 20 ++- 7 files changed, 506 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 diff --git a/Makefile.am b/Makefile.am index f2b6c8e8da..ce79d4bc04 100644 --- a/Makefile.am +++ b/Makefile.am @@ -99,6 +99,7 @@ MODULES = \ guix/extracting-download.scm \ guix/git-download.scm \ guix/hg-download.scm \ + guix/hexpm-download.scm \ guix/swh.scm \ guix/monads.scm \ guix/monad-repl.scm \ @@ -262,6 +263,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 \ @@ -309,6 +311,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/guix/hexpm-download.scm b/guix/hexpm-download.scm new file mode 100644 index 0000000000..dd1d039d73 --- /dev/null +++ b/guix/hexpm-download.scm @@ -0,0 +1,74 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès +;;; Copyright © 2017 Mathieu Lirzin +;;; Copyright © 2017 Christopher Baines +;;; Copyright © 2020 Jakub Kądziołka +;;; 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 hexpm-download) + #:use-module (ice-9 match) + #:use-module (guix extracting-download) + #:use-module (guix packages) ;; for %current-system + #:use-module (srfi srfi-26) + #:export (hexpm-fetch + + %hexpm-repo-url + hexpm-url + hexpm-url? + hexpm-uri)) + +;;; +;;; An method that fetches a package from the hex.pm repository, +;;; unwrapping the actual content from the download tarball. +;;; + +(define %hexpm-repo-url + (make-parameter "https://repo.hex.pm")) +(define hexpm-url + (string-append (%hexpm-repo-url) "/tarballs/")) +(define hexpm-url? + (cut string-prefix? hexpm-url <>)) + +(define (hexpm-uri name version) + "Return a URI string for the package hosted at hex.pm corresponding to NAME +and VERSION." + (string-append hexpm-url name "-" version ".tar")) + +(define* (hexpm-fetch url hash-algo hash + #:optional name + #:key + (filename-to-extract "contents.tar.gz") + (system (%current-system)) + (guile (default-guile))) + "Return a fixed-output derivation that fetches URL and extracts +\"contents.tar.gz\". The output is expected to have hash HASH of type +HASH-ALGO (a symbol). By default, the file name is the base name of URL; +optionally, NAME can specify a different file name. By default, the file name +is the base name of URL with \".gz\" appended; optionally, NAME can specify a +different file name." + (define file-name + (match url + ((head _ ...) + (basename head)) + (_ + (basename url)))) + + (http-fetch/extract url "contents.tar.gz" hash-algo hash + ;; urls typically end with .tar, but contents is .tar.gz + (or name (string-append file-name ".gz")) + #:system system #:guile guile)) diff --git a/guix/import/hexpm.scm b/guix/import/hexpm.scm new file mode 100644 index 0000000000..b47806fb81 --- /dev/null +++ b/guix/import/hexpm.scm @@ -0,0 +1,294 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Cyril Roelandt +;;; Copyright © 2016 David Craven +;;; Copyright © 2017, 2019, 2020 Ludovic Courtès +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2020, 2021 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 (json) + #: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 + hexpm-recursive-import + %hexpm-updater)) + + +;;; +;;; Interface to https://hex.pm/api, version 2. +;;; https://github.com/hexpm/specifications/blob/master/apiary.apib +;;; 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. /api/packages/${name} +;; It can have several "releases", each of which has its own set of +;; requirements, buildtool, 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))))) + +;; Hexpm meta. +(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 version. +(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 https://hex.pm and return the corresopnding +record or #f if it was not found." + (let ((json (json-fetch (package-url name)))) + (and json + (json->hexpm json)))) + +;; Hexpm release. /api/packages/${name}/releases/${version} +(define-json-mapping make-hexpm-release hexpm-release? + json->hexpm-release + (number hexpm-release-number "version") ;string + (url hexpm-release-url) ;string + (requirements hexpm-requirements "requirements")) ;list of +;; meta:build_tools -> alist + +;; Hexpm dependency. Each dependency (each edge in the graph) is annotated as +;; being a "normal" dependency or a development dependency. There also +;; information about the minimum required version, such as "^0.0.41". +(define-json-mapping make-hexpm-dependency + hexpm-dependency? + json->hexpm-dependency + (app hexpm-dependency-app "app") ;string + (optional hexpm-dependency-optional) ;bool + (requirement hexpm-dependency-requirement)) ;string + +(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." + (let* ((url (hexpm-version-url version*)) + (json (json-fetch url))) + (json->hexpm-release json))) + + +;;; +;;; Converting hex.pm packages to Guix packages. +;;; + +(define* (make-hexpm-sexp #:key name version tarball-url + home-page synopsis description license + #:allow-other-keys) + "Return the `package' s-expression for a rust package with the given NAME, +VERSION, tarball-url, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE." + (call-with-temporary-directory + (lambda (directory) + (let ((port (http-fetch tarball-url)) + (tar (open-pipe* OPEN_WRITE "tar" "-C" directory + "-xf" "-" "contents.tar.gz"))) + (dump-port port tar) + (close-port port) + + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status)))) + + (let ((guix-name (hexpm-name->package-name name)) + (sha256 (bytevector->nix-base32-string + (call-with-input-file + (string-append directory "/contents.tar.gz") + port-sha256)))) + + `(package + (name ,guix-name) + (version ,version) + (source (origin + (method hexpm-fetch) + (uri (hexpm-uri ,name version)) + (sha256 (base32 ,sha256)))) + (build-system ,'rebar3-build-system) + (home-page ,(match home-page + (() "") + (_ home-page))) + (synopsis ,synopsis) + (description ,(beautify-description description)) + (license ,(match license + (() #f) + ((license) license) + (_ `(list ,@license))))))))) + +(define (strings->licenses strings) + (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-version package) + (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 #:optional 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-version 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*))) + + (and package version* + (let ((dependencies (hexpm-release-dependencies release)) + (pkg-meta (hexpm-meta package))) + (values + (make-hexpm-sexp + #:name package-name + #:version version-number + #:home-page (or (hexpm-docs-html-url package) + ;; 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 #f + #:repo->guix-package + (lambda (name repo) + (let ((version (and (string=? name pkg-name) + version))) + (hexpm->guix-package name version))) + #: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) + (string-append "erlang-" (string-join (string-split name #\_) "-"))) + + +;;; +;;; Updater +;;; + +(define (hexpm-package? package) + "Return true if PACKAGE is a package from hex.pm." + (let ((source-url (and=> (package-source package) origin-uri)) + (fetch-method (and=> (package-source package) origin-method))) + (and (eq? fetch-method hexpm-fetch) + (match source-url + ((? string?) + (hexpm-url? source-url)) + ((source-url ...) + (any hexpm-url? source-url)))))) + +(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-version 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 hexpm-package?) + (latest latest-release))) diff --git a/guix/import/utils.scm b/guix/import/utils.scm index a180742ca3..aaad247c63 100644 --- a/guix/import/utils.scm +++ b/guix/import/utils.scm @@ -359,6 +359,7 @@ the expected fields of an object." ("git-fetch" (@ (guix git-download) git-fetch)) ("svn-fetch" (@ (guix svn-download) svn-fetch)) ("hg-fetch" (@ (guix hg-download) hg-fetch)) + ("hexpm-fetch" (@ (guix hexpm-download) hexpm-fetch)) (_ #f))) (uri (assoc-ref orig "uri")) (sha256 sha)))))) 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..be5625ca46 --- /dev/null +++ b/guix/scripts/import/hexpm.scm @@ -0,0 +1,114 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 David Thompson +;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Martin Becze +;;; 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 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 (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_ " + -r, --recursive import packages recursively")) + (newline) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (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. + (args-fold* args %options + (lambda (opt name arg result) + (leave (G_ "~A: unrecognized option~%") name)) + (lambda (arg result) + (alist-cons 'argument arg result)) + %default-options)) + + + (let* ((opts (parse-options)) + (args (filter-map (match-lambda + (('argument . value) + value) + (_ #f)) + (reverse opts)))) + (match args + ((spec) + (define-values (name version) + (package-name->name+version spec)) + + (if (assoc-ref opts 'recursive) + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (hexpm-recursive-import name version)) + (let ((sexp (hexpm->guix-package name version))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + (if version + (string-append name "@" version) + name))) + sexp))) + (() + (leave (G_ "too few arguments~%"))) + ((many ...) + (leave (G_ "too many arguments~%")))))) diff --git a/guix/upstream.scm b/guix/upstream.scm index 632e9ebc4f..f1fb84eb45 100644 --- a/guix/upstream.scm +++ b/guix/upstream.scm @@ -24,6 +24,10 @@ #:use-module (guix discovery) #:use-module ((guix download) #:select (download-to-store url-fetch)) + #:use-module ((guix hexpm-download) + #:select (hexpm-fetch)) + #:use-module ((guix extracting-download) + #:select (download-to-store/extract)) #:use-module (guix gnupg) #:use-module (guix packages) #:use-module (guix diagnostics) @@ -430,9 +434,23 @@ SOURCE, an ." #:key-download key-download))) (values version tarball source)))))) +(define* (package-update/hexpm-fetch store package source + #:key key-download) + "Return the version, tarball, and SOURCE, to update PACKAGE to +SOURCE, an ." + (match source + (($ _ version urls signature-urls) + (let* ((url (first urls)) + (name (or (origin-file-name (package-source package)) + (string-append (basename url) ".gz"))) + (tarball (download-to-store/extract + store url "contents.tar.gz" name))) + (values version tarball source))))) + (define %method-updates ;; Mapping of origin methods to source update procedures. - `((,url-fetch . ,package-update/url-fetch))) + `((,url-fetch . ,package-update/url-fetch) + (,hexpm-fetch . ,package-update/hexpm-fetch))) (define* (package-update store package #:optional (updaters (force %updaters)) -- 2.30.2 From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353367219468 (code B ref -1); Wed, 06 Oct 2021 15:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:12 +0000 Received: from localhost ([127.0.0.1]:45189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jD-00053b-Tf for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:57268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8j2-00050f-PN for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8j1-0002bT-9D for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:55 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:47683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8in-0007sH-DV for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:54 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSM1jT8z1sCwJ; Wed, 6 Oct 2021 17:20:35 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSM1VT7z1qqkD; Wed, 6 Oct 2021 17:20:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id NoQ0pZ0gct7a; Wed, 6 Oct 2021 17:20:32 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:32 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 81E9860204; Wed, 6 Oct 2021 17:20:34 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:01 +0200 Message-Id: <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New files. * Makefile.am (MODULES): Add them. --- Makefile.am | 2 + guix/build-system/rebar3.scm | 143 +++++++++++++++++++++++++++ guix/build/rebar3-build-system.scm | 150 +++++++++++++++++++++++++++++ 3 files changed, 295 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 ce79d4bc04..bb0b5989d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -163,6 +163,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 \ @@ -216,6 +217,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/guix/build-system/rebar3.scm b/guix/build-system/rebar3.scm new file mode 100644 index 0000000000..04601c930e --- /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 packages) + #:use-module (guix derivations) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (ice-9 match) + #:use-module (srfi srfi-26) + #:export (%rebar3-build-system-modules + rebar3-build + rebar3-build-system)) + +;; +;; Standard build procedure for Erlang packages using Rebar3. +;; + +(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." + (define private-keywords + '(#:source #:target #:rebar #: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 store name inputs + #:key + (tests? #t) + (test-target "eunit") + (configure-flags ''()) + (make-flags ''("skip_deps=true" "-vv")) + (build-target "compile") + ;; TODO: pkg-name + (phases '(@ (guix build rebar3-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (system (%current-system)) + (guile #f) + (imported-modules %rebar3-build-system-modules) + (modules '((guix build rebar3-build-system) + (guix build utils)))) + "Build SOURCE with INPUTS." + (define builder + `(begin + (use-modules ,@modules) + (rebar3-build #:name ,name + #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:make-flags ,make-flags + #:configure-flags ,configure-flags + #:system ,system + #:tests? ,tests? + #:test-target ,test-target + #:build-target ,build-target + #:phases ,phases + #:outputs %outputs + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:inputs %build-inputs))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:inputs inputs + #:system system + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(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..d503fc9944 --- /dev/null +++ b/guix/build/rebar3-build-system.scm @@ -0,0 +1,150 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016, 2018 Ricardo Wurmus +;;; Copyright © 2019 Björn Höfling +;;; 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 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 (%standard-phases + rebar3-build)) + +;; +;; 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) + (symlink (string-append elibdir "/" dirname) + (string-append "_checkouts/" dirname))) + (list-directories elibdir))))) + input-directories) + #t) + +(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." + ;; archives from hexpm typicalls do not contain a directory level + ;; TODO: Check if archive contains a directory level + (mkdir "source") + (chdir "source") + (if (file-is-directory? source) + (begin + ;; Preserve timestamps (set to the Epoch) on the copied tree so that + ;; things work deterministically. + (copy-recursively source "." + #:keep-mtime? #t)) + (begin + (if (string-suffix? ".zip" source) + (invoke "unzip" source) + (invoke "tar" "xvf" source)))) + #t) + +(define* (build #:key (make-flags '()) (build-target "compile") + #:allow-other-keys) + (apply invoke `("rebar3" ,build-target ,@make-flags))) + +(define* (check #:key target (make-flags '()) (tests? (not target)) + (test-target "eunit") + #:allow-other-keys) + (if tests? + (apply invoke `("rebar3" ,test-target ,@make-flags)) + (format #t "test suite not run~%")) + #t) + +(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 + (pkg-name (package-name-version->erlang-name name)) + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (build-dir "_build/default/lib") + (pkg-dir (string-append out %erlang-libdir "/" pkg-name))) + (for-each + (lambda (pkg) + (for-each + (lambda (dirname) + (let ((src-dir (string-append build-dir "/" pkg "/" 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 build-dir)) + (false-if-exception + (delete-file (string-append pkg-dir "/priv/Run-eunit-loop.expect"))) + #t)) + +(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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 05/23] gnu: Add erlang-certifi. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353367319497 (code B ref -1); Wed, 06 Oct 2021 15:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:13 +0000 Received: from localhost ([127.0.0.1]:45197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jJ-00054I-1z for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:57416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jD-00053V-KX for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jC-0002ib-Vc for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:07 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:58717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8iu-0007yc-Qr for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:06 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSV165Sz1qwy6; Wed, 6 Oct 2021 17:20:42 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSV0tQfz1qqkD; Wed, 6 Oct 2021 17:20:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id xqjb75aS-eX3; Wed, 6 Oct 2021 17:20:40 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:40 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E34E46063F; Wed, 6 Oct 2021 17:20:35 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:03 +0200 Message-Id: <33903bb76db2f4d3cc52607199ab1d70637ce3c2.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 4c5cfafb64..320b89e8f2 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -225,6 +225,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.7.0") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "certifi" version)) + (sha256 + (base32 "1ssiajvll5nilrnsg23ja3qz2fmvnbhy176c8i0gqj0h1alismn9")))) + (build-system rebar3-build-system) + (inputs + `(("parse-trans" ,erlang-parse-trans))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 06/23] gnu: Add erlang-erlware-commons. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353367419515 (code B ref -1); Wed, 06 Oct 2021 15:22:03 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:14 +0000 Received: from localhost ([127.0.0.1]:45202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jJ-00054Y-JU for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:57482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jI-000543-Gz for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jI-0002mr-5a for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jE-0008FC-Bb for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:11 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSZ1kQcz1qwyS; Wed, 6 Oct 2021 17:20:46 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSZ1Y5Rz1qqkD; Wed, 6 Oct 2021 17:20:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 3dE0rN3BH4FQ; Wed, 6 Oct 2021 17:20:44 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:44 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 736F560965; Wed, 6 Oct 2021 17:20:36 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:04 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-erlware-commons): 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 320b89e8f2..8e91655fbb 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -265,3 +265,26 @@ 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 hexpm-fetch) + (uri (hexpm-uri "erlware_commons" version)) + (sha256 + (base32 "0xc3kiylingqrrnzhxm2j2n5gr3hxqgpibhi9nva9bwjs4n155fm")))) + (build-system rebar3-build-system) + (propagated-inputs + `(("erlang-cf" ,erlang-cf))) + (native-inputs + `(("git" ,git))) ;; Required for tests + (arguments + `(#:tests? #f)) ;; TODO: 1/219 tests fail - very simple one, though + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 07/23] gnu: Add erlang-cth-readable. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353367819545 (code B ref -1); Wed, 06 Oct 2021 15:22:03 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:18 +0000 Received: from localhost ([127.0.0.1]:45207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jO-000550-4C for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:57420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jD-00053W-NZ for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jD-0002id-99 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:07 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8iy-00081W-BW for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:07 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSf1Hpmz1sCwn; Wed, 6 Oct 2021 17:20:50 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSf1Bw2z1qqkD; Wed, 6 Oct 2021 17:20:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 9buDMoDDQ9dK; Wed, 6 Oct 2021 17:20:48 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:48 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 075D7609C9; Wed, 6 Oct 2021 17:20:36 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:05 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) 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 (---) * 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 8e91655fbb..bbd63518f1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -266,6 +266,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 hexpm-fetch) + (uri (hexpm-uri "cth_readable" version)) + (sha256 + (base32 "0hqzgd8fvs4d1bhpm6dkm3bm2jik4qbl78s514r5ivwjxw1dzrds")))) + (build-system rebar3-build-system) + (propagated-inputs + `(("erlang-cf" ,erlang-cf))) + (arguments + `(#:tests? #f)) ;; no test-suite + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 12/23] gnu: Add erlang-parse-trans. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353368019561 (code B ref -1); Wed, 06 Oct 2021 15:22:04 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:20 +0000 Received: from localhost ([127.0.0.1]:45211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jQ-00055Q-Dz for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:57560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jO-00055A-De for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jN-0002r1-TS for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:18 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:37423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jG-0008HS-Nc for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:15 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdT075Xxz1sCwl; Wed, 6 Oct 2021 17:21:08 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdT06yMLz1qqkD; Wed, 6 Oct 2021 17:21:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id v28PkohOopaT; Wed, 6 Oct 2021 17:21:07 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:07 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6E14660B6D; Wed, 6 Oct 2021 17:20:40 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:10 +0200 Message-Id: <245c5b7a226c7c62caea999e949a7706fa119391.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 8fd7342c29..9448ba3d91 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -377,6 +377,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 hexpm-fetch) + (uri (hexpm-uri "parse_trans" version)) + (sha256 + (base32 "1g3ablipihi8z64j9195pmrlf7gymyi21j2da9y509igs3q1sxfc")))) + (build-system rebar3-build-system) + (inputs + `(("erlang-getopt" ,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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 04/23] gnu: Add erlang-cf. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353368819631 (code B ref -1); Wed, 06 Oct 2021 15:22:04 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:28 +0000 Received: from localhost ([127.0.0.1]:45220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jU-00056G-V5 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:57552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jO-000559-By for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jN-0002r2-UM for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:18 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:40898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8ip-0007sf-9n for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:16 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSQ2JjGz1qwxn; Wed, 6 Oct 2021 17:20:38 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSQ20KLz1qqkL; Wed, 6 Oct 2021 17:20:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id vJV50Mm6xGDd; Wed, 6 Oct 2021 17:20:37 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:37 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4F8746023E; Wed, 6 Oct 2021 17:20:35 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:02 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-cf): 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 32bc12ebb8..4c5cfafb64 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, 2021 Hartmut Goebel ;;; Copyright © 2021 Oskar Köök ;;; Copyright © 2021 Cees de Groot ;;; @@ -26,8 +27,10 @@ #: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 hexpm-download) #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages) @@ -221,3 +224,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 hexpm-fetch) + (uri (hexpm-uri "cf" version)) + (sha256 + (base32 "0vnmbb1n899xw2p4x6c3clpzxcqqdsfbfhh1dfy530i3201vr2h4")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 08/23] gnu: Add erlang-bbmustache. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353368919645 (code B ref -1); Wed, 06 Oct 2021 15:22:04 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:29 +0000 Received: from localhost ([127.0.0.1]:45224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jY-00056b-Pj for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:57592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jU-00055u-4O for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jS-0002st-F1 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:23 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:58987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jJ-0008Md-4W for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:22 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSk0RgDz1qwyD; Wed, 6 Oct 2021 17:20:54 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSk0623z1qqkK; Wed, 6 Oct 2021 17:20:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id L9iHWdrUxHel; Wed, 6 Oct 2021 17:20:52 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:52 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9BADD609CE; Wed, 6 Oct 2021 17:20:37 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:06 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-bbmustache): New variable. --- gnu/packages/erlang.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index bbd63518f1..f230bb02c5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -225,6 +225,40 @@ 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.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "bbmustache" version)) + (sha256 + (base32 "0wbfayx6940zf57bpwg1m9sk3cpgam2q8n0w74alkrc4gc7hn47w")))) + (build-system rebar3-build-system) + (inputs + `(("erlang-edown" ,erlang-edown) + ("erlang-getopt" ,erlang-getopt) + ("erlang-rebar3-git-vsn" ,erlang-rebar3-git-vsn))) + (arguments + `(#:tests? #f ;; requires mustache specification file + #:phases + (modify-phases %standard-phases + (add-after 'build 'build-escript + (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"))) + #t))))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 14/23] gnu: Add erlang-ssl-verify-fun. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353368919657 (code B ref -1); Wed, 06 Oct 2021 15:22:05 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:29 +0000 Received: from localhost ([127.0.0.1]:45227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jZ-00056o-2l for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:57596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jU-00055v-6I for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jS-0002sn-7Y for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:23 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:46702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jN-0008QA-Oc for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:20 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdT83Pscz1sCwl; Wed, 6 Oct 2021 17:21:16 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdT83HXwz1qqkD; Wed, 6 Oct 2021 17:21:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id TEpCnDYp2cIC; Wed, 6 Oct 2021 17:21:15 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:15 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id C45266147D; Wed, 6 Oct 2021 17:20:41 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:12 +0200 Message-Id: <73af6749f80f46189c005bffe5301da2de7b8482.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 fe984f6fea..8f60f4be30 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -444,3 +444,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 hexpm-fetch) + (uri (hexpm-uri "ssl_verify_fun" version)) + (sha256 + (base32 "0bwdqhnmlv0jfs5mrws2a75zngiihnvcni2hj4l65r5abnw050vx")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 09/23] gnu: Add erlang-getopt. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353368919665 (code B ref -1); Wed, 06 Oct 2021 15:22:05 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:29 +0000 Received: from localhost ([127.0.0.1]:45229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jZ-000570-Dc for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:57622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jU-000568-IW for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jU-0002ty-7W for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:24 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jN-0008QB-RN for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:23 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSn5NVBz1qwyf; Wed, 6 Oct 2021 17:20:57 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSn5HG5z1qqkD; Wed, 6 Oct 2021 17:20:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id xSjhbmx72cZv; Wed, 6 Oct 2021 17:20:56 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:56 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 33CEF6008B; Wed, 6 Oct 2021 17:20:38 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:07 +0200 Message-Id: <898089da0e1d3cfae77ec98fbe572f7844afce20.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 f230bb02c5..ca2bfa1683 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -343,3 +343,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 hexpm-fetch) + (uri (hexpm-uri "getopt" version)) + (sha256 + (base32 "1yxs36l1ll56zrxn81kw5qd8fv1q14myhjylk7dk31palg7jl725")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 10/23] gnu: Add erlang-eunit-formatters. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370419769 (code B ref -1); Wed, 06 Oct 2021 15:22:06 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:44 +0000 Received: from localhost ([127.0.0.1]:45235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8ja-00057N-CZ for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:57726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jW-00056Q-D1 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jW-0002zv-39 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:26 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:36948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jT-0008WV-VP for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:25 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSs4VPkz1qwyj; Wed, 6 Oct 2021 17:21:01 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSs4Gvfz1qqkD; Wed, 6 Oct 2021 17:21:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id F4zAaFrXyQCL; Wed, 6 Oct 2021 17:21:00 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:00 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2CB4460A5C; Wed, 6 Oct 2021 17:20:39 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:08 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 ca2bfa1683..d2e4da87ed 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -344,6 +344,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 hexpm-fetch) + (uri (hexpm-uri "eunit_formatters" version)) + (sha256 + (base32 "18q3vb12799584kdb998298b6bfh686mzi5s7pkb7djrf93vgf5f")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 15/23] gnu: Add erlang-relx. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370619796 (code B ref -1); Wed, 06 Oct 2021 15:22:07 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:46 +0000 Received: from localhost ([127.0.0.1]:45252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jp-000598-QD for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:57776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jZ-00056m-0t for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jY-00033r-Nw for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:28 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:40160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jX-00008g-3R for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:28 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTD2QVYz1qwxn; Wed, 6 Oct 2021 17:21:20 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTD2DNbz1qqkD; Wed, 6 Oct 2021 17:21:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id IHZctsC3Rpr3; Wed, 6 Oct 2021 17:21:18 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:18 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 517BE601C7; Wed, 6 Oct 2021 17:20:42 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:13 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-relx): 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 8f60f4be30..fcb7ba65b5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -445,6 +445,32 @@ Erlang.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-relx + (package + (name "erlang-relx") + (version "4.5.0") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "relx" version)) + (sha256 + (base32 "12fjcb5b992ixxkc7v7v55ln1i5qak7dzmzqvf6hx50l1ip3hh58")))) + (build-system rebar3-build-system) + (propagated-inputs + `(("erlang-bbmustache" ,erlang-bbmustache) + ("erlang-cf" ,erlang-cf) + ("erlang-erlware-commons" ,erlang-erlware-commons) + ("erlang-getopt" ,erlang-getopt) + ("erlang-providers" ,erlang-providers))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 11/23] gnu: Add erlang-providers. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370619803 (code B ref -1); Wed, 06 Oct 2021 15:22:07 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:46 +0000 Received: from localhost ([127.0.0.1]:45254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jq-00059F-6D for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:57808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8ja-000575-H7 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jZ-000320-8g for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jV-00007a-97 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:27 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSx2b1Gz1qwyk; Wed, 6 Oct 2021 17:21:05 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSx2VsBz1qqkD; Wed, 6 Oct 2021 17:21:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id zWswv29KpjYH; Wed, 6 Oct 2021 17:21:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:04 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id D8C9D60A79; Wed, 6 Oct 2021 17:20:39 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:09 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-providers): 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 d2e4da87ed..8fd7342c29 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -376,3 +376,23 @@ 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 hexpm-fetch) + (uri (hexpm-uri "providers" version)) + (sha256 + (base32 "0rq5zrqrsv2zgg84yfgh1faahnl4hkn92lja43iqihyiy181813z")))) + (propagated-inputs + `(("erlang-cf" ,erlang-cf) + ("erlang-erlware-commons" ,erlang-erlware-commons) + ("erlang-getopt" ,erlang-getopt))) + (build-system rebar3-build-system) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 13/23] gnu: Add erlang-hex-core. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370619812 (code B ref -1); Wed, 06 Oct 2021 15:22:07 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:46 +0000 Received: from localhost ([127.0.0.1]:45256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jq-00059M-Fa for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:57890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jb-00057V-Jb for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jb-00039i-CM for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:31 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:53624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jJ-0008N4-W3 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:31 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdT45H7Gz1sCwJ; Wed, 6 Oct 2021 17:21:12 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdT454c4z1qqkD; Wed, 6 Oct 2021 17:21:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id DDH9ZK_a0VWX; Wed, 6 Oct 2021 17:21:11 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:11 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id F059E60B77; Wed, 6 Oct 2021 17:20:40 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:11 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-hex-core): New variable. --- gnu/packages/erlang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 9448ba3d91..fe984f6fea 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -377,6 +377,35 @@ 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.2") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "hex_core" version)) + (sha256 + (base32 "15fybnqxl5lzkpd8fjj1fxmj8cxcdpkxn0cvwc41cv0vxv3pw797")))) + (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 + `(("erlang-proper" ,erlang-proper) + ("erlang-rebar3-proper" ,erlang-rebar3-proper))) + (propagated-inputs + `(("erlang-getopt" ,erlang-getopt))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 17/23] gnu: Add erlang-edown. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370719827 (code B ref -1); Wed, 06 Oct 2021 15:22:08 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:47 +0000 Received: from localhost ([127.0.0.1]:45260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jr-00059d-0w for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:57952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jd-00057Y-2M for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jc-0003Cy-Kt for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:32 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:39938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jZ-0000B5-Ov for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:32 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTN0CBpz1qwy6; Wed, 6 Oct 2021 17:21:28 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTN01z8z1qqkD; Wed, 6 Oct 2021 17:21:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id b5vNo9dRufUm; Wed, 6 Oct 2021 17:21:26 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:26 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7BF1061482; Wed, 6 Oct 2021 17:20:43 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:15 +0200 Message-Id: <22b7fda130f3955a6cbe172aeb3f54b82f3279b2.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 c424fb1420..b2ba8b22fe 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -321,6 +321,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 hexpm-fetch) + (uri (hexpm-uri "edown" version)) + (sha256 + (base32 "1khk5yxqjix2irsr02i0zpkv52myakpw4ahsr4fcy81l3xlk58dx")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 18/23] gnu: Add erlang-jsone. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370819844 (code B ref -1); Wed, 06 Oct 2021 15:22:08 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:48 +0000 Received: from localhost ([127.0.0.1]:45264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jr-00059r-Jm for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:58046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jh-000588-Uc for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jg-0003IO-8I for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:37 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:52015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8je-0000Ef-3R for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:35 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTR6SYDz1sCwl; Wed, 6 Oct 2021 17:21:31 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTR6M76z1qqkK; Wed, 6 Oct 2021 17:21:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id MzO5xjHyEk-S; Wed, 6 Oct 2021 17:21:30 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:30 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0707561483; Wed, 6 Oct 2021 17:20:43 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:16 +0200 Message-Id: <7f607c5616b2d2634ffafd15479e603cbbac93a5.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-jsone): 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 b2ba8b22fe..df822d5466 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -423,6 +423,29 @@ arguments using the GNU getopt syntax.") specifications.") (license license:asl2.0))) +(define-public erlang-jsone + (package + (name "erlang-jsone") + (version "1.6.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "jsone" version)) + (sha256 + (base32 "1wdbj4a736bg2fh4qk7y3h6lsdi84ivvypgbkphzy0mfz7nkc97p")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 19/23] gnu: Add erlang-proper. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370819857 (code B ref -1); Wed, 06 Oct 2021 15:22:09 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:48 +0000 Received: from localhost ([127.0.0.1]:45267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jr-0005A1-TQ for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:58158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jj-00058F-AV for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jj-0003OR-1D for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:39 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:56765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jh-0000Hi-2b for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:38 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTW6zl5z1sCwn; Wed, 6 Oct 2021 17:21:35 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTW6fgSz1qqkD; Wed, 6 Oct 2021 17:21:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 5azXIc2pUsk1; Wed, 6 Oct 2021 17:21:34 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:34 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8A7E861484; Wed, 6 Oct 2021 17:20:44 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:17 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-proper): 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 df822d5466..3c6ee9038a 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -465,6 +465,32 @@ specifications.") Erlang.") (license license:asl2.0))) +(define-public erlang-proper + (package + (name "erlang-proper") + (version "1.4.0") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "proper" version)) + (sha256 + (base32 "1b0srk0swbns6807vxwhj1hfrql7r14arysaax99kvl12f4q3qci")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 20/23] gnu: Add erlang-rebar3-raw-deps. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353370919883 (code B ref -1); Wed, 06 Oct 2021 15:22:09 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:49 +0000 Received: from localhost ([127.0.0.1]:45274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jt-0005AY-A7 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:58336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jn-00058g-Pd for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jn-0003ZG-5v for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jl-0000M9-EX for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:42 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTb6qHdz1qwys; Wed, 6 Oct 2021 17:21:39 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTb6bP1z1qqkK; Wed, 6 Oct 2021 17:21:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id bzuMR4sn_tUY; Wed, 6 Oct 2021 17:21:38 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:38 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2920B61485; Wed, 6 Oct 2021 17:20:45 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:18 +0200 Message-Id: <63152c12cfffa16ccaac82ff7badffe41818cee4.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-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 3c6ee9038a..6003bec251 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -511,6 +511,23 @@ testing of stateful systems.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-rebar3-raw-deps + (package + (name "erlang-rebar3-raw-deps") + (version "2.0.0") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "rebar3_raw_deps" version)) + (sha256 + (base32 "1w8whb86yl2mpv67biqnwaam8xpm4pq8yyidifzj1svjyd37hxv7")))) + (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))) + (define-public erlang-relx (package (name "erlang-relx") -- 2.30.2 From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 16/23] gnu: Add rebar3. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353371019897 (code B ref -1); Wed, 06 Oct 2021 15:22:09 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:21:50 +0000 Received: from localhost ([127.0.0.1]:45278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jt-0005Al-S2 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:58394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jp-000590-Bt for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jo-0003c3-Rj for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:45 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:38209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jZ-0000A5-8V for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:44 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTJ1bQSz1qwyD; Wed, 6 Oct 2021 17:21:24 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTJ1PnTz1qqkD; Wed, 6 Oct 2021 17:21:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id ZATC1DYYuISt; Wed, 6 Oct 2021 17:21:22 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:22 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id D478D6147F; Wed, 6 Oct 2021 17:20:42 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:14 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (rebar3): New variable. --- gnu/packages/erlang.scm | 74 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index fcb7ba65b5..c424fb1420 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -487,3 +487,77 @@ 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.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erlang/rebar3.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02sk3whrbprzlih4pgcsd6ngmassfjfmkz21gwvb7mq64pib40k6")))) + (build-system gnu-build-system) + (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" "-xzf" input "-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")) + #t)) + (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"))) + #t)) + (delete 'check)))) + (native-inputs + `(("erlang" ,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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 21/23] gnu: Add erlang-rebar3-git-vsn. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353372419995 (code B ref -1); Wed, 06 Oct 2021 15:22:15 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:22:04 +0000 Received: from localhost ([127.0.0.1]:45281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jv-0005B5-9b for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:22:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:58454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jr-00059w-NT for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jq-0003eH-PY for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:47 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:50026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jp-0000Pa-0I for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:46 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTg5vyMz1sCwl; Wed, 6 Oct 2021 17:21:43 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTg5pQLz1qqkD; Wed, 6 Oct 2021 17:21:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id T-6ts7i8aJ2N; Wed, 6 Oct 2021 17:21:42 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:42 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id ADEA361486; Wed, 6 Oct 2021 17:20:45 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:19 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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-rebar3-git-vsn): New variable. --- gnu/packages/erlang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 6003bec251..0e8a277970 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -38,6 +38,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)) @@ -511,6 +512,35 @@ testing of stateful systems.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-rebar3-git-vsn + (package + (name "erlang-rebar3-git-vsn") + (version "1.1.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "rebar3_git_vsn" version)) + (sha256 + (base32 "1ra4xjyc40r97aqb8aq2rll1v8wkf9jyisnbk34xdqcgv9s9iw7d")))) + (build-system rebar3-build-system) + (inputs + `(("git" ,git))) + (arguments + `(#:tests? #f ;; depends on rebar TODO: remove this dependency + #: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))) + (define-public erlang-rebar3-raw-deps (package (name "erlang-rebar3-raw-deps") -- 2.30.2 From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 22/23] gnu: Add erlang-rebar3-proper. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353372520028 (code B ref -1); Wed, 06 Oct 2021 15:22:15 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:22:05 +0000 Received: from localhost ([127.0.0.1]:45297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8k9-0005Cp-FF for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:22:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:58686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8ju-0005Ay-J0 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8ju-0003nE-B9 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:50 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:53833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8js-0000SJ-N4 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:50 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTl3psVz1sCwJ; Wed, 6 Oct 2021 17:21:47 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTl3j2gz1qqkD; Wed, 6 Oct 2021 17:21:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id RIN7ROIja0re; Wed, 6 Oct 2021 17:21:46 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:46 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 470F461487; Wed, 6 Oct 2021 17:20:46 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:20 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/erlang.scm (erlang-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 0e8a277970..6a79ee25d3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -541,6 +541,23 @@ testing of stateful systems.") a git checkout.") (license license:expat))) +(define-public erlang-rebar3-proper + (package + (name "erlang-rebar3-proper") + (version "0.12.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "rebar3_proper" version)) + (sha256 + (base32 "0j3a9byxbdrfinynq2xdz5mz7s4vpdlsmv7lln80lpqxswnafpfv")))) + (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))) + (define-public erlang-rebar3-raw-deps (package (name "erlang-rebar3-raw-deps") -- 2.30.2 From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 23/23] gnu: Add erlang-covertool. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163353372620050 (code B ref -1); Wed, 06 Oct 2021 15:22:16 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:22:06 +0000 Received: from localhost ([127.0.0.1]:45304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8kA-0005DC-2t for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:22:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:59010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jz-0005BF-5B for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jy-00040U-Tf for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:54 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:60253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8jx-0000Us-AL for guix-patches@gnu.org; Wed, 06 Oct 2021 11:21:54 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTq19WNz1qwyD; Wed, 6 Oct 2021 17:21:51 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTq0zdLz1qqkD; Wed, 6 Oct 2021 17:21:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 2-tbYh8a8nHj; Wed, 6 Oct 2021 17:21:49 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:49 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id CC33561488; Wed, 6 Oct 2021 17:20:46 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:21 +0200 Message-Id: <87b259c0d1fb1b51efb364f6a26f1075b13a6701.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) * 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 6a79ee25d3..a55a4707fd 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -301,6 +301,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 hexpm-fetch) + (uri (hexpm-uri "covertool" version)) + (sha256 + (base32 "10krv66nabzrgkz4k3gfp7zx1x9030vnkhc0n1f1chwzwf4sa6nx")))) + (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 unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16335465899173 (code B ref 51061); Wed, 06 Oct 2021 18:57:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 18:56:29 +0000 Received: from localhost ([127.0.0.1]:45497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYC5d-0002Nn-5V for submit@debbugs.gnu.org; Wed, 06 Oct 2021 14:56:29 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:54320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYC5Z-0002NV-3J for 51061@debbugs.gnu.org; Wed, 06 Oct 2021 14:56:26 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 2iwN2600P0mfAB401iwNZp; Wed, 06 Oct 2021 20:56:23 +0200 Message-ID: From: Maxime Devos Date: Wed, 06 Oct 2021 20:56:17 +0200 In-Reply-To: <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-amVEyCPdDPgt4KMdpFFc" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633546583; bh=YE/Vk8TLC3WoSOlNWvwSSarsoaxc++5JiZCbhqX9Ujk=; h=Subject:From:To:Date:In-Reply-To:References; b=rxw2vtFNn1zScexISRSC6zwbshItQHHKHJfiiHgWgyxqMZ1eTmdTEAyO+DjHbEhzJ /oBfTPiidzPcWrQPi6aIXbfkSSx+1D7Q0LR1uhQoYEDMciZpMlI4DBUTPllDixEtgO 1gL1Lkf1QABgZTPxEvmsPsDZvJd5IzdTYPhiJDKDnoMpkIHK62/zjXygKFpj/vsDWx wKiElpMkD/F2IhD6ZBGRd2KjXhQUwhd831nYcre5msMGblkSVFnuzaRaqENg8Vy1iD 1Gc3I5UbGpwFt4vB3lmSTjRk87Lr3VR7ahhqthmsy1PY26UWIGqiYM7DsHyLOGxu0G 5TE/UILa63HXg== X-Spam-Score: -0.7 (/) 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.7 (-) --=-amVEyCPdDPgt4KMdpFFc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op wo 06-10-2021 om 17:20 [+0200]: > +(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." > + (define private-keywords > + '(#:source #:target #:rebar #:inputs #:native-inputs)) > + > + (and (not target) ;XXX: no cross-compila= tion > + (bag > + (name name) > + (system system) > + (host-inputs `(,@(if source > + `(("source" ,source)) > + '()) > + ,@inputs > + ;; Keep the standard inputs of 'gnu-build-system= '. > + ,@(standard-packages))) (standard-packages) contains packages like gcc, coreutils, bash, ..., which should be in build-inputs. Not that it matters much here, as this procedure doesn't support cross-compilation. > + (build-inputs `(("rebar" ,rebar) > + ("erlang" ,erlang) ;; for escriptize > + ,@native-inputs)) > + (outputs outputs) > + (build rebar3-build) > + (arguments (strip-keyword-arguments private-keywords arguments)= )))) Greetings, Maxime. --=-amVEyCPdDPgt4KMdpFFc 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+4iGRcl7gUCYV3xURccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ieqAQCZ9DKVS+Rwp4tTC/kIlhbeACTM mzHxshUsJ1LvSR6DdwEAwEQmWieL9sL83yr+61HqvqMwhT6HPB7TBNdUjeVxkAg= =t2Sk -----END PGP SIGNATURE----- --=-amVEyCPdDPgt4KMdpFFc-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 02/23] guix: Add importer for hex.pm. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163354912213337 (code B ref 51061); Wed, 06 Oct 2021 19:39:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 19:38:42 +0000 Received: from localhost ([127.0.0.1]:45530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYCkU-0003T3-Ds for submit@debbugs.gnu.org; Wed, 06 Oct 2021 15:38:42 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:54760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYCkO-0003Sd-Uk for 51061@debbugs.gnu.org; Wed, 06 Oct 2021 15:38:40 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id 2jeb260030mfAB406jebKA; Wed, 06 Oct 2021 21:38:35 +0200 Message-ID: <16116c3bf7230e58dc3e9537b0b54d5ccca53889.camel@telenet.be> From: Maxime Devos Date: Wed, 06 Oct 2021 21:38:34 +0200 In-Reply-To: <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-y64peDuOBEP79q9Luslg" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633549115; bh=OzFFCCh7xEmkXvLNDSZK2QPVNRxyDp1/bv9Gg5ysxaE=; h=Subject:From:To:Date:In-Reply-To:References; b=XmWO2Zl3Szyig4xPjdljVp2M/Sw6XKx7CVUcm03vpW7XQ4Qg0xVQ4jR73309HKdWr onEpiGR/spfS+GBAqvM1hUtyFdl37Taz1F+s7KestyQyVmJVD6GJmiltMwAwOfrwwX /HD78XTvy9IfDkZNhZSYcIZFxVVuj9x5Z2K3KkWLyV8xQYkxxckiVCkKVEMV4F+yn3 z4EOz+ZwV9JkbJKz3At+YtlPVPtMMGXCycn15ry/WCHaYIih1C/VMnlmBlfegT0ggu af971XAObtqx4mswF2R3iN4Q6nZ/O4rPSGBch9mCp1Gcl/29D1Az5eA4LkV4SOfdxH VVEhSKKiYtsSA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-y64peDuOBEP79q9Luslg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op wo 06-10-2021 om 17:20 [+0200]: > + #: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 (json) The ;;#:use-module (json) can be removed. Greetings, Maxime. --=-y64peDuOBEP79q9Luslg 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+4iGRcl7gUCYV37OhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rtzAQDNieoCWi2zjTyIL9Y/L/gekMvb zCQeWpwFnKg+mL8USwEA88G4QOr2idco9EIRAgSn8kkk7cyVquM3miyEYzQ3xwk= =NqzR -----END PGP SIGNATURE----- --=-y64peDuOBEP79q9Luslg-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 02/23] guix: Add importer for hex.pm. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163355193617969 (code B ref 51061); Wed, 06 Oct 2021 20:26:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 20:25:36 +0000 Received: from localhost ([127.0.0.1]:45562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDTs-0004fg-BP for submit@debbugs.gnu.org; Wed, 06 Oct 2021 16:25:36 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDTp-0004fS-Th; Wed, 06 Oct 2021 16:25:34 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPmDF30LSz1sCwJ; Wed, 6 Oct 2021 22:25:33 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPmDF2jb0z1qqkM; Wed, 6 Oct 2021 22:25:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id v9CxGPbIaEgj; Wed, 6 Oct 2021 22:25:32 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 22:25:32 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id BA75560129; Wed, 6 Oct 2021 22:25:46 +0200 (CEST) Message-ID: <2c26aa56-ecad-d1a0-32f2-3dd16cb214b0@crazy-compilers.com> Date: Wed, 6 Oct 2021 22:25:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: de-DE References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> <16116c3bf7230e58dc3e9537b0b54d5ccca53889.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <16116c3bf7230e58dc3e9537b0b54d5ccca53889.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) 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.8 (-) Am 06.10.21 um 21:38 schrieb Maxime Devos: > The ;;#:use-module (json) can be removed. Removed -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163355203518144 (code B ref 51061); Wed, 06 Oct 2021 20:28:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 20:27:15 +0000 Received: from localhost ([127.0.0.1]:45569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDVT-0004iV-0F for submit@debbugs.gnu.org; Wed, 06 Oct 2021 16:27:15 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDVR-0004iJ-GL; Wed, 06 Oct 2021 16:27:14 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPmG900Zkz1sCwJ; Wed, 6 Oct 2021 22:27:12 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPmG86xpVz1qqkM; Wed, 6 Oct 2021 22:27:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id HNIprKYPxc-V; Wed, 6 Oct 2021 22:27:11 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 22:27:11 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 1C73C60129; Wed, 6 Oct 2021 22:27:26 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------avYdo5Q4Vs0K87OKif03Xyh8" Message-ID: <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> Date: Wed, 6 Oct 2021 22:27:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: X-Spam-Score: -0.8 (/) 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.8 (-) This is a multi-part message in MIME format. --------------avYdo5Q4Vs0K87OKif03Xyh8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 06.10.21 um 20:56 schrieb Maxime Devos: >> + (host-inputs `(,@(if source >> + `(("source" ,source)) >> + '()) >> + ,@inputs >> + ;; Keep the standard inputs of 'gnu-build-system'. >> + ,@(standard-packages))) > (standard-packages) contains packages like gcc, coreutils, bash, ..., > which should be in build-inputs. Not that it matters much here, > as this procedure doesn't support cross-compilation. Not sure what you want to tell me. Anything you recommend me to change? -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------avYdo5Q4Vs0K87OKif03Xyh8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Am 06.10.21 um 20:56 schrieb Maxime Devos:
+         (host-inputs `(,@(if source
+                              `(("source" ,source))
+                              '())
+                        ,@inputs
+                        ;; Keep the standard inputs of 'gnu-build-system'.
+                        ,@(standard-packages)))
(standard-packages) contains packages like gcc, coreutils, bash, ...,
which should be in build-inputs.  Not that it matters much here,
as this procedure doesn't support cross-compilation.

Not sure what you want to tell me. Anything you recommend me to change?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------avYdo5Q4Vs0K87OKif03Xyh8-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163355557124002 (code B ref 51061); Wed, 06 Oct 2021 21:27:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 21:26:11 +0000 Received: from localhost ([127.0.0.1]:45620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYEQV-0006Ey-GY for submit@debbugs.gnu.org; Wed, 06 Oct 2021 17:26:11 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:43226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYEQP-0006Ed-0g for 51061@debbugs.gnu.org; Wed, 06 Oct 2021 17:26:09 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id 2lS3260090mfAB401lS31p; Wed, 06 Oct 2021 23:26:03 +0200 Message-ID: From: Maxime Devos Date: Wed, 06 Oct 2021 23:25:57 +0200 In-Reply-To: <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-CGJFvTFMiXV2j5plgaNi" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633555563; bh=Dnbnxy3ocmQxht+u+BkGAFK8SwZBzN/KM5U5lPa7BeI=; h=Subject:From:To:Date:In-Reply-To:References; b=Ou5wytfR1hzJDqxr6uEfpIHuap/FMKmXGTuzPweU2ywYXQZ6U8N18t9/iInTIUUr2 xQBJAIl88t4IYCzbhWZ7PPIvUqPtfcoTNiX6YeYC8Uy+QSs3twkoR41tx2GvGBXJ57 q4VIG4NZjEJmXt1ARVqNDT/fTt9DEVdEDgc9ny/+qAK7XkEBZcAcERe8tMnbBDrWGi N6uFaKkpTz+iufW0ojNTe/WWWwys3qm0NvNc7w7qS4tNjdl23XTsd4LnOIZUWFkww+ X0efLm9w5l+h6X09wAwYFoHNoEeycM4PJEWYIzIcTGlX+0cE1Ggai3EUl5BztldK2n rFWTDXo51JL+w== X-Spam-Score: -0.7 (/) 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.7 (-) --=-CGJFvTFMiXV2j5plgaNi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op wo 06-10-2021 om 22:27 [+0200]: > Am 06.10.21 um 20:56 schrieb Maxime Devos: > > > + (host-inputs `(,@(if source > > > + `(("source" ,source)) > > > + '()) > > > + ,@inputs > > > + ;; Keep the standard inputs of 'gnu-build-sy= stem'. > > > + ,@(standard-packages))) > >=20 > > (standard-packages) contains packages like gcc, coreutils, bash, ..., > > which should be in build-inputs. Not that it matters much here, > > as this procedure doesn't support cross-compilation. =E2=80=98this procedure=E2=80=99 was a bit ambigious here, I meant the proc= edure 'lower' that is being defined. >=20 > Not sure what you want to tell me. Anything you recommend me to change? I recommend moving ,@(standard-packages) from host-inputs to build-inputs. Greetings, Maxime --=-CGJFvTFMiXV2j5plgaNi 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+4iGRcl7gUCYV4UZRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sXWAP4o0N5jVERdE9qg0OdqvLZVATja vh0wylmfJiibM2ETWwEA864TksL66Fimq8xpUxY8bdaJaQ2qbwQwjP6OAS6OZAM= =ITCJ -----END PGP SIGNATURE----- --=-CGJFvTFMiXV2j5plgaNi-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163355621125125 (code B ref 51061); Wed, 06 Oct 2021 21:37:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 21:36:51 +0000 Received: from localhost ([127.0.0.1]:45639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYEap-0006X6-60 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 17:36:51 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:40571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYEam-0006Wq-St; Wed, 06 Oct 2021 17:36:49 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPnpR3hmDz1qwy6; Wed, 6 Oct 2021 23:36:47 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPnpR3PfLz1qqkN; Wed, 6 Oct 2021 23:36:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id nj_ZULEyaru0; Wed, 6 Oct 2021 23:36:46 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 23:36:46 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 15A3460129; Wed, 6 Oct 2021 23:37:01 +0200 (CEST) Message-ID: <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> Date: Wed, 6 Oct 2021 23:36:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@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-Spam-Score: -0.8 (/) 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.8 (-) Am 06.10.21 um 23:25 schrieb Maxime Devos: > >> Not sure what you want to tell me. Anything you recommend me to change? > I recommend moving ,@(standard-packages) from host-inputs to build-inputs. Okay, I'll  change this. Anyhow, I'm curious: Other modules (e.g. guix/build-system/python.scm) have ",@(standard-packages)" in host-inputs. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163355686026281 (code B ref 51061); Wed, 06 Oct 2021 21:48:02 +0000 Received: (at 51061) by debbugs.gnu.org; 6 Oct 2021 21:47:40 +0000 Received: from localhost ([127.0.0.1]:45657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYElH-0006po-Mu for submit@debbugs.gnu.org; Wed, 06 Oct 2021 17:47:40 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:60344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYElC-0006os-J9 for 51061@debbugs.gnu.org; Wed, 06 Oct 2021 17:47:37 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 2lnY260050mfAB401lnYoC; Wed, 06 Oct 2021 23:47:32 +0200 Message-ID: <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> From: Maxime Devos Date: Wed, 06 Oct 2021 23:47:26 +0200 In-Reply-To: <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7sjTeqkAukJcsigKGITj" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633556852; bh=neCOBCqjHGCqGwCil+MHmAMwXTdhn0yloyQHUZcPy20=; h=Subject:From:To:Date:In-Reply-To:References; b=IMCrioON6wNKfN6hW88nzBhi0lUuaaGnXvCT9w01e6K9RWxmLUmUUpHWjbwD5Mim9 bpDmA7VHLAlgNCuytGLDHEdAqCLfeKVRnige7EhEpAwkeoPcYAYQuos6LQmFag8iuZ Q7Q3QHGSokHZA1m/latVxpukdQ7OlHry5UmAtW9JvXbz2wDLAw53UPEz56gMI8e92R mZUQXWOabeUGkfdE5x57JIK7JJOX4p/0nGHCsy2iFhWRsLyz3VYvMSPK9BjiXe0kxV LbKOVlQeqDC/taJEf0VAkZvALxXSNe8wVMv722d9UPq1itSKsTYG5MxehDzTbsdGui tadgijj8eTosA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-7sjTeqkAukJcsigKGITj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op wo 06-10-2021 om 23:36 [+0200]: > Am 06.10.21 um 23:25 schrieb Maxime Devos: > > > Not sure what you want to tell me. Anything you recommend me to chang= e? > > I recommend moving ,@(standard-packages) from host-inputs to build-inpu= ts. >=20 > Okay, I'll change this. >=20 > Anyhow, I'm curious: Other modules (e.g. guix/build-system/python.scm)= =20 > have ",@(standard-packages)" in host-inputs. These build systems are most likely buggy, and these build systems have a =E2=80=98(not target) ; XXX: no cross-compilation=E2=80=99 comment, = so I wouldn't recommend looking at them to determine how to split packages between host-inputs (=3D inputs & propagated-inputs but for bags) and build-inputs (=3D native-inputs but for bags). Instead, I recommend looking at 'gnu-build-system'. Greetings, Maxime. --=-7sjTeqkAukJcsigKGITj 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+4iGRcl7gUCYV4ZbhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r14AP9nfcOv62S7P0Jw1YH9il3FAeXE lFgcyBUyg/ieooDvpQD+NJGNgj/ti1BdFBjNLwX8nelU1MVoZS1meuHRPDEI3gw= =bW4L -----END PGP SIGNATURE----- --=-7sjTeqkAukJcsigKGITj-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163364023921232 (code B ref 51061); Thu, 07 Oct 2021 20:58:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 20:57:19 +0000 Received: from localhost ([127.0.0.1]:48527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYaS2-0005WF-NH for submit@debbugs.gnu.org; Thu, 07 Oct 2021 16:57:19 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:57639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYaRw-0005Vw-5x; Thu, 07 Oct 2021 16:57:13 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQNtB3dn3z1sC0s; Thu, 7 Oct 2021 22:57:06 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HQNtB1FTwz1qqkB; Thu, 7 Oct 2021 22:57:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zbRJjuYGlYF4; Thu, 7 Oct 2021 22:57:05 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 7 Oct 2021 22:57:05 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 215DD601C7; Thu, 7 Oct 2021 22:57:21 +0200 (CEST) Message-ID: Date: Thu, 7 Oct 2021 22:57:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) 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.8 (-) Hi Maxime, thanks for the review. I applied the changes as discussed, fixed some last-minute bug in the importer :-) and pushed as f86f7e24b39928247729020df0134e2e1c4cde62. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#51061: closed () Message-ID: References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> X-Gnu-PR-Message: they-closed 51061 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 51061@debbugs.gnu.org Date: Thu, 07 Oct 2021 20:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1633640342-21418-1" This is a multi-part message in MIME format... ------------=_1633640342-21418-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #51061: [PATCH v2 01/23] guix: Add extracting-download. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 51061@debbugs.gnu.org. --=20 51061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51061 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1633640342-21418-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 51061-close) by debbugs.gnu.org; 7 Oct 2021 20:58:18 +0000 Received: from localhost ([127.0.0.1]:48534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYaT4-0005YD-J5 for submit@debbugs.gnu.org; Thu, 07 Oct 2021 16:58:18 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:56442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYaT3-0005Y1-Bb; Thu, 07 Oct 2021 16:58:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQNvX46Zdz1qwdS; Thu, 7 Oct 2021 22:58:16 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HQNvX2TN7z1qqkB; Thu, 7 Oct 2021 22:58:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id bdQWQ3snPGGK; Thu, 7 Oct 2021 22:58:15 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 7 Oct 2021 22:58:15 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id B08AF601C7; Thu, 7 Oct 2021 22:58:31 +0200 (CEST) Message-ID: Date: Thu, 7 Oct 2021 22:58:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: de-DE From: Hartmut Goebel To: 42180-close@debbugs.gnu.org, 51061-close@debbugs.gnu.org Organization: crazy-compilers.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.18.0.9 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.18.0.9 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text X-Debbugs-Envelope-To: 51061-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: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.18.0.9 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.18.0.9 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager ------------=_1633640342-21418-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 15:20:56 +0000 Received: from localhost ([127.0.0.1]:45160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8ix-000503-Bf for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:20:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:57188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8it-0004zd-62 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:20:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8is-0002Ya-Uw for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:46 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:43120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8id-0007ly-Ms for guix-patches@gnu.org; Wed, 06 Oct 2021 11:20:46 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdSB3PcDz1qwyD; Wed, 6 Oct 2021 17:20:26 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdSB1flJz1qqkD; Wed, 6 Oct 2021 17:20:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id e5QwXXbKqggV; Wed, 6 Oct 2021 17:20:23 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:20:23 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id C52566008B; Wed, 6 Oct 2021 17:20:31 +0200 (CEST) From: Hartmut Goebel To: 42180@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH v2 01/23] guix: Add extracting-download. Date: Wed, 6 Oct 2021 17:20:19 +0200 Message-Id: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 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 (---) * guix/extracting-download.scm: New file * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + guix/extracting-download.scm | 179 +++++++++++++++++++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 guix/extracting-download.scm diff --git a/Makefile.am b/Makefile.am index b66789fa0b..f2b6c8e8da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,6 +96,7 @@ MODULES = \ guix/discovery.scm \ guix/android-repo-download.scm \ guix/bzr-download.scm \ + guix/extracting-download.scm \ guix/git-download.scm \ guix/hg-download.scm \ guix/swh.scm \ diff --git a/guix/extracting-download.scm b/guix/extracting-download.scm new file mode 100644 index 0000000000..4b7dcc7e83 --- /dev/null +++ b/guix/extracting-download.scm @@ -0,0 +1,179 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès +;;; Copyright © 2017 Mathieu Lirzin +;;; Copyright © 2017 Christopher Baines +;;; Copyright © 2020 Jakub Kądziołka +;;; 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 extracting-download) + #:use-module (ice-9 match) + #:use-module (ice-9 popen) + #:use-module ((guix build download) #:prefix build:) + #:use-module ((guix build utils) #:hide (delete)) + #:use-module (guix gexp) + #:use-module (guix modules) + #:use-module (guix monads) + #:use-module (guix packages) ;; for %current-system + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (srfi srfi-26) + #:export (http-fetch/extract + download-to-store/extract)) + +;;; +;;; Produce fixed-output derivations with data extracted from n archive +;;; fetched over HTTP or FTP. +;;; +;;; This is meant to be used for package repositories where the actual source +;;; archive is packed into another archive, eventually carrying meta-data. +;;; Using this derivation saves both storing the outer archive and extracting +;;; the actual one at build time. The hash is calculated on the actual +;;; archive to ease validating the stored file. +;;; + +(define* (http-fetch/extract url filename-to-extract hash-algo hash + #:optional name + #:key (system (%current-system)) (guile (default-guile))) + "Return a fixed-output derivation that fetches an archive at URL, and +extracts FILE_TO_EXTRACT from the archive. The FILE_TO_EXTRACT is expected to +have hash HASH of type HASH-ALGO (a symbol). By default, the file name is the +base name of URL; optionally, NAME can specify a different file name." + (define file-name + (match url + ((head _ ...) + (basename head)) + (_ + (basename url)))) + + (define guile-zlib + (module-ref (resolve-interface '(gnu packages guile)) 'guile-zlib)) + + (define guile-json + (module-ref (resolve-interface '(gnu packages guile)) 'guile-json-4)) + + (define gnutls + (module-ref (resolve-interface '(gnu packages tls)) 'gnutls)) + + (define inputs + `(("tar" ,(module-ref (resolve-interface '(gnu packages base)) + 'tar)))) + + (define config.scm + (scheme-file "config.scm" + #~(begin + (define-module (guix config) + #:export (%system)) + + (define %system + #$(%current-system))))) + + (define modules + (cons `((guix config) => ,config.scm) + (delete '(guix config) + (source-module-closure '((guix build download) + (guix build utils) + (guix utils) + (web uri)))))) + + (define build + (with-imported-modules modules + (with-extensions (list guile-json gnutls ;for (guix swh) + guile-zlib) + #~(begin + (use-modules (guix build download) + (guix build utils) + (guix utils) + (web uri) + (ice-9 match) + (ice-9 popen)) + ;; The code below expects tar to be in $PATH. + (set-path-environment-variable "PATH" '("bin") + (match '#+inputs + (((names dirs outputs ...) ...) + dirs))) + + (setvbuf (current-output-port) 'line) + (setvbuf (current-error-port) 'line) + + (call-with-temporary-directory + (lambda (directory) + ;; TODO: Support different archive types, based on content-type + ;; or archive name extention. + (let* ((file-to-extract (getenv "extract filename")) + (port (http-fetch (string->uri (getenv "download url")) + #:verify-certificate? #f)) + (tar (open-pipe* OPEN_WRITE "tar" "-C" directory + "-xf" "-" file-to-extract))) + (dump-port port tar) + (close-port port) + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status))) + (copy-file (string-append directory "/" + (getenv "extract filename")) + #$output)))))))) + + (mlet %store-monad ((guile (package->derivation guile system))) + (gexp->derivation (or name file-name) build + + ;; Use environment variables and a fixed script name so + ;; there's only one script in store for all the + ;; downloads. + #:script-name "extract-download" + #:env-vars + `(("download url" . ,url) + ("extract filename" . ,filename-to-extract)) + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") + #:system system + #:local-build? #t ; don't offload download + #:hash-algo hash-algo + #:hash hash + #:guile-for-build guile))) + + +(define* (download-to-store/extract store url filename-to-extract + #:optional (name (basename url)) + #:key (log (current-error-port)) + (verify-certificate? #t)) + "Download an archive from URL, and extracts FILE_TO_EXTRACT from the archive +to STORE, either under NAME or URL's basename if omitted. Write progress +reports to LOG. VERIFY-CERTIFICATE? determines whether or not to validate +HTTPS server certificates." + (call-with-temporary-output-file + (lambda (temp port) + (let ((result + (parameterize ((current-output-port log)) + (build:url-fetch url temp + ;;#:mirrors %mirrors + #:verify-certificate? + verify-certificate?)))) + (close port) + (and result + (call-with-temporary-output-file + (lambda (contents port) + (let ((tar (open-pipe* OPEN_READ + "tar" ;"--auto-compress" + "-xf" temp "--to-stdout" filename-to-extract))) + (dump-port tar port) + (close-port port) + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status))) + (add-to-store store name #f "sha256" contents))))))))) -- 2.30.2 ------------=_1633640342-21418-1-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163364371626992 (code B ref 51061); Thu, 07 Oct 2021 21:56:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 21:55:16 +0000 Received: from localhost ([127.0.0.1]:48590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbM8-00071B-B2 for submit@debbugs.gnu.org; Thu, 07 Oct 2021 17:55:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbM5-00070n-Rj; Thu, 07 Oct 2021 17:55:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50000) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYbLz-0003dx-R6; Thu, 07 Oct 2021 17:55:03 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59188 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYbLz-000248-6i; Thu, 07 Oct 2021 17:55:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> Date: Thu, 07 Oct 2021 23:55:00 +0200 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Wed, 6 Oct 2021 17:20:19 +0200") Message-ID: <877deoa4az.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-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 (-) Hi Hartmut, Hartmut Goebel skribis: > * guix/extracting-download.scm: New file > * Makefile.am (MODULES): Add it. I see you already pushed this change, but AFAICS it hasn=E2=80=99t seen any= real review=E2=80=94not great. We don=E2=80=99t commit the whole project to sup= porting new APIs at this level without first having collectively looked into them. I=E2=80=99ll make some quick comments for now. You might consider revertin= g to leave people enough time to comment without pressure. First, could you explain the rationale and use cases? I can imagine reasons to do it this way, but also reasons to not do it this way. [...] > +++ b/guix/extracting-download.scm > @@ -0,0 +1,179 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Court=C3= =A8s > +;;; Copyright =C2=A9 2017 Mathieu Lirzin > +;;; Copyright =C2=A9 2017 Christopher Baines > +;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka > +;;; Copyright =C2=A9 2020 Hartmut Goebel This many people? :-) > +(define* (http-fetch/extract url filename-to-extract hash-algo hash > + #:optional name > + #:key (system (%current-system)) (guile (default-gui= le))) Why =E2=80=98http-fetch=E2=80=99 when we have a generic =E2=80=98url-fetch= =E2=80=99? We=E2=80=99d rather like to see =E2=80=98url-fetch/extract=E2=80=99, and it= should be expressed in ~10 lines around (@ (guix download) url-fetch). > + "Return a fixed-output derivation that fetches an archive at URL, and > +extracts FILE_TO_EXTRACT from the archive. The FILE_TO_EXTRACT is expec= ted to > +have hash HASH of type HASH-ALGO (a symbol). By default, the file name = is the > +base name of URL; optionally, NAME can specify a different file name." > + (define file-name > + (match url > + ((head _ ...) > + (basename head)) > + (_ > + (basename url)))) > + > + (define guile-zlib > + (module-ref (resolve-interface '(gnu packages guile)) 'guile-zlib)) > + > + (define guile-json > + (module-ref (resolve-interface '(gnu packages guile)) 'guile-json-4)) > + > + (define gnutls > + (module-ref (resolve-interface '(gnu packages tls)) 'gnutls)) > + > + (define inputs > + `(("tar" ,(module-ref (resolve-interface '(gnu packages base)) > + 'tar)))) > + > + (define config.scm > + (scheme-file "config.scm" > + #~(begin > + (define-module (guix config) > + #:export (%system)) > + > + (define %system > + #$(%current-system))))) > + > + (define modules > + (cons `((guix config) =3D> ,config.scm) > + (delete '(guix config) > + (source-module-closure '((guix build download) > + (guix build utils) > + (guix utils) > + (web uri)))))) > + > + (define build > + (with-imported-modules modules > + (with-extensions (list guile-json gnutls ;for (guix swh) > + guile-zlib) This is really problematic: this code imports a ton of modules from the host side. (guix utils) is typically never imported on the build side because it pulls in everything. (web uri) must not be imported because it=E2=80=99s part of Guile (I think there=E2=80=99s a warning for this). A= ll the boilerplate above is because we=E2=80=99re importing the world. > +(define* (download-to-store/extract store url filename-to-extract > + #:optional (name (basename url)) > + #:key (log (current-error-port)) > + (verify-certificate? #t)) What about this one? What=E2=80=99s the intended use case? Last, we=E2=80=99ve put a lot of effort over the years in properly document= ing things, like: https://guix.gnu.org/manual/en/html_node/origin-Reference.html#index-url_= 002dfetch This should be held to the same standards. Thanks, Ludo=E2=80=99. From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336441362450 (code B ref 51061); Thu, 07 Oct 2021 22:03:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 22:02:16 +0000 Received: from localhost ([127.0.0.1]:48618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbSq-0000Y8-Pj for submit@debbugs.gnu.org; Thu, 07 Oct 2021 18:02:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbSp-0000TI-3F; Thu, 07 Oct 2021 18:02:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50206) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYbSj-0000wl-J4; Thu, 07 Oct 2021 18:02:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36516 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYbSj-0005Ew-2O; Thu, 07 Oct 2021 18:02:01 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> Date: Fri, 08 Oct 2021 00:01:59 +0200 In-Reply-To: <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Wed, 6 Oct 2021 17:20:00 +0200") Message-ID: <87tuhs8pew.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-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: > * 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. At the very least it misses tests and documentation, like for every importer, and an entry in po/guix/POTFILES.in. The (guix hexpm-download), like extracting-download.scm, needs more attention because it=E2=80=99s a core API. Again, I=E2=80=99m in favor of reverting until it=E2=80=99s been reviewed i= n more detail. > +++ b/guix/hexpm-download.scm > @@ -0,0 +1,74 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Court=C3= =A8s > +;;; Copyright =C2=A9 2017 Mathieu Lirzin > +;;; Copyright =C2=A9 2017 Christopher Baines > +;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka > +;;; Copyright =C2=A9 2020 Hartmut Goebel The list of copyright holders looks bogus. > +;;; An method that fetches a package from the hex.pm repository, > +;;; unwrapping the actual content from the download tarball. It would be nice to explain in a few words what =E2=80=9Cthe hex.pm reposit= ory=E2=80=9D is (I have no idea.) > +(define* (hexpm-fetch url hash-algo hash Why another method? > +++ b/guix/import/hexpm.scm > @@ -0,0 +1,294 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2015 Cyril Roelandt > +;;; Copyright =C2=A9 2016 David Craven > +;;; Copyright =C2=A9 2017, 2019, 2020 Ludovic Court=C3=A8s > +;;; Copyright =C2=A9 2019 Martin Becze > +;;; Copyright =C2=A9 2020, 2021 Hartmut Goebel Please strip it. Thanks, Ludo=E2=80=99. From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336445544391 (code B ref 51061); Thu, 07 Oct 2021 22:10:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 22:09:14 +0000 Received: from localhost ([127.0.0.1]:48629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbZh-00018h-SB for submit@debbugs.gnu.org; Thu, 07 Oct 2021 18:09:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbZg-00018S-LZ; Thu, 07 Oct 2021 18:09:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50420) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYbZb-00034q-6Z; Thu, 07 Oct 2021 18:09:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36518 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYbZa-0000Q0-SX; Thu, 07 Oct 2021 18:09:07 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> Date: Fri, 08 Oct 2021 00:09:05 +0200 In-Reply-To: <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Wed, 6 Oct 2021 17:20:01 +0200") Message-ID: <87ily88p32.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-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: > * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New f= iles. > * Makefile.am (MODULES): Add them. This looks OK, except it=E2=80=99s undocumented: https://guix.gnu.org/manual/en/html_node/Build-Systems.html I=E2=80=99d be in favor of reverting until we can see the doc. Also, I would have suggested not adding new build systems on =E2=80=98maste= r=E2=80=99: they=E2=80=99ll have to be adjusted on =E2=80=98core-updates-frozen=E2=80= =99, and I=E2=80=99d rather distribute the workload on this and avoid merge issues. > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2016 Ricardo Wurmus Is Ricardo involved? > + (for-each > + (lambda (pkg) > + (for-each > + (lambda (dirname) > + (let ((src-dir (string-append build-dir "/" pkg "/" 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"))) Regarding the style, please avoid abbreviations: =E2=80=98source=E2=80=99, = not =E2=80=98src-dir=E2=80=99, etc. https://guix.gnu.org/manual/en/html_node/Formatting-Code.html The root of a package directory should follow the usual layout: bin, sbin, share, lib, libexec. I think we should not have =E2=80=9Cebin=E2=80= =9D and =E2=80=9Cpriv=E2=80=9D, unless there=E2=80=99s a very good justification. Thanks, Ludo=E2=80=99. From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 42180@debbugs.gnu.org, Maxime Devos , GNU Guix maintainers , 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336452565522 (code B ref 51061); Thu, 07 Oct 2021 22:21:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 22:20:56 +0000 Received: from localhost ([127.0.0.1]:48647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbl2-0001Qz-Je for submit@debbugs.gnu.org; Thu, 07 Oct 2021 18:20:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbl0-0001Qi-9S; Thu, 07 Oct 2021 18:20:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50662) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYbks-0001sc-B6; Thu, 07 Oct 2021 18:20:46 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59190 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYbkq-0006tm-8w; Thu, 07 Oct 2021 18:20:46 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> Date: Fri, 08 Oct 2021 00:20:36 +0200 In-Reply-To: (Hartmut Goebel's message of "Thu, 7 Oct 2021 22:57:02 +0200") Message-ID: <87pmsg79zf.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-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 for the review. I applied the changes as discussed, fixed some > last-minute bug in the importer :-) and pushed as=20 > f86f7e24b39928247729020df0134e2e1c4cde62. That=E2=80=99s really not how we work, nor how we should work IMO. There w= ere ~24h between the time you sent this series and the time you pushed it, only quick comments on 2 patches out of 23, and zero =E2=80=9CLGTMs=E2=80= =9D. I would very much like us to stick to our standards, in particular when proposing changes or additions to core APIs under (guix =E2=80=A6). These things just cannot go in without proper review; they cannot go in without adequate testing and documentation, as has always been done in these areas. Perhaps views differ on what =E2=80=9Cproper review=E2=80=9D is, and we can= discuss it if in doubt. For one thing, and I thought you were familiar with it since you=E2=80=99ve been around for some time, when someone is done review= ing a specific bit, they explicitly say so with =E2=80=9CLGTM=E2=80=9D or similar. Now, how do we move forward? I would prefer a single patch reverting all 23 patches now rather than a myriad of tiny fixups hastily reviewed. WDYT? I should say that while I=E2=80=99m unhappy with the way this has been done= , I=E2=80=99m glad you=E2=80=99re made this much progress on the Erlang front, and I think it=E2=80=99s a nice addition. Thanks, Ludo=E2=80=99. From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 22:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: h.goebel@crazy-compilers.com, 42180@debbugs.gnu.org, 51061@debbugs.gnu.org, guix-maintainers@gnu.org X-Debbugs-Original-Cc: Hartmut Goebel , 42180@debbugs.gnu.org, guix-patches@gnu.org, 51061@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336460506894 (code B ref 51061); Thu, 07 Oct 2021 22:35:02 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 22:34:10 +0000 Received: from localhost ([127.0.0.1]:48674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbxq-0001n3-Fz for submit@debbugs.gnu.org; Thu, 07 Oct 2021 18:34:10 -0400 Received: from tobias.gr ([80.241.217.52]:52636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbxn-0001mm-GB; Thu, 07 Oct 2021 18:34:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=HVMnLmZVQTfZg j6Yqwf189qacxk/Y3SvpM52zI1QmLU=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=YklcSZmtoEFNHUXL7cshbNA1ER27Iz7vwB6A7t IZGdFJsy+e8kjwuRKmbU0rTVP+f0H8aFzIHT7IInRnL/YSbAvcznohkHUk7kJrauYgcGey knrdz8WyOU38iki16Q4bfbb7wZ+MF7rniT2tVyZodHkBVAl6HWLzglVw2NQnVK/6d0i5mC XHg+9NWjSqicrQhP69nT/vfxgZrwm5WPTI4hAxlRYS7Wh3IgwD2N1HghPhOyyrXpBSsmZd +GaCJ8IGf2stD6KQmOpS59toCK6Kfp4O73qZpqQ/EDRBow7DNrpd3Qe5NjRo79dJMSDEiu Q94uXYUxHWzbmThFQynEij5g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6d3cdb9b (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 7 Oct 2021 22:34:02 +0000 (UTC) References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> From: Tobias Geerinckx-Rice Date: Fri, 08 Oct 2021 00:25:29 +0200 In-reply-to: <877deoa4az.fsf@gnu.org> BIMI-Selector: v=BIMI1; s=default; Message-ID: <871r4w8nx3.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A > I see you already pushed this change, but AFAICS it hasn=E2=80=99t seen=20 > any real > review=E2=80=94not great. We don=E2=80=99t commit the whole project to=20 > supporting new > APIs at this level without first having collectively looked into=20 > them. > > I=E2=80=99ll make some quick comments for now. You might consider=20 > reverting to > leave people enough time to comment without pressure. Yes, I think we should revert the series for now. Though let's=20 give maintainers [CC'd] a day (or so) to chime in. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYV916Q0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW1569sA/3CX0SxGZIjnL9ewFeR2I5HILdpF3Np0ECc1jr4P mSIkAP97p2FcACQT7wKXMUZtFvL1EhbL1VKcaxgQajNelgO2AA== =q/LZ -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 22:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: h.goebel@crazy-compilers.com, 42180@debbugs.gnu.org, 51061@debbugs.gnu.org, guix-maintainers@gnu.org X-Debbugs-Original-Cc: Hartmut Goebel , 42180@debbugs.gnu.org, guix-patches@gnu.org, 51061@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336461217051 (code B ref 51061); Thu, 07 Oct 2021 22:36:03 +0000 Received: (at 51061) by debbugs.gnu.org; 7 Oct 2021 22:35:21 +0000 Received: from localhost ([127.0.0.1]:48687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbyz-0001pZ-Al for submit@debbugs.gnu.org; Thu, 07 Oct 2021 18:35:21 -0400 Received: from tobias.gr ([80.241.217.52]:52638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYbyx-0001pN-SJ; Thu, 07 Oct 2021 18:35:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=6laN2pQiMV/Jd HLMTxOpk/L7FF3tknV3Bl9PS1GIcW4=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=JhUtJQr//BQVYm0ldj+Go+i8OEPvhnWQ6EWm0z v+ddCJRyys1z2XsVlngspt2hcTrJqWkELbkB74iyKbE6Cci9fGf3z3Tpc3zjYRr+Au3ANm ZUhdnUgZmb5qlHvjqZwadaPkGAC//NF3jQN10yEVbmxPepI71NlZLtayROjNf998jIOb3j A+WFmxA982dLPNUOVNt0gc8qwFfClI4UAuyITixmSMRi+vabAUwWzHuObVJyYs3pf7Bb9b n1uHi/0aVnZKfip1UepNaweEQNUK6U3qpVmviITq47LYTN2LJA69m4BbFCApfOtnywFWTL k+Ctxoo/8GtwmlphxhX+MLGg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c3fd778d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 7 Oct 2021 22:35:16 +0000 (UTC) References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> <871r4w8nx3.fsf@nckx> From: Tobias Geerinckx-Rice Date: Fri, 08 Oct 2021 00:34:42 +0200 In-reply-to: <871r4w8nx3.fsf@nckx> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87y27479al.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A > Yes, I think we should revert the series for now. Though let's=20 > give > maintainers [CC'd] a day (or so) to chime in. =E2=80=A6that is, unless you want to go ahead & do so already, Hartmut :-)= =20 No need to wait if you agree. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYV92Mg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW150h0A/ROoLiykaZU83UPgRfvzYheG5WpvyCmSVZ1CSoJl thljAP9tJG4SBRvU2YsWWmAdN+I1w1U4SHCqm1G+vU6N3PXYDA== =P7H2 -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 05:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Hartmut Goebel Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163367216817132 (code B ref 51061); Fri, 08 Oct 2021 05:50:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 05:49:28 +0000 Received: from localhost ([127.0.0.1]:48907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYil5-0004SF-SJ for submit@debbugs.gnu.org; Fri, 08 Oct 2021 01:49:28 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:36858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYil1-0004Ry-8Y for 51061@debbugs.gnu.org; Fri, 08 Oct 2021 01:49:27 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id 3HpL2600G0mfAB401HpM55; Fri, 08 Oct 2021 07:49:21 +0200 Message-ID: <02c895b1a9838f80ed888b4ec6e78fc1d83b6ffa.camel@telenet.be> From: Maxime Devos Date: Fri, 08 Oct 2021 07:49:11 +0200 In-Reply-To: <877deoa4az.fsf@gnu.org> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-l7vPB20JYZS4Dp2lTIqY" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633672161; bh=0Ux25usAo/TNpUZsuR3bsGN5h8Fomh1U6Ml2SpgVKzE=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=HexMX6cp6pEmwCN/YiwGKaucqb8YY3P7XNgAJmHdTBwkPnMujI0KDNlSZyVAWxzev lEI1B6EtIL/YIfWKzJ0YgBdZOGcgJYAm14S9IRjpelrednR0Ypk0uLO6FxrOXLg5ZT zUnSYHoTI3XZSYhn0gvmg+E9Nmz/LyTwmwU6STcqd534SWR4ohJaZrh+V/w+eVbypH 1ric1EXBnsQ1gn/RBBukkKQ5nuQGTGLPZNlvna338Je5e/vv5Zmoox84J1HBxakKer 9GGue+0/a4NlKD84n2qpZhuGn3cSuZg1zFP9YPZ1+J8gV/1YbqFhLBMANn6gZIIw3B GHQeaBIuZX/DA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-l7vPB20JYZS4Dp2lTIqY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 07-10-2021 om 23:55 [+0200]: > Hartmut Goebel skribis: >=20 > > * guix/extracting-download.scm: New file > > * Makefile.am (MODULES): Add it. One potential problem, is that there doesn't seem to be code to fallback to SWH. Does SWH work on tarballs inside tarballs? Greetings, Maxime. --=-l7vPB20JYZS4Dp2lTIqY 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+4iGRcl7gUCYV/b1xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pd0AQDfj2BunTGolbnIUnH3mHuxHQLO YkEkM/wtL1Nu0Z6pmQEAgY/NIPuWZ/1A5ANf6/Nb1EPbGp8V6qabOl9J4Ipr4gE= =sDoS -----END PGP SIGNATURE----- --=-l7vPB20JYZS4Dp2lTIqY-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 07:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: Hartmut Goebel , 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163367675224262 (code B ref 51061); Fri, 08 Oct 2021 07:06:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 07:05:52 +0000 Received: from localhost ([127.0.0.1]:48930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYjx2-0006JF-1x for submit@debbugs.gnu.org; Fri, 08 Oct 2021 03:05:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYjwz-0006Iy-FA; Fri, 08 Oct 2021 03:05:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59324) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYjwt-0008KG-Ec; Fri, 08 Oct 2021 03:05:43 -0400 Received: from [193.50.110.91] (port=39740 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYjwt-0006dk-5J; Fri, 08 Oct 2021 03:05:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> <02c895b1a9838f80ed888b4ec6e78fc1d83b6ffa.camel@telenet.be> Date: Fri, 08 Oct 2021 09:05:41 +0200 In-Reply-To: <02c895b1a9838f80ed888b4ec6e78fc1d83b6ffa.camel@telenet.be> (Maxime Devos's message of "Fri, 08 Oct 2021 07:49:11 +0200") Message-ID: <87lf346loa.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-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! Maxime Devos skribis: > Ludovic Court=C3=A8s schreef op do 07-10-2021 om 23:55 [+0200]: >> Hartmut Goebel skribis: >>=20 >> > * guix/extracting-download.scm: New file >> > * Makefile.am (MODULES): Add it. > > One potential problem, is that there doesn't seem to be code to fallback > to SWH. Does SWH work on tarballs inside tarballs? Good point. SWH may archive tarballs inside tarballs as-is, but we=E2=80= =99ll have to check on concrete examples. Ludo=E2=80=99. From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org, guix-maintainers@gnu.org X-Debbugs-Original-Cc: 42180@debbugs.gnu.org, guix-patches@gnu.org, 51061@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336842603940 (code B ref 51061); Fri, 08 Oct 2021 09:11:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 09:11:00 +0000 Received: from localhost ([127.0.0.1]:49084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYlu7-00011P-QN for submit@debbugs.gnu.org; Fri, 08 Oct 2021 05:11:00 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYlu5-00011C-Uz; Fri, 08 Oct 2021 05:10:59 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQj8w39DMz1qxH0; Fri, 8 Oct 2021 11:10:56 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HQj8w1H8Jz1qqkB; Fri, 8 Oct 2021 11:10:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sm-Wz1VrwJxm; Fri, 8 Oct 2021 11:10:55 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 8 Oct 2021 11:10:55 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 613CC600A2; Fri, 8 Oct 2021 11:10:57 +0200 (CEST) Message-ID: Date: Fri, 8 Oct 2021 11:10:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: de-DE References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> <871r4w8nx3.fsf@nckx> <87y27479al.fsf@nckx> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <87y27479al.fsf@nckx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) 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.8 (-) Hi, I'm sorry for the trouble. I'll revert the series - if not yet done by someone else. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 09:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org, guix-maintainers@gnu.org X-Debbugs-Original-Cc: 42180@debbugs.gnu.org, guix-patches@gnu.org, 51061@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336859506771 (code B ref 51061); Fri, 08 Oct 2021 09:40:03 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 09:39:10 +0000 Received: from localhost ([127.0.0.1]:49162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYmLO-0001l3-5j for submit@debbugs.gnu.org; Fri, 08 Oct 2021 05:39:10 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYmLK-0001ko-Gj; Fri, 08 Oct 2021 05:39:09 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQjnP2QWYz1qwGt; Fri, 8 Oct 2021 11:39:05 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HQjnP1zKZz1qqkD; Fri, 8 Oct 2021 11:39:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7Y0JW1ASomUM; Fri, 8 Oct 2021 11:39:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 8 Oct 2021 11:39:04 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 1EC79600A2; Fri, 8 Oct 2021 11:39:07 +0200 (CEST) Message-ID: <6a855c07-baf9-5817-1a06-9959b30e2c3a@crazy-compilers.com> Date: Fri, 8 Oct 2021 11:39:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US From: Hartmut Goebel References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> <871r4w8nx3.fsf@nckx> <87y27479al.fsf@nckx> Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) 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.8 (-) Am 08.10.21 um 11:10 schrieb Hartmut Goebel: > I'll revert the series I'd prefer if someone else would revert the series. I'm unsure about how you want this to be done and I didn't spot an appropriate example for reverting a series in the commit history. Thanks - and sorry again for the trouble! -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 42180@debbugs.gnu.org, Maxime Devos , GNU Guix maintainers , 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16336865767954 (code B ref 51061); Fri, 08 Oct 2021 09:50:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 09:49:36 +0000 Received: from localhost ([127.0.0.1]:49187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYmVT-000248-UG for submit@debbugs.gnu.org; Fri, 08 Oct 2021 05:49:36 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:53145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYmVS-00023u-B2; Fri, 08 Oct 2021 05:49:35 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQk1S6hhHz1rk53; Fri, 8 Oct 2021 11:49:32 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HQk1S44SDz1qqkB; Fri, 8 Oct 2021 11:49:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id vfepUqdrVVEn; Fri, 8 Oct 2021 11:49:31 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 8 Oct 2021 11:49:31 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 85B20600A2; Fri, 8 Oct 2021 11:49:34 +0200 (CEST) Message-ID: <4df6d1d4-0b93-0fb2-08b1-7b82e06e7565@crazy-compilers.com> Date: Fri, 8 Oct 2021 11:49:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> <87pmsg79zf.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <87pmsg79zf.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.8 (/) 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.8 (-) Hi Ludo, > That’s really not how we work, nor how we should work IMO. There were > ~24h between the time you sent this series and the time you pushed it, > only quick comments on 2 patches out of 23, and zero “LGTMs”. I apologize for pushing the patch series that fast. I can't tell what exactly did make be rush on this - maybe I just wanted to get this from my table. Not good, anyhow. > Now, how do we move forward? I would prefer a single patch reverting > all 23 patches now rather than a myriad of tiny fixups hastily reviewed. > WDYT? Fine for me. (I'd appreciate if someone else would do this, as I'm not sure about a meaningful commit message. An I'll be offline during the day today.) I'll then provide a new set of three patches - split by topic: 1) extracting downloader, 2) hexpm-importer, 3) rebar-build-system and required packages. WDYT? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , GNU Guix maintainers Cc: 42180@debbugs.gnu.org, 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163372476110287 (code B ref 51061); Fri, 08 Oct 2021 20:26:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 20:26:01 +0000 Received: from localhost ([127.0.0.1]:51974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYwRM-0002fm-Nz for submit@debbugs.gnu.org; Fri, 08 Oct 2021 16:26:00 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:34575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYwRK-0002fX-F1; Fri, 08 Oct 2021 16:25:59 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HR07m5QXmz1sGfB; Fri, 8 Oct 2021 22:25:56 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HR07m2qSgz1qqkC; Fri, 8 Oct 2021 22:25:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id BnNuiqavbN2i; Fri, 8 Oct 2021 22:25:55 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 8 Oct 2021 22:25:55 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6EE8660197; Fri, 8 Oct 2021 22:26:09 +0200 (CEST) Message-ID: <3dbcdad3-7c9d-cdc2-1d52-bb32ab4d7dd1@crazy-compilers.com> Date: Fri, 8 Oct 2021 22:25:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> <87pmsg79zf.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <87pmsg79zf.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.8 (/) 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.8 (-) Am 08.10.21 um 00:20 schrieb Ludovic Courtès: > Now, how do we move forward? I would prefer a single patch reverting > all 23 patches now rather than a myriad of tiny fixups hastily reviewed. > WDYT? How should the commit message's first line look like? (I did not find a suitable example.) "Revert hasty commits for extracting-downloader, hexpm importer and rebar3"? I would go ahead and revert my faulty commit series. Since I'll be offline tomorrow (Saturday), I would not mind if somebody else is quicker. If it has time until Saturday, I'd bee happy to apply the commit then. Sorry to bother you with this late at Friday evening. And sorry again for not following the process. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [bug#42180] bug#51061: [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: ludo@gnu.org, 42180@debbugs.gnu.org, 51061@debbugs.gnu.org, guix-maintainers@gnu.org X-Debbugs-Original-Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 42180@debbugs.gnu.org, guix-patches@gnu.org, 51061@debbugs.gnu.org, GNU Guix maintainers Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.163372961517748 (code B ref 51061); Fri, 08 Oct 2021 21:47:02 +0000 Received: (at 51061) by debbugs.gnu.org; 8 Oct 2021 21:46:55 +0000 Received: from localhost ([127.0.0.1]:52014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYxhf-0004cA-5H for submit@debbugs.gnu.org; Fri, 08 Oct 2021 17:46:55 -0400 Received: from tobias.gr ([80.241.217.52]:52654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYxhc-0004by-NV; Fri, 08 Oct 2021 17:46:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=V81iN0IFSbo4G Y//Ry3CmLN/216Uf3jeThKri21NMAY=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=dSj0xyPu4lefZ8f4G2pIKuS5656rqZMyaWYInU nR97Xmxea6etdoBpO+60lpo/g0EFpmxKV6r7LY+NnBn6+TIa8Du+ggNspXRGPylp1xdS2W JbAl4ORJd/o4qWKYdvMHLzmTKeB2EjUX1iJmLFSeTcKaOvL4YVWrZ5o+4HtN3zcl6/HpMY Zt0SV+BwcTP9Cz8J3tMfdXkCs105X40KKCCs0971Su+OmgzXXyrSN/5nwSmG9Y9sW9NouX nIe234rgoXXb3ITDQm2GV2MgdgtzVn8msHW26xNItwkIeKuEBhejRq1Zvv4qmCx8w9yM4T wiw11s7RsIl5LC3ywv7ZHXCg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d1a7a469 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 8 Oct 2021 21:46:48 +0000 (UTC) References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <877deoa4az.fsf@gnu.org> <871r4w8nx3.fsf@nckx> <87y27479al.fsf@nckx> <6a855c07-baf9-5817-1a06-9959b30e2c3a@crazy-compilers.com> From: Tobias Geerinckx-Rice Date: Fri, 08 Oct 2021 23:00:21 +0200 In-reply-to: <6a855c07-baf9-5817-1a06-9959b30e2c3a@crazy-compilers.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87zgrjp4te.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hartmut, Thanks for the quick reply! Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > Am 08.10.21 um 11:10 schrieb Hartmut Goebel: >> I'll revert the series > > I'd prefer if someone else would revert the series. I'm unsure=20 > about > how you want this to be done and I didn't spot an appropriate=20 > example > for reverting a series in the commit history. I saw no value in 23 noise commits, so here's what I did: $ git log f63c79bf7674df012517f8e9148f94c611e35f32\ ..f86f7e24b39928247729020df0134e2e1c4cde62 --format=3Doneline | while read c _; do git revert --no-commit $c; done Then just used the standard git reversion message, but with a=20 commit range[0]. > Thanks - and sorry again for the trouble! Absolutely no worries. Kind regards, T G-R [0]:=20 https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Da1679b74c9aa20bb51b= c4add82ebb7ba78926b9c --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYWC8XQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15XLIBAKXY/ngBiIXQXHG6QNRWrn+ghy4OKUimQuhqrPPM zSVcAQCmbnhaUZvT/X6oxEQIKGjSR4UrKTFZBJlYO2DggiypDg== =OGjp -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 11 21:36:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51061] [PATCH v2 01/23] guix: Add extracting-download. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Oct 2021 13:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51061 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 42180@debbugs.gnu.org, Maxime Devos , GNU Guix maintainers , 51061@debbugs.gnu.org Received: via spool by 51061-submit@debbugs.gnu.org id=B51061.16337853867633 (code B ref 51061); Sat, 09 Oct 2021 13:17:02 +0000 Received: (at 51061) by debbugs.gnu.org; 9 Oct 2021 13:16:26 +0000 Received: from localhost ([127.0.0.1]:52474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZCDB-0001yd-LT for submit@debbugs.gnu.org; Sat, 09 Oct 2021 09:16:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZCD8-0001ra-6w; Sat, 09 Oct 2021 09:16:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54518) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZCCx-0007wa-N3; Sat, 09 Oct 2021 09:16:11 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59214 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZCCw-0005La-AB; Sat, 09 Oct 2021 09:16:11 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <1aa101af088dceee34ad9373f153b5f7dd7603ba.1633533541.git.h.goebel@crazy-compilers.com> <2c66b294-9ed0-2e50-da45-47f56af904cb@crazy-compilers.com> <547ce621-59be-cc29-2ea2-a29ff8151227@crazy-compilers.com> <14770aaa1de2c9f540a6a9600eb4122812075910.camel@telenet.be> <87pmsg79zf.fsf_-_@gnu.org> <4df6d1d4-0b93-0fb2-08b1-7b82e06e7565@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?UTF-8?Q?Vend=C3=A9miaire?= an 230 de la =?UTF-8?Q?R=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: Sat, 09 Oct 2021 15:16:06 +0200 In-Reply-To: <4df6d1d4-0b93-0fb2-08b1-7b82e06e7565@crazy-compilers.com> (Hartmut Goebel's message of "Fri, 8 Oct 2021 11:49:28 +0200") Message-ID: <87a6ji1gq1.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-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, Hartmut Goebel skribis: >> That=E2=80=99s really not how we work, nor how we should work IMO. Ther= e were >> ~24h between the time you sent this series and the time you pushed it, >> only quick comments on 2 patches out of 23, and zero =E2=80=9CLGTMs=E2= =80=9D. > > I apologize for pushing the patch series that fast. I can't tell what > exactly did make be rush on this - maybe I just wanted to get this > from my table. Not good, anyhow. OK. For the record, the process is documented here: https://guix.gnu.org/manual/devel/en/html_node/Commit-Access.html If you think something needs to be clarified, please let us know. > Fine for me. (I'd appreciate if someone else would do this, as I'm not > sure about a meaningful commit message. An I'll be offline during the=20 > day today.) I see Tobias reverted them (thanks!). > I'll then provide a new set of three patches - split by topic: 1) > extracting downloader, 2) hexpm-importer, 3) rebar-build-system and=20 > required packages. Yes. Please, do take into account the partial review I=E2=80=99ve already = done. In particular, be sure to follow our standards in terms of testing and documentation (it=E2=80=99s fine to delay documentation for a v2/v3 of the = patch series until we=E2=80=99ve agreed on the interfaces; the commits that will = be pushed will have to include code, documentation, and tests.) Thanks for your message, Ludo=E2=80=99.