From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLJXx-0002zB-RY for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLJXu-0001JI-TH for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLJXu-0001JE-Q1 for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLJXu-0008R8-LR for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:02 -0400 Subject: [bug#27367] [PATCH 02/15] gnu: Add ghc-http-date. Resent-Message-ID: From: rsiddharth Date: Thu, 15 Jun 2017 01:23:47 +0000 Message-Id: <20170615012400.8414-2-s@ricketyspace.net> In-Reply-To: <20170615012400.8414-1-s@ricketyspace.net> References: <20170615012400.8414-1-s@ricketyspace.net> 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: 27367@debbugs.gnu.org Cc: rsiddharth * gnu/packages/haskell.scm (ghc-http-date): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 682095b46..2cf3c711d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -8343,4 +8343,31 @@ directly uses the type system, rather than out-of-band exceptions.") Haskell's Web Application Interface (WAI).") (license license:expat))) +(define-public ghc-http-date + (package + (name "ghc-http-date") + (version "0.0.6.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "http-date-" version "/" + "http-date-" version ".tar.gz")) + (sha256 + (base32 + "0dknh28kyarnzqrsc80ssalxjrq0qbv7ir49247p2grb7rh0dqgj")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec))) + (native-inputs + `(("ghc-doctest" ,ghc-doctest) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-old-locale" ,ghc-old-locale))) + (home-page "https://github.com/kazu-yamamoto/http-date") + (synopsis "HTTP Date parser/formatter") + (description "Library for Parsing and formatting HTTP +Date in Haskell.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.11.0