From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6FbQHZ62kmIy1gAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 01:56:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id m+vMHZ62kmIScgEA9RJhRA (envelope-from ) for ; Sun, 29 May 2022 01:56:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33E682B5AA for ; Sun, 29 May 2022 01:56:13 +0200 (CEST) Received: from localhost ([::1]:37728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nv6I0-00062g-C7 for larch@yhetil.org; Sat, 28 May 2022 19:56:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv6Hq-00060n-9W for guix-patches@gnu.org; Sat, 28 May 2022 19:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nv6Hq-0003N7-1C for guix-patches@gnu.org; Sat, 28 May 2022 19:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nv6Hq-0003NG-1A for guix-patches@gnu.org; Sat, 28 May 2022 19:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55693] [PATCH 2/2] gnu: Add gitlint. References: <20220528235330.hz2p6hsw5qcysaqc@peregrine> In-Reply-To: <20220528235330.hz2p6hsw5qcysaqc@peregrine> Resent-From: Brian Kubisiak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 May 2022 23:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55693 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55693@debbugs.gnu.org Received: via spool by 55693-submit@debbugs.gnu.org id=B55693.165378213212923 (code B ref 55693); Sat, 28 May 2022 23:56:01 +0000 Received: (at 55693) by debbugs.gnu.org; 28 May 2022 23:55:32 +0000 Received: from localhost ([127.0.0.1]:39077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv6HM-0003MN-8j for submit@debbugs.gnu.org; Sat, 28 May 2022 19:55:32 -0400 Received: from mn-69-69-108-139.sta.embarqhsd.net ([69.69.108.139]:1317 helo=mail.kubisiak.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv6HJ-0003M8-7N for 55693@debbugs.gnu.org; Sat, 28 May 2022 19:55:31 -0400 Received: from peregrine (108-237-41-25.lightspeed.sntcca.sbcglobal.net [108.237.41.25]) by mail.kubisiak.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256) ; Sat, 28 May 2022 18:55:09 -0500 Date: Sat, 28 May 2022 16:55:21 -0700 From: Brian Kubisiak Message-ID: <20220528235521.xvgu7x2qt3oitx7c@peregrine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653782173; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=CY0jwxKm6/mv28c26oU07hctkcBM7Eybvu7O3sBZKFg=; b=R8OUwVRmHVVh3xNAtBLrF3nHE+rLplMGE4WhdrhTO2bHpxjwXn3XhC/E6AyDGsTlotxl1C A/dr93oZQ/+SMPvOtgYLMTntLMCdIKPeQgQHtj0D3ckeugv7HL5zaMpPUW7PmRMzqFM8gd sRV2qWP5p0Qfx7MWvkCmXK2CreBSgL8v3KiYnmpG/o6nbXC0fCS3i4ZPkGUVzMq6zFawH2 vfNpdykc8eZZD3bG6La5Oth4Utqqkn0vl0zDxEyIgiLr21J3E9mwI9EtNDxO44K4fzzaDD Uc3b2Gi5daBx6GlzM4J74VhekC1f2hsc31jQJfOzYcssD/355xjgi7cUhcYppw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653782173; a=rsa-sha256; cv=none; b=JokumBfpnHCk/7QzSLPIXVrRSI4D6RXFgA/EZdgZWgMgcn+mxC9PL6sMZH4fYMWTWExccN H2R8SYsDvEzaEy/49N0g0BnBnWar/LSIoDzgFtx3GZmFYg+rCMHihPg5LXnQbWMn2hoFVj G32ORxF91/3u2jooe2UVcXDXs638fFFbWsSt7f5c4XSl0AmfoN+62A6LuHrDl2uZtl7h3p yv3vwqaFg0pgg+iACQoH0QFHZLFrg6CjeICN7wAxI9I098DAfGz0jgZUA43/XbM8rLAz+i 2YyYDhedr5n82sny7fVHHXr8kiUl9B5U7D8fSvDSORaVI7/umsQXXQRrtp9yKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 33E682B5AA X-Spam-Score: -2.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6uArHzmovryv * gnu/packages/version-control.scm (gitlint): New variable. --- gnu/packages/version-control.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 9d0786d2d9..a4766d5853 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -3371,3 +3371,29 @@ (define-public git-filter-repo Git project instead of @command{git filter-branch}.") (license (list license:expat ;; Main license. license:gpl2)))) ;; For test harness. + +(define-public gitlint + (package + (name "gitlint") + (version "0.17.0") + (source (origin + (method url-fetch) + ;; the gitlint-core pypi package contains the actual gitlint + ;; code; the gitlint package only pulls in gitlint-core with + ;; stricter dependency versioning + (uri (pypi-uri "gitlint-core" version)) + (sha256 + (base32 + "14cn89biys8r7mwcdgllv371k34km9k1941ylxf53a7sxwrzsbbp")))) + (build-system python-build-system) + (inputs + `(("python-arrow" ,python-arrow) + ("python-click" ,python-click) + ("python-sh" ,python-sh))) + (propagated-inputs (list git)) + (home-page "https://jorisroovers.com/gitlint/") + (synopsis "Linting for your git commit messages") + (description + "Gitlint is a git commit message linter written in python: it checks your +commit messages for style.") + (license license:expat))) -- 2.36.1