From patchwork Fri Jul 3 17:43:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 23009 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 97D3B27BBE4; Fri, 3 Jul 2020 18:45:37 +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_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 5C06727BBE1 for ; Fri, 3 Jul 2020 18:45:37 +0100 (BST) Received: from localhost ([::1]:55830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrPkm-00058z-Qn for patchwork@mira.cbaines.net; Fri, 03 Jul 2020 13:45:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrPkO-00040I-P3 for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrPkO-0001Tb-By for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrPkO-0003jX-7J for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH 09/22] gnu: Add erlang-getopt. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jul 2020 17:45:12 +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.159379826913833 (code B ref 42180); Fri, 03 Jul 2020 17:45:12 +0000 Received: (at 42180) by debbugs.gnu.org; 3 Jul 2020 17:44:29 +0000 Received: from localhost ([127.0.0.1]:57494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPjh-0003b2-5R for submit@debbugs.gnu.org; Fri, 03 Jul 2020 13:44:29 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:37156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPjd-0003ae-Am for 42180@debbugs.gnu.org; Fri, 03 Jul 2020 13:44:25 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49z2Qc60Z0z1rspV; Fri, 3 Jul 2020 19:44:24 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49z2Qc5nkPz1qw7Y; Fri, 3 Jul 2020 19:44:24 +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 QB2cXp46CtOt; Fri, 3 Jul 2020 19:44:23 +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; Fri, 3 Jul 2020 19:44: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 53E81609D5; Fri, 3 Jul 2020 19:43:56 +0200 (CEST) From: Hartmut Goebel Date: Fri, 3 Jul 2020 19:43:34 +0200 Message-Id: <7f25b293ede45832f2c667ce7e9c480dc5bc0d7d.1593797694.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: References: 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-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 fbc2025efe..fcdafe6231 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -352,3 +352,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.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "getopt" version)) + (sha256 + (base32 "1fhqnn4dvcil12cmqmzkmlk14lq5rn7ingld2380i6nl8v2dvm48")))) + (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)))