[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: gnu: ghc-tls: Move to haskell-crypto.scm.
From: |
guix-commits |
Subject: |
05/11: gnu: ghc-tls: Move to haskell-crypto.scm. |
Date: |
Thu, 4 Apr 2019 11:49:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c44667ccae7581cb2a18a8f25d8e867bd352194d
Author: Ludovic Courtès <address@hidden>
Date: Thu Apr 4 14:40:37 2019 +0200
gnu: ghc-tls: Move to haskell-crypto.scm.
* gnu/packages/tls.scm (ghc-tls): Move to...
* gnu/packages/haskell-crypto.scm (ghc-tls): ... here.
* gnu/packages/haskell-web.scm: Remove now unneeded import.
---
gnu/packages/haskell-crypto.scm | 43 ++++++++++++++++++++++++++++++++++++++
gnu/packages/haskell-web.scm | 1 -
gnu/packages/tls.scm | 46 -----------------------------------------
3 files changed, 43 insertions(+), 47 deletions(-)
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index 8f216a3..8d28a77 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -733,3 +733,46 @@ It also includes support for detached signatures, and
thorough
documentation on the design and implementation, including usage
guidelines.")
(license license:expat)))
+
+(define-public ghc-tls
+ (package
+ (name "ghc-tls")
+ (version "1.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "tls/tls-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1y083724mym28n6xfaz7pcc7zqxdhjpaxpbvzxfbs25qq2px3smv"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-cereal" ,ghc-cereal)
+ ("ghc-data-default-class" ,ghc-data-default-class)
+ ("ghc-memory" ,ghc-memory)
+ ("ghc-cryptonite" ,ghc-cryptonite)
+ ("ghc-asn1-types" ,ghc-asn1-types)
+ ("ghc-asn1-encoding" ,ghc-asn1-encoding)
+ ("ghc-x509" ,ghc-x509)
+ ("ghc-x509-store" ,ghc-x509-store)
+ ("ghc-x509-validation" ,ghc-x509-validation)
+ ("ghc-async" ,ghc-async)
+ ("ghc-network" ,ghc-network)
+ ("ghc-hourglass" ,ghc-hourglass)))
+ (native-inputs
+ `(("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/vincenthz/hs-tls")
+ (synopsis
+ "TLS/SSL protocol native implementation (Server and Client)")
+ (description
+ "Native Haskell TLS and SSL protocol implementation for server and client.
+This provides a high-level implementation of a sensitive security protocol,
+eliminating a common set of security issues through the use of the advanced
+type system, high level constructions and common Haskell features. Currently
+implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
+Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
+extensions.")
+ (license license:bsd-3)))
+
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 38797e6..555fee1 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -27,7 +27,6 @@
#:use-module (gnu packages haskell)
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-crypto)
- #:use-module (gnu packages tls)
#:use-module (guix build-system haskell)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index c0b92ba..3d57944 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -38,7 +38,6 @@
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system cmake)
- #:use-module (guix build-system haskell)
#:use-module (guix build-system trivial)
#:use-module (gnu packages compression)
#:use-module (gnu packages)
@@ -48,9 +47,6 @@
#:use-module (gnu packages dns)
#:use-module (gnu packages gawk)
#:use-module (gnu packages guile)
- #:use-module (gnu packages haskell)
- #:use-module (gnu packages haskell-check)
- #:use-module (gnu packages haskell-crypto)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
@@ -882,48 +878,6 @@ coding footprint.")
#t)))
,@(package-arguments mbedtls-apache)))))))
-(define-public ghc-tls
- (package
- (name "ghc-tls")
- (version "1.4.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "tls/tls-" version ".tar.gz"))
- (sha256
- (base32
- "1y083724mym28n6xfaz7pcc7zqxdhjpaxpbvzxfbs25qq2px3smv"))))
- (build-system haskell-build-system)
- (inputs
- `(("ghc-cereal" ,ghc-cereal)
- ("ghc-data-default-class" ,ghc-data-default-class)
- ("ghc-memory" ,ghc-memory)
- ("ghc-cryptonite" ,ghc-cryptonite)
- ("ghc-asn1-types" ,ghc-asn1-types)
- ("ghc-asn1-encoding" ,ghc-asn1-encoding)
- ("ghc-x509" ,ghc-x509)
- ("ghc-x509-store" ,ghc-x509-store)
- ("ghc-x509-validation" ,ghc-x509-validation)
- ("ghc-async" ,ghc-async)
- ("ghc-network" ,ghc-network)
- ("ghc-hourglass" ,ghc-hourglass)))
- (native-inputs
- `(("ghc-tasty" ,ghc-tasty)
- ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
- ("ghc-quickcheck" ,ghc-quickcheck)))
- (home-page "https://github.com/vincenthz/hs-tls")
- (synopsis
- "TLS/SSL protocol native implementation (Server and Client)")
- (description
- "Native Haskell TLS and SSL protocol implementation for server and client.
-This provides a high-level implementation of a sensitive security protocol,
-eliminating a common set of security issues through the use of the advanced
-type system, high level constructions and common Haskell features. Currently
-implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
-Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
-extensions.")
- (license license:bsd-3)))
-
(define-public dehydrated
(package
(name "dehydrated")
- branch master updated (660e0050 -> 985730c), guix-commits, 2019/04/04
- 01/11: build: Always ship the (gnu installer …) modules., guix-commits, 2019/04/04
- 03/11: gnu: java-jgit: Move to java.scm., guix-commits, 2019/04/04
- 06/11: gnu: raincat: Move to haskell-apps.scm., guix-commits, 2019/04/04
- 05/11: gnu: ghc-tls: Move to haskell-crypto.scm.,
guix-commits <=
- 11/11: scripts: More commands default to verbosity level 1., guix-commits, 2019/04/04
- 04/11: gnu: Move ghc-hxt & co. to haskell-web.scm., guix-commits, 2019/04/04
- 10/11: gexp: Remove workarounds for <https://bugs.gnu.org/15602>., guix-commits, 2019/04/04
- 09/11: gexp: 'compiled-modules' loads modules before compiling them., guix-commits, 2019/04/04
- 02/11: gnu: Add (gnu packages haskell-apps)., guix-commits, 2019/04/04
- 07/11: gnu: Mov ghc-sdl2 & co. to haskell-apps.scm., guix-commits, 2019/04/04
- 08/11: gnu: Move nss & co. to nss.scm., guix-commits, 2019/04/04