From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLJXy-0002zI-JT 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 1dLJXx-0001K6-Ar for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLJXx-0001K2-7P for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLJXx-0008Rl-1i for guix-patches@gnu.org; Wed, 14 Jun 2017 21:26:05 -0400 Subject: [bug#27367] [PATCH 07/15] gnu: Add ghc-http2. Resent-Message-ID: From: rsiddharth Date: Thu, 15 Jun 2017 01:23:52 +0000 Message-Id: <20170615012400.8414-7-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-http2): New variable. --- gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 539d08e45..e074cc27c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -8513,4 +8513,40 @@ Typical applications of Priority Search Queues include: matching patterns against file paths.") (license license:bsd-3))) +(define-public ghc-http2 + (package + (name "ghc-http2") + (version "1.6.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "http2-" version "/" + "http2-" version ".tar.gz")) + (sha256 + (base32 + "0hww0rfsv6lqx62qzycbcqy5q6rh9k09qkyjkdm5m1sp1z50wqk1")))) + (build-system haskell-build-system) + (inputs + `(("ghc-bytestring-builder" ,ghc-bytestring-builder) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-hex" ,ghc-hex) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-word8" ,ghc-word8) + ("ghc-psqueues" ,ghc-psqueues) + ("ghc-stm" ,ghc-stm))) + (native-inputs + `(("ghc-glob" ,ghc-glob) + ("ghc-hspec" ,ghc-hspec) + ("ghc-doctest" ,ghc-doctest) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/kazu-yamamoto/http2") + (synopsis "HTTP/2 library including frames, priority queues and HPACK") + (description "This package provides a HTTP/2.0 library including frames +and HPACK. Currently HTTP/2 16 framing and HPACK 10 is supported.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.11.0