From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QEJKC/1X32AcGQAAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 20:16:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OAf2Bv1X32DWNAAAbx9fmQ (envelope-from ) for ; Fri, 02 Jul 2021 18:16:29 +0000 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 7006427507 for ; Fri, 2 Jul 2021 20:16:28 +0200 (CEST) Received: from localhost ([::1]:45548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzNiE-0001od-TE for larch@yhetil.org; Fri, 02 Jul 2021 14:16:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzNhq-0001oT-RC for guix-patches@gnu.org; Fri, 02 Jul 2021 14:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzNhq-00068s-Jx for guix-patches@gnu.org; Fri, 02 Jul 2021 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzNhq-0005zd-CN for guix-patches@gnu.org; Fri, 02 Jul 2021 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49336] [PATCH] gnu: shellcheck: Generate and install manpage Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Jul 2021 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49336 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49336@debbugs.gnu.org Cc: Morgan Smith X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162524972622983 (code B ref -1); Fri, 02 Jul 2021 18:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2021 18:15:26 +0000 Received: from localhost ([127.0.0.1]:37119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzNhG-0005yd-8k for submit@debbugs.gnu.org; Fri, 02 Jul 2021 14:15:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:33038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzNhC-0005yT-Il for submit@debbugs.gnu.org; Fri, 02 Jul 2021 14:15:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzNhB-0001hX-JT for guix-patches@gnu.org; Fri, 02 Jul 2021 14:15:21 -0400 Received: from mail-bn7nam10olkn2081b.outbound.protection.outlook.com ([2a01:111:f400:7e8a::81b]:48993 helo=NAM10-BN7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzNh6-0005Z1-Ln for guix-patches@gnu.org; Fri, 02 Jul 2021 14:15:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ebpjQ9M1pbZexgnlICMHcS8mdJdijGSjEaYuy24TVX4iaPzpWIFV/r2vFmsl/ySgnL7XKt9MF/ydoOtylYvM0px05BTMZiKS/DMg3kmu6wn6BjMpE5nZF/3td3y7PnbIwDhslbUPRTfbTi/Iw+biYM1NQW7jFmG2zyI7UtKREvWgOjzC9aFdQbXsTN92PJVASMVy084P8mqcMx/UCBQomdnNPYigU+HpoLlb6roKic51Uw+0J1Rr3oZKzfrMafuJrT9oLbEgZ2Hi8RYjfR4FwPq3FyxY4zJ+TdhxfIPvabUCoaE4ls2VPcAo4NhIkW0FpGbneDds67yIuIWsWLGrGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qtJrUzZjyQo38tMrxDrwUhr4/9fcnvUETsuNHZkBWbo=; b=g3bIBoRM2Rz0GA4OOXQBtZnNWZbb6JSZC4Mc9j2DNtPiQXslP0iM9Np8Hdjqv49+JSb539KP07yRMbhdXZD+L/oznGZqv+NH+r8iTqhdWwZrcDySUYW3LSnGDZ53vL/s8rjDuwY2aEul4iiyFOsFpX7D+vJT14BGr2SWpiRqNDUxOv6+0Z627t3QOrahP2p8iomgfTeyeHltA1KNLUUbUCIVblWaofXQsUehmaiQcAbOi5IkWucHePgYP3UJN/SNBdwO9d8iXnZJHIUvFqdpK291N7PTbDvNF/6KpZOqc42/z98rwZPwg8tSzEmZWUh1YCmjrzbmg8TWrAObHeLHcQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qtJrUzZjyQo38tMrxDrwUhr4/9fcnvUETsuNHZkBWbo=; b=LQR/Mw4Jec9MkNvnqUwl3Vy4tMVpVJhsu+R+37rNquU85Vh94v207JEqut9Qn1fLfNojLmeE83gqnCZGlJTHjgIbcGV1/iH6AhJZvArlk2cbjxEov4W7RRQSfjpC68tlTZuDuYgyR4IynhTJ48nwesEgKvpSS29vyvexM30TV+xMtOINoSE7QfJ+/m+Z70CziUj06ZmXja++RuBPFoCPr/OLrKPYfxtEdGkyIHP9cfDeDjeOq9eWPp33YHEIZfkdRfTIKY8qS7FYSVtqDexscBDgVN9oKf9pxPDzjT0bABFkoPG/yESL/GgqAi/R+bYZ7dZo29R6R5h62KPSGviX4A== Received: from BN7NAM10FT035.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::4f) by BN7NAM10HT157.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::351) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Fri, 2 Jul 2021 18:10:13 +0000 Received: from BYAPR05MB4023.namprd05.prod.outlook.com (2a01:111:e400:7e8f::46) by BN7NAM10FT035.mail.protection.outlook.com (2a01:111:e400:7e8f::399) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Fri, 2 Jul 2021 18:10:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:B57612C2AB19E2285C103167FA0AD3F27267C49541BC185AD978172865B61D1E; UpperCasedChecksum:6930E242ECE08AD738ABAE6F491BCAFC6DC51A1222E7367D29FC4982144209DF; SizeAsReceived:8427; Count:45 Received: from BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::a8fb:37d1:b1a7:6841]) by BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::a8fb:37d1:b1a7:6841%5]) with mapi id 15.20.4287.021; Fri, 2 Jul 2021 18:10:13 +0000 From: Morgan.J.Smith@outlook.com Date: Fri, 2 Jul 2021 14:10:02 -0400 Message-ID: X-Mailer: git-send-email 2.32.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [3r3f7McrsTw4Q36J+T3zTIvhSlQvKWF6] X-ClientProxiedBy: YQBPR01CA0067.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::39) To BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) X-Microsoft-Original-Message-ID: <20210702181002.17758-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (142.169.78.184) by YQBPR01CA0067.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21 via Frontend Transport; Fri, 2 Jul 2021 18:10:12 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 2042df79-f0d8-4dd2-0a09-08d93d84a2f7 X-MS-Exchange-SLBlob-MailProps: GjjEsbJCp87HRn45WAJhYA2shyj5nFZK6MzWdebYsZxAcSdRxjbfpJb4ZGvmGD+fe0gRN8n0NYLT6Hc6vXTto9rNVYEQ0BY03amLFi86QelY2CCFUuRPgG/Efvw65B5Heos99lu8jwzedSa9P6BRcD8gR9hiW/1wGvIbNqeg1z+fxWOcpYsiazBrOfiKLG0MQPM9Xxx8tbDkM/67wcYUoVjTBZmmeo08PZBtSECmRac3m1zYX5LCCdo+NkxA5lAmmGVGtrU8TLtbvyd0zCaXTX/Lyx0sQOTvaDdaBr7s7KcRwV73DCfLuSsitC5ci/gBsQjsvgKQXedGvNpUNLgvK7KCZ5TaAtFg4c3Arummq59O/aHLvSOA77f/UzlREpXVGiqsm4beizqIcQ30ST4Qj0RfMVtDyU+e+5LuoS4Ww+nRoEAdSywl5Wzn3Vn/op6j8bnVvVqUw2QOoD4ycXV80l2MAaBA+2hTPz3f37VsGYwIvjdx8ABNulxySFElQXOneV3hpX+sVOR0nLRFHa2MzPmV7cYlE5AKPKFN/BZRcUD+NPnonRNiLn2c5GVY/hs2bqhO/zdUJEEBmZ++53XSIXg2BKgBizDxNTBBktA4kYzKlRADHCNU641xwOcmuEnIOGSEqVq+TcEjFORtt/aEB4mMBbOzsFpZfc5feqFcxoVQdkDipMQq7uzGG9oW/GSgLAMTpuWqbu7QJDDDSpSNTAg2KhGsWfyDwBhwUt7XrrZgSfboM/YP16TWgZeabdcbzHcQCaj/PuN2jqKNQK80tOWzVlQYwx2vDWE0155syL1ZSjiIbQJehKEuhgQm06+GNteUYkGB5xOSVensiBU0vojmgmZwX2MO2rjg8K7RO2jE35nXnYiuMQ== X-MS-TrafficTypeDiagnostic: BN7NAM10HT157: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5XZ0FETYr3mKbTFyZLTejojgm934HcAYT5PZO4ftRgSgPXZrRhxj4pdiHOPfUl9PBXE/K5JfnCIGTE3I/lS/uQlsBPC/Esfx5fYzmqP9qy+UJQziV0/3FQBtnWelvrnFxPLyeucos1gtskrBMQ7fHFiTU4qo/RugpTN/gKVttNWL7PG5JfBfO2dn9e0sdQq/+Hub1bqSmvQYbGe1Ny4sux/2+Qq0YoccZ0HY57R6aVAKJ357PetImgC4RSUY/v/izjXSAoEXek1oay8ePfdZsZunYa9+vSp9y8ZCi5vGEt8W3IiyFlTYR392Ck5clfkRF77NOvJisVaAxhaYXPBfS8sUksDCai/Y3oresAKnEBnLLSBVFvi/Q9GUJqSo8OK3RxDw0c47AqlSkLiSMP9DccS8WYk7trmZ8RV7pB3dM7HNNOb774GO7HvsasbVGVl9Ya5y6hwZy8qsH4HJZfMYvyA5HAZxyWOSxcaIsguwtAI= X-MS-Exchange-AntiSpam-MessageData: jCwwnrBtwfaKqvAKfh8DDCkZ1sLTZpoW5s1Q0J8r80k9JJ9T6v4c8R1yBTlrpnvvcLYUK5Ox4GCaukgB6as5dfrRu3+DyhinLoEucf0Mo9NucLUK6C6LQrjXjWRVxFfmZLyh1ZS7tsTC3RvHAxW1+A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2042df79-f0d8-4dd2-0a09-08d93d84a2f7 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2021 18:10:13.3449 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: BN7NAM10FT035.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT157 Received-SPF: pass client-ip=2a01:111:f400:7e8a::81b; envelope-from=Morgan.J.Smith@outlook.com; helo=NAM10-BN7-obe.outbound.protection.outlook.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625249788; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qtJrUzZjyQo38tMrxDrwUhr4/9fcnvUETsuNHZkBWbo=; b=gPy6xbTFzLOpN2XkiJdDz9uQnact8WVvmAOH2kEkKiYfS31OPWg6jbuowc5fd5ektAR0QK N8KChycaPQfEFtvKicm38gL3aW6whK3SwqafFtvS8/dVFZcTgJmddIwJ3vWS1JWr6ZmlnT pjETyPBKq4u5rETJUvyY3FJ8oiw6OlTdsl1XupXHBSB65EJRIn8AvuZAiD6hTGBN/ayEc0 CRGRd2UO+1Qi4FieJG0zKQxMH7NZWRFiN4NUtexsnTRarbQN+uwhK2Xtvyseb/18Fk//7X RrERSNM0IuJYeC9HI3h0fZ8gjd242puiDWtmpYHx5aFXhO6U+sIiJib11oXLHg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1625249788; a=rsa-sha256; cv=fail; b=Hjn33RgqM8/4Qp1OT01HpLEIBGUXk/It4zspt7yhGFe/oc+7L7JlG/4w4Kux/KWyBJNMcf 2oOpqiaMXcj0wZoQkYNVtwvYSsOleaZMpqazzLUfXnLsm61W1hhNnNI+EZscH9/9X0myVZ VP6K5un6peCbs8sI3P3Uh5xujgRVG5TrDylQLgQw9Jn/+9gyi+hcznzFLbrVzMoEHAxNtn Vo4uqjCpnVVSRayuwtvZRpZ/HAdg5KAuJQ++ZL8Q5m+PjE+IhB7tmh730faLCWu7jftaBZ N/cXHNCCqos40L1DVunIryLM8ovwmcT88/rbD/Y17ByyTLpvrx1Wf/y6q8TG8w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b="LQR/Mw4J"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b="LQR/Mw4J"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7006427507 X-Spam-Score: 0.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: fh8+OytBpcKv From: Morgan Smith * gnu/packages/haskell-apps.scm (shellcheck) [arguments]<#:phases>: Add build-manpage and install-manpage phases [native-inputs]: Add pandoc --- gnu/packages/haskell-apps.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index af777d1e3a..59e044b424 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2020 Brian Leung ;;; Copyright © 2021 EuAndreh ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 Morgan Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -857,11 +858,27 @@ too slow and you'll get wound up in the scroll and crushed.") (base32 "06m4wh891nah3y0br4wh3adpsb16zawkb2ijgf1vcz61fznj6ps1")) (file-name (string-append name "-" version ".tar.gz")))) (build-system haskell-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'build 'build-manpage + (lambda _ + ;; Run script to generate manpage + (invoke "sh" "manpage") + #t)) + (add-after 'install 'install-manpage + (lambda* (#:key outputs #:allow-other-keys) + (install-file "shellcheck.1" + (string-append (assoc-ref outputs "out") + "/share/man/man1/")) + #t))))) (inputs `(("ghc-aeson" ,ghc-aeson) ("ghc-diff" ,ghc-diff) ("ghc-quickcheck" ,ghc-quickcheck) ("ghc-regex-tdfa" ,ghc-regex-tdfa))) + (native-inputs + `(("pandoc" ,pandoc))) (home-page "https://www.shellcheck.net/") (synopsis "Static analysis for shell scripts") (description "@code{shellcheck} provides static analysis for -- 2.32.0