From patchwork Wed Oct 6 15:20:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 33659 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C100327BBE3; Wed, 6 Oct 2021 17:16:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 81DD827BBE1 for ; Wed, 6 Oct 2021 17:16:48 +0100 (BST) Received: from localhost ([::1]:40564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY9b5-0006cg-KI for patchwork@mira.cbaines.net; Wed, 06 Oct 2021 12:16:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8kG-0004xx-2a for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY8kF-0000mc-Mu for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY8kF-0005Er-Ir for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [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:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 42180-submit@debbugs.gnu.org id=B42180.163353367819533 (code B ref 42180); Wed, 06 Oct 2021 15:22:11 +0000 Received: (at 42180) by debbugs.gnu.org; 6 Oct 2021 15:21:18 +0000 Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jN-00054x-UR for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:18 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:53086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jJ-00054G-7F for 42180@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:13 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")