From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mCxyHt5qUGIiMQEAgWs5BA (envelope-from ) for ; Fri, 08 Apr 2022 19:03:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EOMnF95qUGL+awAAG6o9tA (envelope-from ) for ; Fri, 08 Apr 2022 19:03:26 +0200 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 9A5792D39D for ; Fri, 8 Apr 2022 19:03:25 +0200 (CEST) Received: from localhost ([::1]:56408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs16-0002TN-Hk for larch@yhetil.org; Fri, 08 Apr 2022 13:03:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs0k-0001q9-5m for guix-patches@gnu.org; Fri, 08 Apr 2022 13:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs0j-0005Fe-Ta for guix-patches@gnu.org; Fri, 08 Apr 2022 13:03:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs0j-0001Tj-Pq for guix-patches@gnu.org; Fri, 08 Apr 2022 13:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 00/22] Add 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, 08 Apr 2022 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16494373275612 (code B ref -1); Fri, 08 Apr 2022 17:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2022 17:02:07 +0000 Received: from localhost ([127.0.0.1]:35757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncrzr-0001SR-AF for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:02:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:41326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncrzp-0001SK-LC for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:02:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncrzo-0000gl-5c for guix-patches@gnu.org; Fri, 08 Apr 2022 13:02:05 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:39231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncrzm-0005Bd-5C for guix-patches@gnu.org; Fri, 08 Apr 2022 13:02:03 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MpDa5-1oKhsQ2x3f-00qicP for ; Fri, 08 Apr 2022 19:01:57 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id AE5B55F535; Fri, 8 Apr 2022 19:02:05 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:01:55 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:lmhsSRxWOy6S+nWuMoNARpIdRiPaZQ2rMw2l+LxkjLSwhNuqOBl uYQqi4WQo3ZDAFm5LNGzLmg5XnG94ILShhUMxpMdfrGiUcFv/M43L53DDlXilb1XN1hIM/c IjCcNn5Ih0YWoCm8PkoNvoXHnl6Q56kiefRMumgBniJioM9yIOhHsx0mmGOgX0NTiwavn3B SrBR3rs4CYeWxDrzJKN5w== X-UI-Out-Filterresults: notjunk:1;V03:K0:yNQ3Ah5nhT8=:i7ofFy7H/JC855SfoukRCl hHI0h1/YjQ5gaE0foABtfUb3IrGTuyR4AoHaCNqhQD/cxoQJtiZfWJqlXsuPqfaBcsIRtu9tu VCaZoBS6l1F4XYX02kZCbHb7OfGoSBPQ8EFPYNlastCH7XaAZQ/r5wRHr6A6s1cbLRD8BfFe3 WLDn2RaUUSfr3GQ+UkuordLdyPbry8xQTpmt9tH/EhCa7O4yFN6AJjTIXBTcZNjSBlJHegnyu MlOu+vMpJpP6P3EIufKVK2R5F+ALLkzWqKZxFS5tLQTFGsztS9X45feLEztz0eaM1RA6p9xuC Tr9/RgiemDdBoGeHNOvEjawCDoYL1/fsfk8AuwHB60HKPnYTassMyqE2agq2r/QkrlSDnKXb1 ER9mGMOOLcvrWd4WhFUDmfywlezePUbCyLhVBkTR7284B+Mdlc3RqRhavWjr+WB+dseITaGf9 DyELh+yvWlPpZrfengv87cQTwnNoFWFhEagl8fMH9qnZZv9u9be+qo3OqlMQnKX1GWZoXbkyX YB+Gp+U7R3EtKV3VSkSRvzSd03jd1KyMxeYobszr60P7qrv/STfDmYS3nbFVQmxEoXbGmTpNS eUuIqtK7wdrf6GC2nIvuP9NW3pUnUJwOEQOnH3VivTLxMTSq/7Yy3TeOLUI/KUrpTh9W5LIJZ mSZ/X2OSMNkraHOUUfSgoH4bXyNfuIJU21ZsQ8rLX7YVMKYgxnCXErknTjBe4xD/1WXj8Kz2Q eHxgPrMS3KT1SiOg Received-SPF: none client-ip=217.72.192.75; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649437405; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lKp+YCf0/0aRoOx3+1eHH4+qDnEg7lDStPHD6NlWVv8=; b=ulA8IrzlPCZrW+5z/pGNMQGZm4EqfajEUuiYzOOmwwGjrELa87UtYSnbImFMS5YH7nCACn gh7caNm/eHRFLo3QIt5jlgXnsS1vxx6hb4iW0ZvPqwpDpEC0kcfamy5S5mctw6VnZDKgju /A0snuXVg0JrUmpPa3eDQRMVK85TwxK+5fw/kXxOudr9qF8DQLQtqkymhBOhTpfj8yjKNW 1NVwO1NA23a4HTKYhZ/oNdb5sSooXKr4+B2aWi/mWPTuTEJaA8JzFT+2miYIBrEnM7NCuS Ya6Eo54nAbr6EZks3/uTFE25zrhTWQC2b8oGunOIhsfNwuCd1q9Q89lFZpBzgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649437405; a=rsa-sha256; cv=none; b=SSPCbnMYvihzFz9Kt3SYsZBOJAwYJbbOsm7tIK5fCnQEVYLy12aZcQl+gc1c8puGD0i410 H14O40aoq3ycdvFhdlULkT6OOSG4VioJl3a2IjsH4Y4TztlTJtoAJlDmdleGyskZCqj5ye 2vBjikuFdCOlDZu0vSKA0euu8fzONR0/P/UQdaCH+3XiCH/SC7AdZ5CbIWZ7a3QbsY3daX Z/iVboaNeOuSgovtzPfcNSI8Gg3GWMwYy07s7fF6/y5u/waZYux10JqARKVuNnFVpnWNcx ORkmxu6h6aY1E5ams63WIyM5ZQxRhYnwGIQGG4r1yZikmPP2Mm393ja4Rdv2eA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A5792D39D X-Spam-Score: -2.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: /Kz8n2lSEoCx Hi, this is an updated version of #42180 and #51061 (both are closed already). Notable changes are: * the „extracting downloader“ and „hexpm-fetch” are gone * documentation added for both the importer and the rebar3-build-system * tests added for the importer Some remarks on the patches: * First patch adds a file guix/hexpm-download.scm, containing definitions for the hex.pm repository. These are combined in this module here since different build-systems (will) use it. * The importer tries to detect the build system to be used. For Elexir packages it creates package definitions using the “mix-build-system‘. This I will add later (WIP). * Next there patches provide the packages required rebar3, rebar3 itself and some plugins for rebar3. Open question: * Shall the build system actually be called „rebar*3*“ or just „rebar“? There is also a build-tool „rebar2“, which is obsoltete and not supported by this build-system. Anyhow, somewhen in the future there might be some „rebar4“, which we might be able to cover with the same build-system. WDYT? Hartmut Goebel (22): import: Add hex.pm importer. gnu: Add erlang-cf. gnu: Add erlang-certifi. gnu: Add erlang-erlware-commons. gnu: Add erlang-cth-readable. gnu: Add erlang-bbmustache. gnu: Add erlang-getopt. gnu: Add erlang-eunit-formatters. gnu: Add erlang-providers. gnu: Add erlang-parse-trans. gnu: Add erlang-hex-core. gnu: Add erlang-ssl-verify-fun. gnu: Add erlang-relx. gnu: Add erlang-edown. gnu: Add erlang-jsone. gnu: Add erlang-proper. gnu: Add erlang-covertool. gnu: Add rebar3. gnu: Add rebar3-raw-deps. gnu: Add rebar3-git-vsn. gnu: Add rebar3-proper. build-system: Add 'rebar3-build-system'. Makefile.am | 6 + doc/guix.texi | 70 ++++- gnu/packages/erlang.scm | 488 +++++++++++++++++++++++++++++ guix/build-system/rebar3.scm | 143 +++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++ guix/hexpm-download.scm | 40 +++ guix/import/hexpm.scm | 347 ++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++ po/guix/POTFILES.in | 1 + tests/hexpm.scm | 257 +++++++++++++++ 11 files changed, 1608 insertions(+), 2 deletions(-) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm -- 2.30.2