From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AFGVGcXevmTIAAEASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 22:27:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UEFQGcXevmQLUAEAauVa8A (envelope-from ) for ; Mon, 24 Jul 2023 22:27:49 +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 38751529BF for ; Mon, 24 Jul 2023 22:27:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=YhjqaLjx; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690230469; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=idY0U1ROUg81naMCe4jahM+jVp7rbQXgGNtLSX0M52o=; b=NL6W+QadD2u1uIjdQ49/teUhfnUbLtcnD4mI0g0i8oRnMo5rWkmv13tE2WkTq3wkTCFiBP Ad3lqZedoq8S8OtOlJ0k/7N7NpQlCyhxddWOmRcvoUa4yhTqm7Xh6eAeifQkmlD2MGXrht Ii0NwQEki4k+wyp1txbUoTd3RQAOkgREv/ViSZR8/Gb/GDty8OHUNQzeY6JRHZJGamvZke QSxcDqK+ryFCFWYGdcsE61y8mtAJQTlJasOgTWhiu2/rWujxFgUwBcULyOAhpkju6IHfvC PSqrA2xVLpD4hE9myEkW6NrIe/43wlCIaD4+DmA/+mL0/iomoQ2o2KcSzZR6dA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=YhjqaLjx; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690230469; a=rsa-sha256; cv=none; b=LRO58Doz9Yl8ZqdFGnX1Amso5cjgGTnhY+4rLTwwhpbGC+faX9cr4lw7s86SymZh8Z7TvH ggiUmAi6Za5GwPUeH4Z9iV4+Uvbp1ULBj+XovViBh9w72+iLu4kIqnuhOXNyeCQl9+72y1 Y6/WfHEArg21eRa6+8x3gQGrMl8cYvq22/WAjFvRemcGVSEFPWFLBYcxZjV0wcgXb2N/ES Y4m/0D6MIuH23MGIPiHi3LRLR7/gs30pNPsWBkkIGIjxMrNJ6/5l6e1WN3VYGjI+47n1EM gZpeCBiuWpAQICjTXa7II4EnfO8B5oRX7fEKndQRIgphddNmEuwd0xahTL1Sog== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO297-0001l6-3o; Mon, 24 Jul 2023 16:27:09 -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 1qO291-0001jj-3m for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 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 1qO290-00008A-S4 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO290-00054W-OY for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 02/12] gnu: Add ghc-generically. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023037919324 (code B ref 64840); Mon, 24 Jul 2023 20:27:02 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:19 +0000 Received: from localhost ([127.0.0.1]:44198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28I-00051W-Oi for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:19 -0400 Received: from mx0.riseup.net ([198.252.153.6]:33356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28E-000519-QD for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:16 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sB93S3wz9tMN for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230369; bh=mYuhdreKDYPjzLJReqJUbcudcMSzC0wMspWui1WPfKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YhjqaLjxMB4kOb+pXwzIajEThBr9t9LSPxwsCeiiy4/JLvBa0Xxo6/iAAeKhErY+Q Y2jCA/hrkDO+LWW/LYD6xL/fVnMs3aC1yxYbemQ7DrVAnlvWzpZXwU3exFzEQhfhPH SZ8WuD/e8JytjfNtMb5gDxYDXSXmJv1w1kvJueDo= X-Riseup-User-ID: D41042D68C6571DE154218C022AB4B59C4CBE0DB3B9B7A638505EC26EB08536E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sB85W41zJnsj; Mon, 24 Jul 2023 20:26:08 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:04 -0500 Message-ID: <20230724202532.8993-2-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.75 X-Migadu-Queue-Id: 38751529BF X-Migadu-Spam-Score: 3.75 X-Migadu-Scanner: mx0.migadu.com X-TUID: dBgmz3+2/bop * gnu/packages/haskell-web.scm (ghc-generically): New variable. --- gnu/packages/haskell-web.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 75b84b10a7..6c6122299d 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2022 Alice Brenon +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -1067,6 +1068,28 @@ (define-public ghc-aeson-better-errors @url{http://harry.garrood.me/blog/aeson-better-errors/}.") (license license:expat))) +(define-public ghc-generically + (package + (name "ghc-generically") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "generically" version)) + (sha256 + (base32 + "1ks3pi6mpma83xffplz8vmimyhvzpnhmcgvk3bvl3c64pqva9i84")))) + (build-system haskell-build-system) + (properties '((upstream-name . "generically"))) + (arguments + `(#:cabal-revision ("1" + "0pkyhym7q9v03pplpfjg80vmpk0cbgc56panfx9vcbzadvxmx6rb"))) + (home-page "https://hackage.haskell.org/package/generically") + (synopsis "Generically newtype to use with DerivingVia in Haskell") + (description + "This is a compatibility package as @code{Generically} and @code{Generically1} +newtypes are available since base-4.17 in @code{GHC.Generics}.") + (license license:bsd-3))) + (define-public ghc-multipart (package (name "ghc-multipart") @@ -2171,4 +2194,3 @@ (define-public ghc-network-run (description "This package provides a simple network runner library in Haskell.") (license license:bsd-3))) - -- 2.41.0