From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kNJ9ONS3iWQmdAEASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 14:51:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0L1cONS3iWTTOAAA9RJhRA (envelope-from ) for ; Wed, 14 Jun 2023 14:51:32 +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 BED2F1926E for ; Wed, 14 Jun 2023 14:51:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9Pxx-0007Pv-LJ; Wed, 14 Jun 2023 08:51:13 -0400 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 1q9Pxo-00076F-Bm for guix-patches@gnu.org; Wed, 14 Jun 2023 08:51:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9Pxn-0005Ht-S9 for guix-patches@gnu.org; Wed, 14 Jun 2023 08:51:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9Pxn-0003EX-N9; Wed, 14 Jun 2023 08:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64066] [PATCH 15/19] gnu: Add ghc-patch Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 14 Jun 2023 12:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64066@debbugs.gnu.org Cc: zamfofex , Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 64066-submit@debbugs.gnu.org id=B64066.168674702112307 (code B ref 64066); Wed, 14 Jun 2023 12:51:03 +0000 Received: (at 64066) by debbugs.gnu.org; 14 Jun 2023 12:50:21 +0000 Received: from localhost ([127.0.0.1]:44060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Px6-0003CQ-Uy for submit@debbugs.gnu.org; Wed, 14 Jun 2023 08:50:21 -0400 Received: from mta-13-4.privateemail.com ([198.54.127.109]:7462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Px4-0003Bw-QW for 64066@debbugs.gnu.org; Wed, 14 Jun 2023 08:50:19 -0400 Received: from mta-13.privateemail.com (localhost [127.0.0.1]) by mta-13.privateemail.com (Postfix) with ESMTP id C9DAD18000B1; Wed, 14 Jun 2023 08:50:12 -0400 (EDT) Received: from localhost.localdomain (unknown [189.7.70.215]) by mta-13.privateemail.com (Postfix) with ESMTPA id E5DF918000BF; Wed, 14 Jun 2023 08:50:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1686747012; bh=kTdWn4U6zHb+/JMR0TchbfbS8dQoHS5hkEz1juHlgO0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kRtTY84Rg1d1cCGBjc4GHHMfZ/l53lyjE9fAjOc5MgvbrfrFnbRNJgkjPf+qCFbyi JKGU4sXgmmpQwNERd6q8unMCy5EDAg3D8mwe2IDp9QHECi53mvQHRoRrbbWOaxgwpH 9vuTqdGLlTxl55g95RGJGOK8XLxLDarafwuexvG7W0hlzF8Ho5a604Q/xPJnn2lnda fPlrm6SkaQe76XW0dSBLICWiOjoZLeD8Sxn3VsKhuupmjJ7ZQyflnnVCSp5yGUBzyX POzAo8VZ224+PMSk4MSd+l7ZkCigZazNpjvguXHs4BZehEBy/Lq5ogba3mIA84qWKm WwWbfEOjd8mOg== From: zamfofex Date: Wed, 14 Jun 2023 09:48:55 -0300 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686747092; h=from:from:sender:sender: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=qw+KqOw1V7auZZ6FJH3w4iMFH+Iq4hMIIJTncp6DPMA=; b=AEx/cyIYzhmgFiR5JPtpKFvUmDI+6xg6dGXocwJJIPsvFLClgsViG4mkWJNYUuMXQjkfrU a17+Qg843LrQEwPKDTSiOo7z4/eQ7rs7m1uaUQfl6EYdz/nzDgIg7szC6xOhzTBREFIlbp FapBRozWtVmrNZMPB2ACzhHymIG8/wFJ/4Oq7s9xrLZcP9adIaDt2ATGlyn7+62eFDx2Rm +4lFsKz7f6ThLg0NCpI+22A1tw1WXi3mX2+vOxypPLaKlJ516E7SYlHCKroRB+OhXv+wnB xSOYdAAaUtMF0YXyLyoQi9xtyDkb6vx+nXSLpP+KTRdQKOlc1YHbxt4WwPuIiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=kRtTY84R; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686747092; a=rsa-sha256; cv=none; b=JC6hEiJEVBihXaVr4/QQ55PrSXshcMGrrfoxrj94ZHiNY26T9niLScDNx3+k9RFML7DkAj P2Fr5Z9edyb8HFsaycTmGCd9l6yHtPoVh9YrOqoOytLxTLOgSQkR9GvS/mb9oOiOrh6JXg PCk602tx7q0GI1TD6hx3FBVLTcpbdGrfXtwxo7bFYKoWDr0jq3/vtJzwnrX1Vm0gKOtRzQ u8K6h3Qmq90a6A2oXu8KkP49exVVdl6xAN7//lDQc2vw8GqhD3MigNeuvDwFxqtUTC0DxG pVY11/9m56HmZCeW5pxSXtphisiIYmCyDU3jILt22ap1VX21aBlFOmBr6XmUDg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.23 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=kRtTY84R; 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: BED2F1926E X-Spam-Score: -0.23 X-TUID: FdJF9rKg57z6 * gnu/packages/haskell-xyz.scm (ghc-patch): New variable. --- gnu/packages/haskell-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e21e32bae4..78cb1ccd39 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16580,6 +16580,40 @@ (define-public ghc-prim-uniq them as witnesses of type equality.") (license license:public-domain))) +(define-public ghc-patch + (package + (name "ghc-patch") + (version "0.0.8.2") + (source (origin + (method url-fetch) + (uri (hackage-uri "patch" version)) + (sha256 + (base32 + "15r2sjlpvp22iwd7qa1lqdq7n8nvqv2klvzrlm3phqq3j5n5x5y5")))) + (build-system haskell-build-system) + (properties '((upstream-name . "patch"))) + (inputs (list ghc-constraints-extras + ghc-commutative-semigroups + ghc-dependent-map + ghc-dependent-sum + ghc-lens + ghc-indexed-traversable + ghc-semigroupoids + ghc-witherable + ghc-these + ghc-semialign + ghc-monoidal-containers)) + (native-inputs (list ghc-hedgehog ghc-hunit ghc-filemanip hlint)) + (home-page "https://obsidian.systems") + (synopsis + "Data structures for describing changes to other data structures.") + (description + "Data structures for describing changes to other data structures. . In this +library, a patch is something which can be applied, analogous to a function, and +which distinguishes returning the argument it was provided from returning +something else.") + (license license:bsd-3))) + ;;; ;;; 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 -- 2.40.1