From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gKgRFs8CzmVgUQEAqHPOHw:P1 (envelope-from ) for ; Thu, 15 Feb 2024 13:25:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gKgRFs8CzmVgUQEAqHPOHw (envelope-from ) for ; Thu, 15 Feb 2024 13:25:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=J5Cphn29; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707999951; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=jGfHkiwLWeCRllF4J3aXM/9JC1WkkmBtyHEcwtqkeiQ=; b=bNU6gh2Kzqa2C5yHcNPBoqZYCqPWHQaG4bt5oD18PRtWDBg+unfPAa1JlZHrPVnJF0znCC YE22KVzjC9+jB8ssYLCcXMqx01MQIAoN0BL0LWlSuhnyE2sUmBF5bLzofvsrAF6N5UGJew 3o3RtBInyNmWq5Pr1U2ioHn4RLueQwwrSfBavptV0UkC2V2plYTijFwcTuAjBrXTgN3cd1 9s1uU5pqR4GGFsGqJJEdRrJPiLq8vualTwfK0HLwLkVqxkUIarIUSZhM+ZqnUNjOXbzrIY b7jPw1cuWP6Z3ocSyTx5ejkDe97QucVmVbo/LAyhLlrVg/TiOMkQPt9PpN0yFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=J5Cphn29; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707999951; a=rsa-sha256; cv=none; b=jzw6XP/Idri4Pj2Q0VD/fBHWWs87mt9lz1ZPpij2MHdG6foHbOpbozTU4rLLdzUfaQw/1v 9o5qqKicm8fdWIeLosgYqj7j1R5NUr9JkeeZEXeg6EyHij4rXhFYmYcZ4DqbOYevvx1tA4 iGOmvibDcH69OZmu6RceqLtXscncnQNhsM8IyjBFlDOZ/0PCs5ps0UIFbseFw4V53Bf3WU Sxc31RmB2OJkomDGpc+B/6Bqdfo87G0spOHhQfvtAbYSlS3+eK8UmbthISPqHTD3XkgV58 nq86KcWquecUrQIj3adJVvTCriwxSWxJoPApoX4rxuT9W3SdMsPAoGFhwVxQYA== 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 42CD955640 for ; Thu, 15 Feb 2024 13:25:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raamq-0002Fx-Kk; Thu, 15 Feb 2024 07:24:20 -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 1raamo-0002E9-4H for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:18 -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 1raamn-0006Hf-Jy for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raan6-0001gI-1V; Thu, 15 Feb 2024 07:24:36 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69162] [PATCH v2 19/23] gnu: Add ghc-filepattern-bootstrap-for-9.6 Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 12:24:35 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69162 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69162@debbugs.gnu.org, 67921@debbugs.gnu.org Cc: Saku Laesvuori , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org, 67921@debbugs.gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.17079998266050 (code B ref -1); Thu, 15 Feb 2024 12:24:35 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2024 12:23:46 +0000 Received: from localhost ([127.0.0.1]:54455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raamH-0001ZO-QV for submit@debbugs.gnu.org; Thu, 15 Feb 2024 07:23:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaNx-0006TL-Me for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:58:38 -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 1raXST-0000Fd-0H for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:05 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXSR-0003p0-9f for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:04 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id D18D834367E; Thu, 15 Feb 2024 09:51:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987090; bh=Cc7cjxd2b9lEZV/jMo4ocsBVL9HapdbxVQa9ItuKs94=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=J5Cphn29cyonWmXhfEnHwJLPBMp4qvXE4ktf2DDa7yAkHfNpw41GAtCkR2GTKODm3 8/Jcr8j8U5OAp6N6Bj/Z3FGwvh7keNhcVt7YVbuXTK8mpC/X3wQYVpamRHcn4EO4Ol VPCwVg3xkCBQu8QvBCZ64jd3Rb40g8s6qWxzqHrk= Date: Thu, 15 Feb 2024 10:50:00 +0200 Message-ID: <635c344ad4a4862184093aba05c4eae6d71b324f.1707827100.git.saku@laesvuori.fi> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches From: Saku Laesvuori via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.68 X-Spam-Score: -6.68 X-Migadu-Queue-Id: 42CD955640 X-Migadu-Scanner: mx13.migadu.com X-TUID: C6Nix61utq53 Message-ID: <20240215085000._GVMn5YXGkxyH6vqU1gAu7aqZcfDg4Kny-mnymmGP6c@z> * gnu/packages/haskell.scm (ghc-filepattern-bootstrap-for-9.6): New variable. Change-Id: I3778f85d7a14474445295ebd6bbb1f4bfbe4f6d5 --- gnu/packages/haskell.scm | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 3b591c6ffa..47eab1d5fa 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1533,6 +1533,47 @@ (define ghc-js-flot-bootstrap-for-9.6 requirements of downstream users (e.g. Debian).") (license license:expat))) +(define ghc-filepattern-bootstrap-for-9.6 + (package + (name "ghc-filepattern-bootstrap") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (hackage-uri "filepattern" version)) + (sha256 + (base32 + "0dlnwnwhsfdkwm69z66wj5d2x9n3la55glq4fsn5rxm2kr1msi6c")))) + (build-system haskell-build-system) + (properties '((upstream-name . "filepattern"))) + (arguments (list #:tests? #f + #:haskell ghc-bootstrap-for-9.6)) + (inputs (list ghc-extra-bootstrap-for-9.6)) + (home-page "https://github.com/ndmitchell/filepattern#readme") + (synopsis "File path glob-like matching") + (description + "This package provides Haskell library for matching files using patterns +such as @code{\\\"src\\/**\\/*.png\\\"} for all @@file{.png} files recursively +under the @@file{src} directory. + +Some of its features include: + +@itemize +@item All matching is O(n). + +@item Most functions pre-compute some information given only one argument. + +@item Uses @code{match} and @code{substitute} to extract suitable strings from +the @code{*} and @code{**} matches, and substitutes them back into other +patterns. + +@item Uses @code{step} and @code{matchMany} to perform bulk matching of many +patterns against many paths simultaneously. + +@item Uses @code{System.FilePattern.Directory} to perform optimised directory +traverals using patterns. +@end itemize") + (license license:bsd-3))) + (define ghc-unordered-containers-bootstrap-for-9.6 (package (name "ghc-unordered-containers-bootstrap") -- 2.41.0