From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLvtB-0000C4-KQ for guix-patches@gnu.org; Thu, 24 May 2018 15:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLvt9-0008QX-Az for guix-patches@gnu.org; Thu, 24 May 2018 15:27:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38968) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLvt9-0008QR-6j for guix-patches@gnu.org; Thu, 24 May 2018 15:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLvt9-0007wE-0x for guix-patches@gnu.org; Thu, 24 May 2018 15:27:03 -0400 Subject: [bug#31582] [PATCH 2/8] gnu: Add ghc-feed. Resent-Message-ID: Message-Id: <8736yguaa0.fsf@mrblack.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <878t88vp2n.fsf@ngyro.com> References: <878t88vp2n.fsf@ngyro.com> From: Timothy Sample Date: Mon, 19 Feb 2018 19:07:44 -0500 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: 31582@debbugs.gnu.org * gnu/packages/haskell.scm (ghc-feed): New variable. --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index ccb3adf15..07a639b76 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2988,6 +2988,35 @@ online}.") (description "This package provides a simple XML library for Haskell.") (license license:bsd-3))) +(define-public ghc-feed + (package + (name "ghc-feed") + (version "0.3.12.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "feed/feed-" version ".tar.gz")) + (sha256 + (base32 + "0hkrsinspg70bbm3hwqdrvivws6zya1hyk0a3awpaz82j4xnlbfc")))) + (build-system haskell-build-system) + (inputs + `(("ghc-old-locale" ,ghc-old-locale) + ("ghc-old-time" ,ghc-old-time) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-xml" ,ghc-xml))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/bergmark/feed") + (synopsis "Haskell package for handling various syndication formats") + (description "This Haskell package includes tools for generating and +consuming feeds in both RSS (Really Simple Syndication) and Atom format.") + (license license:bsd-3))) + (define-public ghc-exceptions (package (name "ghc-exceptions") -- 2.17.0