From patchwork Fri Dec 8 15:03:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57389 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 05FD627BBEA; Fri, 8 Dec 2023 15:06:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7227E27BBE2 for ; Fri, 8 Dec 2023 15:06:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPR-0004LW-HL; Fri, 08 Dec 2023 10:04:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBcPN-0004Ej-5W for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBcPM-0001Ov-Dh for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPZ-0001Ez-CO for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 12/15] gnu: Add elixir-credo. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Dec 2023 15:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.17020478604571 (code B ref 66801); Fri, 08 Dec 2023 15:05:05 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:20 +0000 Received: from localhost ([127.0.0.1]:45640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOq-0001BZ-CN for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:20 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:54387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOj-00019K-GZ for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id B1B2F1C0015; Fri, 8 Dec 2023 15:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U4AN4FHlcMaRthtY8AQtfnL7hkLdq2KP/js/SU1hoEI=; b=DllkCIpdk4fYCMuUpqq4v0xJ8M3H6r6ZQy9iRXvAjQtV0ZPo73YWoV7kP08+gD3fS7XXeO AhKSXQevc/bSE0jp5I5vobNQxQPfV9rBzzBEpdWVZmog6T4vWYJU75G+mstG/ZxsMplmir liq/jHF4umjjmHC3Fvm2GP2wCGwJUUIImyVYqvp1mhx0wRRQ0g5lwhAZKMk0pWHhZOdeNZ rg+88OWWNl5/j05iqRQQ0mV7Og/XItKhYfvhw7ecxUaIbVjXXMhZJvESZmBEFvsHOfy2/T f+CoWtX3xaY8i+C90MhUoxBSZZpWbzcKJ8JtPvMgsnTMlhf6NxArFT2OYvhszw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:27 +0100 Message-ID: <670c3550e3741978c2c307e8e08a1c49eace8fb5.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-credo): New variable. Change-Id: I6df0d926e0fb96caa65d081892026b3495431c83 --- gnu/packages/elixir-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index f6be8e88f..afacbd872 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -212,6 +212,30 @@ (define-public elixir-excoveralls (home-page "https://hexdocs.pm/excoveralls/") (license license:expat))) +(define-public elixir-credo + (package + (name "elixir-credo") + (version "1.7.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "18jqi9s9r1587njzdxycvmmbma30cay9iamni4f3ih54jmh1r1z9")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) + (propagated-inputs (list elixir-bunt elixir-file-system elixir-jason)) + (native-inputs (list elixir-excoveralls elixir-inch-ex)) + (synopsis "Static code analysis tool") + (description + "Credo is a static code analysis tool for the Elixir language with a focus on +teaching and code consistency. Credo can show you refactoring opportunities in +your code, complex code fragments, warn you about common mistakes, show +inconsistencies in your naming scheme and - if needed - help you enforce a +desired coding style.") + (home-page "https://hexdocs.pm/credo/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar