From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42521) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaec8-0004F2-Lw for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaec6-0001Ob-GY for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaec6-0001Nu-Ch for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaec6-0006Cs-9p for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:06 -0500 Subject: [bug#38423] [PATCH 18/49] gnu: Add ghc-only. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:20 +0100 Message-Id: <20191129113751.82405-18-rob@vllmrt.net> In-Reply-To: <20191129113751.82405-1-rob@vllmrt.net> References: <20191129113751.82405-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38423@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-only): New variable. --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3eadfff08c..497ce4a5e6 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13521,3 +13521,31 @@ ExceptT instances in scope.") "Better alternatives to the \"error\" function") (description "") (license license:expat))) + +(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 + "http://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.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)