From patchwork Fri Dec 8 18:35:23 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: 57420 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 AEFC127BBEB; Fri, 8 Dec 2023 18:37:45 +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 5E5EB27BBE2 for ; Fri, 8 Dec 2023 18:37:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfik-0004xB-O6; Fri, 08 Dec 2023 13:37:06 -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 1rBfiY-0004sA-Ij for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:54 -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 1rBfiY-0007n8-9q for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfil-00004t-Bt for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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 18:37:07 +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.170206059432583 (code B ref 66801); Fri, 08 Dec 2023 18:37:07 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:34 +0000 Received: from localhost ([127.0.0.1]:46158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfiA-0008T5-En for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:34 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:42635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhw-0008Q3-Ma for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:17 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 46CD36000E; Fri, 8 Dec 2023 18:35:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060556; 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=pUofZCk22U6gC85sY87/YeJgh7gYC6pbJDqK3tv4YmI=; b=ESgGlxbN9zp4VbC3bghPUfe/FlqHvCmuNAQen3TF4gp5JxwnHbcL6PfC336a8hO95mGKvh Vy9qC+hKteYaz2U9k+0XgpQKpzPxX3N43AvUNp6YP9G15HcglQ2W7JmHhE+yMZhq6onqJI Zev5bPMWU8PQbSQnfzLXTOCSTr0xvgJzq1NIScb8G/UgUyksywh+ZwcprUjGoob9DjoheY DOgv4YI2s6ba0rRdqEoAEnBMK3xbtfk1S9/zOLMDBNQQMtwpxFNuRGCH7G/gUVQ3wDooUt +KsXlWbmfd3rJZGjaarXejk+xxfyiBgmGMFWOIF+xaKwA+H90jfyXptYO3wyXQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:23 +0100 Message-ID: <9de5de6653364f266aff50a58c83f5c3ac8fdd7c.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> 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 4bb856f67..b4e974797 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -193,6 +193,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)) ; no tests + (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