From patchwork Sun Dec 10 13:04:05 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: 57484 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 8A82227BBE9; Sun, 10 Dec 2023 13:07:00 +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 3D29527BBEC for ; Sun, 10 Dec 2023 13:06:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVQ-00022v-Jk; Sun, 10 Dec 2023 08:06:00 -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 1rCJVI-0001te-Gk for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -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 1rCJVI-0005Te-8p for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVW-0005YS-DB for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 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: Sun, 10 Dec 2023 13:06:06 +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.170221353721211 (code B ref 66801); Sun, 10 Dec 2023 13:06:06 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:37 +0000 Received: from localhost ([127.0.0.1]:49729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV2-0005Vu-Id for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUg-0005St-Mv for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:15 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 34B126000E; Sun, 10 Dec 2023 13:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213493; 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=qVlDH9Ev8f4Ph54IYfEq6VGZMlVVryk95eZEsV2DqMk=; b=Xwo0NsiEIr3Auuva3hxW0gnwg/tNleqINVbW1G9EEzdn9njEHXeWdIwp1NLh7HTpAPwzzB zUX42RJoFR0Qp+rc6ZN5TDSKXahMisucZsac+IEeZcQFV67fhkoVcDS+1tn9gQExCtGF6/ pWxST7g16GOJL/f8RkZJAO/KETNtviNN0r5k41ijDFOQqMj9OF1mnrM4GAWtTa+vKhO4fy hCdGaqOhZD4cURXWDZbjr9X5UqsngjaoQsXQ7r/kcn4rXCvZSMqW5ij+twEUgGTmqfYUBO Ce4DM6MuzeAtzXqaGCVuYkmkKdMKaBxwp03evZsynNnr5SP8tlUrPvpL7mHd/w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:05 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.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 14e67060e..8485355e4 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -204,6 +204,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