From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4PAmFxklnl+GSgAA0tVLHw (envelope-from ) for ; Sun, 01 Nov 2020 03:01:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aE/0Ehklnl94LAAAbx9fmQ (envelope-from ) for ; Sun, 01 Nov 2020 03:01:45 +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 179869403CC for ; Sun, 1 Nov 2020 03:01:45 +0000 (UTC) Received: from localhost ([::1]:57192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZ3cl-0001hm-WE for larch@yhetil.org; Sat, 31 Oct 2020 23:01:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ3c9-00011t-5U for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZ3c8-00084d-Qp for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZ3c8-000150-PN for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44174] [PATCH v2 07/15] gnu: Add ghc-only. Resent-From: Carlo Holl Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Nov 2020 03:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44174@debbugs.gnu.org Cc: Carlo Holl Received: via spool by 44174-submit@debbugs.gnu.org id=B44174.16041996534029 (code B ref 44174); Sun, 01 Nov 2020 03:01:04 +0000 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:53 +0000 Received: from localhost ([127.0.0.1]:35224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bx-00012p-4H for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:53 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:35421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ig-0007v1-BI for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:46 -0400 Received: by mail-pf1-f174.google.com with SMTP id b3so8192583pfo.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2mY+gz5QZRXCsRQPtRRYR/77gG2thWBJDUWuEUcn8Eo=; b=CA/MSbHkEdI5k0G7a+lE6qUJoWQS8/k/lumNkPvBCqANGUJPiEx7QiyRuyqVNtA/PX MN4RJJRFbh96ooAEQG45TLtVncjCEn7cjZJFTB8cCfQ+3naNqS1yIqvTcn4+C5TmTEbY eqNMoe6H7FCsNTsVsGFnWA+Pk+ubZpNwGy1TyzwE5WiUqJYYwl7HkIf0mHNRLevj+Trg t2zjLJMUpQlRaVj9SVlyIqExqHVVH861da7vr17tYZ0tWRna4jpTrUAjPKazYsKpCFtc neTAmpwFfmsaONr3aIwB8tlYi3dxgdAYGrisQOiilvdr3PCrmRkchvP7s191rUch5p+H QSNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2mY+gz5QZRXCsRQPtRRYR/77gG2thWBJDUWuEUcn8Eo=; b=m8Tv2N/se13PSaodazHqYZOjjw5WBFJip6x6GjUkHsrUxRKT5QZNW1ec3Lb6b3ltV1 1mLnM+3yNWFKivPs19F2xIUdB19B7jW/SEL32sqKASSU20Gpeyylxm6w2U3gZhXf8sZt 59lYt8A99ZkBeq3gqu/Ns56MPK1CCPWwhdc9clO5wvCpRo5Nio9+AMIwA2Rc3266cyGl 5YWlABOR8sE7gsr/6bZxLvX6Ynb/D/t8T9s/vgyFpxeF5YZy9X69cOWXM1XXftuwKPm2 77bOARxbL7VKr0LtntHXRBEIqh9US6LE1fXCt0s5wEKBzvQb5lBoI1uWaEsOZ5ZBIgUb +tkg== X-Gm-Message-State: AOAM531AOjFZuxYj4/kdZUWT+qkXOfvxNUKsTaJX/sEeggqsKD/i3P9/ UsPyjx2tPed0m6cBvBeyfMZkIqGJE8Q= X-Google-Smtp-Source: ABdhPJyw3fNo2C5pBVvPnvm0lNCXsU+uOKoN58IBX+7gh/8r7jXXu1utkdu/gKfOr1kd7iWO7ZlMRg== X-Received: by 2002:aa7:8f10:0:b029:161:79ae:eace with SMTP id x16-20020aa78f100000b029016179aeeacemr15934199pfr.45.1604196220424; Sat, 31 Oct 2020 19:03:40 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:39 -0700 (PDT) From: Carlo Holl Date: Sat, 31 Oct 2020 19:02:28 -0700 Message-Id: <20201101020236.1108-8-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=CA/MSbHk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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-Spam-Score: 5.09 X-TUID: PrY/JlfJ/wpn * gnu/packages/haskell-xyz.scm (ghc-only): New variable. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 93ae4b79b9..85ed28625a 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8599,6 +8599,37 @@ old @code{time} library. For new projects, the newer @uref{https://hackage.haskell.org/package/time, time library} is recommended.") (license license:bsd-3))) +(define-public ghc-only + (package + (name "ghc-only") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/Only/Only-" + version + ".tar.gz")) + (sha256 + (base32 + "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" + "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr"))) + (home-page "https://hackage.haskell.org/package/Only") + (synopsis "The 1-tuple type or single-value \"collection\"") + (description "This package provides a canonical anonymous 1-tuple +type missing from Haskell for attaching typeclass instances. + +NOTE: There is also the @url{https://hackage.haskell.org/package/OneTuple, +OneTuple package} which by using a boxed @code{data}-type provides a 1-tuple +type which has laziness properties which are more faithful to the ones of +Haskell's native tuples; whereas the primary purpose of @code{Only} is to provide +the traditionally so named type-wrapper for attaching typeclass instances.") + (license license:bsd-3))) + (define-public ghc-opengl (package (name "ghc-opengl") -- 2.28.0