From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyUhU-00071H-51 for guix-patches@gnu.org; Tue, 20 Mar 2018 23:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyUhS-0003Ca-8S for guix-patches@gnu.org; Tue, 20 Mar 2018 23:46:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyUhS-0003CT-4B for guix-patches@gnu.org; Tue, 20 Mar 2018 23:46:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyUhR-0006TJ-SO for guix-patches@gnu.org; Tue, 20 Mar 2018 23:46:05 -0400 Subject: [bug#30892] [PATCH 07/37] gnu: Add ghc-skein. Resent-Message-ID: From: rsiddharth Date: Wed, 21 Mar 2018 03:44:45 +0000 Message-Id: <20180321034515.3664-8-s@ricketyspace.net> In-Reply-To: <20180321034005.2975-1-s@ricketyspace.net> References: <20180321034005.2975-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: 30892@debbugs.gnu.org Cc: rsiddharth * gnu/packages/haskell-web.scm (ghc-skein): New variable. --- gnu/packages/haskell-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index edfb43c08..04d4bd24c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -925,3 +925,31 @@ of a JSON value into a @code{Data.Aeson.Value}.") (description "This Haskell package provides two typeclasses for converting Haskell data types to and from route pieces.") (license license:bsd-3))) + +(define-public ghc-skein + (package + (name "ghc-skein") + (version "1.0.9.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "skein-" version "/" + "skein-" version ".tar.gz")) + (sha256 + (base32 + "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq")))) + (build-system haskell-build-system) + (inputs `(("ghc-cereal" ,ghc-cereal) + ("ghc-tagged" ,ghc-tagged) + ("ghc-crpto-api" ,ghc-crypto-api))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/yesodweb/path-pieces") + (synopsis "Skein family of cryptographic hash functions for Haskell") + (description "@uref{(http://www.skein-hash.info, Skein} is a family of +fast secure cryptographic hash functions designed by Niels Ferguson, Stefan +Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon +Callas and Jesse Walker. + +This Haskell package uses bindings to the optimized C implementation of Skein.") + (license license:bsd-3))) -- 2.16.2