[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 47/49] gnu: Add ghc-jose.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 47/49] gnu: Add ghc-jose. |
Date: |
Fri, 29 Nov 2019 12:37:49 +0100 |
* gnu/packages/haskell-web.scm (ghc-jose): New variable.
---
gnu/packages/haskell-web.scm | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index aca00c5aee..b38ca37e25 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1821,3 +1821,57 @@ the client.")
API specifications as well as manipulating them. The original Swagger 2.0
specification is available at http://swagger.io/specification/.")
(license license:bsd-3)))
+
+(define-public ghc-jose
+ (package
+ (name "ghc-jose")
+ (version "0.8.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/jose/jose-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "02xg8axy6whbkn0mzg1gjy6b1mhxlmsh1x7vjk1fiawvg9nwzrkl"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+ ("ghc-concise" ,ghc-concise)
+ ("ghc-cryptonite" ,ghc-cryptonite)
+ ("ghc-lens" ,ghc-lens)
+ ("ghc-memory" ,ghc-memory)
+ ("ghc-monad-time" ,ghc-monad-time)
+ ("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-safe" ,ghc-safe)
+ ("ghc-aeson" ,ghc-aeson)
+ ("ghc-unordered-containers"
+ ,ghc-unordered-containers)
+ ("ghc-network-uri" ,ghc-network-uri)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-quickcheck-instances"
+ ,ghc-quickcheck-instances)
+ ("ghc-x509" ,ghc-x509)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hspec" ,ghc-tasty-hspec)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+ (home-page
+ "https://github.com/frasertweedale/hs-jose")
+ (synopsis
+ "Javascript Object Signing and Encryption and JSON Web Token library")
+ (description
+ "An implementation of the Javascript Object Signing and Encryption (JOSE)
+and JSON Web Token (JWT; RFC 7519) formats.
+The JSON Web Signature (JWS; RFC 7515) implementation is complete.
+EdDSA signatures (RFC 8037) are supported (Ed25519 only).
+JWK Thumbprint (RFC 7638) is supported (requires /aeson/ >= 0.10).
+JSON Web Encryption (JWE; RFC 7516) is not yet implemented.
+The __ECDSA implementation is vulnerable to timing attacks__
+and should only be used for verification.")
+ (license license:asl2.0)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 16/49] gnu: Add ghc-monad-time., (continued)
- [bug#38423] [PATCH 16/49] gnu: Add ghc-monad-time., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 25/49] gnu: Add ghc-network-ip., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 46/49] gnu: Add ghc-tasty-hspec., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 29/49] gnu: Add ghc-lens-aeson., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 36/49] gnu: Add ghc-loch-th., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 45/49] gnu: Add ghc-cassava., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 37/49] gnu: Add ghc-ranged-sets., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 35/49] gnu: Add ghc-interpolatedstring-perl6., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 41/49] gnu: Add ghc-hasql-pool., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 47/49] gnu: Add ghc-jose.,
Robert Vollmert <=
- [bug#38423] [PATCH 17/49] gnu: Add ghc-bug., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 34/49] gnu: Add ghc-heredoc., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 40/49] gnu: Add ghc-hasql., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 30/49] gnu: Add ghc-placeholders., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 44/49] gnu: Add ghc-configurator-pg., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 31/49] gnu: Add ghc-binary-parser., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 26/49] gnu: Add ghc-http-media., Robert Vollmert, 2019/11/29