From patchwork Mon Jul 24 20:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52173 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 192CA27BBF1; Mon, 24 Jul 2023 21:27:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 32B1327BBE9 for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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))) -