mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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.
This commit is contained in:
parent
aea505a928
commit
c44667ccae
3 changed files with 43 additions and 47 deletions
|
@ -733,3 +733,46 @@ (define-public ghc-ed25519
|
||||||
documentation on the design and implementation, including usage
|
documentation on the design and implementation, including usage
|
||||||
guidelines.")
|
guidelines.")
|
||||||
(license license:expat)))
|
(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)))
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ (define-module (gnu packages haskell-web)
|
||||||
#:use-module (gnu packages haskell)
|
#:use-module (gnu packages haskell)
|
||||||
#:use-module (gnu packages haskell-check)
|
#:use-module (gnu packages haskell-check)
|
||||||
#:use-module (gnu packages haskell-crypto)
|
#:use-module (gnu packages haskell-crypto)
|
||||||
#:use-module (gnu packages tls)
|
|
||||||
#:use-module (guix build-system haskell)
|
#:use-module (guix build-system haskell)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
|
|
@ -38,7 +38,6 @@ (define-module (gnu packages tls)
|
||||||
#:use-module (guix build-system perl)
|
#:use-module (guix build-system perl)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system haskell)
|
|
||||||
#:use-module (guix build-system trivial)
|
#:use-module (guix build-system trivial)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
@ -48,9 +47,6 @@ (define-module (gnu packages tls)
|
||||||
#:use-module (gnu packages dns)
|
#:use-module (gnu packages dns)
|
||||||
#:use-module (gnu packages gawk)
|
#:use-module (gnu packages gawk)
|
||||||
#:use-module (gnu packages guile)
|
#: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 libbsd)
|
||||||
#:use-module (gnu packages libffi)
|
#:use-module (gnu packages libffi)
|
||||||
#:use-module (gnu packages libidn)
|
#:use-module (gnu packages libidn)
|
||||||
|
@ -882,48 +878,6 @@ (define-public mbedtls-for-hiawatha
|
||||||
#t)))
|
#t)))
|
||||||
,@(package-arguments mbedtls-apache)))))))
|
,@(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
|
(define-public dehydrated
|
||||||
(package
|
(package
|
||||||
(name "dehydrated")
|
(name "dehydrated")
|
||||||
|
|
Loading…
Reference in a new issue