[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession.
From: |
rsiddharth |
Subject: |
[bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession. |
Date: |
Wed, 21 Mar 2018 03:44:52 +0000 |
* gnu/packages/haskell-web.scm (ghc-clientsession): New variable.
---
gnu/packages/haskell-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 04d4bd24c..8af115ff4 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -953,3 +953,38 @@ Callas and Jesse Walker.
This Haskell package uses bindings to the optimized C implementation of
Skein.")
(license license:bsd-3)))
+
+(define-public ghc-clientsession
+ (package
+ (name "ghc-clientsession")
+ (version "0.9.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "clientsession-" version "/"
+ "clientsession-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-cereal" ,ghc-cereal)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-crypto-api" ,ghc-crypto-api)
+ ("ghc-skein" ,ghc-skein)
+ ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+ ("ghc-entropy" ,ghc-entropy)
+ ("ghc-cprng-aes" ,ghc-cprng-aes)
+ ("ghc-cipher-aes" ,ghc-cipher-aes)
+ ("ghc-crypto-random" ,ghc-crypto-random)
+ ("ghc-setenv" ,ghc-setenv)))
+ (native-inputs `(("ghc-hunit" ,ghc-hunit)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/yesodweb/clientsession/tree/master")
+ (synopsis "Haskell library for securely store session data in a
+client-side cookie")
+ (description "This Haskell package achieves security through AES-CTR
+encryption and Skein-MAC-512-256 authentication. Uses Base64 encoding to
+avoid any issues with characters.")
+ (license license:expat)))
--
2.16.2
- [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession.,
rsiddharth <=
- [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 07/37] gnu: Add ghc-skein., rsiddharth, 2018/03/20