From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MFolBQ5u/16hNQAA0tVLHw (envelope-from ) for ; Fri, 03 Jul 2020 17:42:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sCDUAA5u/140LAAAbx9fmQ (envelope-from ) for ; Fri, 03 Jul 2020 17:42:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C3B29403D5 for ; Fri, 3 Jul 2020 17:42:37 +0000 (UTC) Received: from localhost ([::1]:53460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrPhs-0002YI-I0 for larch@yhetil.org; Fri, 03 Jul 2020 13:42:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrPgM-0000Xb-Vl for guix-patches@gnu.org; Fri, 03 Jul 2020 13:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrPgM-00080X-I4 for guix-patches@gnu.org; Fri, 03 Jul 2020 13:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrPgM-0003SB-Fa for guix-patches@gnu.org; Fri, 03 Jul 2020 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH 00/22] Add extracting download, importer for hex.pm and rebar3 build-system for Erlang Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jul 2020 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159379803013215 (code B ref -1); Fri, 03 Jul 2020 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2020 17:40:30 +0000 Received: from localhost ([127.0.0.1]:57429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPfp-0003R5-Vh for submit@debbugs.gnu.org; Fri, 03 Jul 2020 13:40:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:46844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPfm-0003Qp-40 for submit@debbugs.gnu.org; Fri, 03 Jul 2020 13:40:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrPfl-0008Nv-QB for guix-patches@gnu.org; Fri, 03 Jul 2020 13:40:25 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrPfj-0007lR-M0 for guix-patches@gnu.org; Fri, 03 Jul 2020 13:40:25 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49z2Kw0SV7z1rtM7 for ; Fri, 3 Jul 2020 19:40:19 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49z2Kv5KVwz1qw7X for ; Fri, 3 Jul 2020 19:40:19 +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 tmy8JxSJf4vc for ; Fri, 3 Jul 2020 19:40:18 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-43.dynamic.mnet-online.de [188.174.61.43]) (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 for ; Fri, 3 Jul 2020 19:40: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 C0669600D6 for ; Fri, 3 Jul 2020 19:40:19 +0200 (CEST) From: Hartmut Goebel Date: Fri, 3 Jul 2020 19:40:15 +0200 Message-Id: X-Mailer: git-send-email 2.21.3 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-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/03 13:40:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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 X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: ohx8lNlHu3zq This adds * "extracting download", which 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. This currently is used be the hex.pm impoter (see below). But I've been told, this could be usefull for ruby, too. * importer for hex.pm, a repository for Erlang and Elixir * rebar3 build-system for Erlang * Required modules Hartmut Goebel (22): guix: Add extracting-download. guix: Add importer for hex.pm. guix: Add rebar3 build-system. gnu: Add erlang-cf. gnu: Add erlang-certifi. gnu: Add erlang-erlware-commons. gnu: Add erlang-cth-readable. gnu: Add erlang-bbmustache. gnu: Add erlang-getopt. gnu: Add erlang-eunit-formatters. gnu: Add erlang-providers. gnu: Add erlang-parse-trans. gnu: Add erlang-hex-core. gnu: Add erlang-ssl-verify-fun. gnu: Add erlang-relx. gnu: Add rebar3. gnu: Add erlang-edown. gnu: Add erlang-jsone. gnu: Add erlang-proper. gnu: Add erlang-rebar3-raw-deps. gnu: Add erlang-rebar3-git-vsn. gnu: Add erlang-rebar3-proper. Makefile.am | 6 + gnu/packages/erlang.scm | 458 +++++++++++++++++++++++++++++ guix/build-system/rebar3.scm | 144 +++++++++ guix/build/rebar3-build-system.scm | 155 ++++++++++ guix/extracting-download.scm | 172 +++++++++++ guix/hexpm-download.scm | 73 +++++ guix/import/hexpm.scm | 299 +++++++++++++++++++ guix/import/utils.scm | 1 + guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 114 +++++++ guix/upstream.scm | 20 +- 11 files changed, 1442 insertions(+), 2 deletions(-) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm create mode 100644 guix/extracting-download.scm create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm -- 2.21.3