From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaehy-0008Bh-28 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaehs-0001vl-04 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaehr-0001qT-Rf for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaehq-0006T9-74 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:45:02 -0500 Subject: [bug#38423] [PATCH 30/49] gnu: Add ghc-placeholders. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:32 +0100 Message-Id: <20191129113751.82405-30-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-placeholders): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 5cba944601..c38aa5f62e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13841,3 +13841,30 @@ what you can do with Control.Lens.Cons.") (synopsis "Law-abiding lenses for aeson") (description "Law-abiding lenses for aeson") (license license:expat))) + +(define-public ghc-placeholders + (package + (name "ghc-placeholders") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/placeholders/placeholders-" + version + ".tar.gz")) + (sha256 + (base32 + "0ih35n2pw5gr9ggj2xz5zfcs4bdk200fdw6q9hdy3xna7maphak5")))) + (build-system haskell-build-system) + (home-page + "http://github.com/ahammar/placeholders") + (synopsis + "Placeholders for use while developing Haskell code") + (description + "While working on some Haskell code, it is often useful to work +incrementally by inserting undefined as a placeholder for missing code. +This library provides placeholders that produce better messages when +evaluated at run-time and also generate compile-time warnings so that +they do not get forgotten so easily.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)