1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
3 ;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2016 Nikita <nikita@n0.is>
5 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
6 ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
7 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
9 ;;; This file is part of GNU Guix.
11 ;;; GNU Guix is free software; you can redistribute it and/or modify it
12 ;;; under the terms of the GNU General Public License as published by
13 ;;; the Free Software Foundation; either version 3 of the License, or (at
14 ;;; your option) any later version.
16 ;;; GNU Guix is distributed in the hope that it will be useful, but
17 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;;; GNU General Public License for more details.
21 ;;; You should have received a copy of the GNU General Public License
22 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24 (define-module (gnu packages haskell-crypto)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages compression)
27 #:use-module (gnu packages haskell)
28 #:use-module (gnu packages haskell-check)
29 #:use-module (gnu packages haskell-xyz)
30 #:use-module (gnu packages tls)
31 #:use-module (guix build-system haskell)
32 #:use-module (guix download)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (guix utils))
37 (define-public ghc-asn1-types
39 (name "ghc-asn1-types")
43 (uri (string-append "https://hackage.haskell.org/package/"
44 "asn1-types/asn1-types-"
48 "1a119qxhxhr0yn37r26dkydm6g5kykdkx98ghb59i4ipa6i95vkq"))))
49 (build-system haskell-build-system)
51 (list ghc-memory ghc-hourglass))
52 (home-page "https://github.com/vincenthz/hs-asn1-types")
53 (synopsis "ASN.1 types for Haskell")
55 "The package provides the standard types for dealing with the ASN.1
57 (license license:bsd-3)))
59 (define-public ghc-asn1-encoding
61 (name "ghc-asn1-encoding")
65 (uri (string-append "https://hackage.haskell.org/package/"
66 "asn1-encoding/asn1-encoding-"
70 "02nsr30h5yic1mk7znf0q4z3n560ip017n60hg7ya25rsfmxxy6r"))))
71 (build-system haskell-build-system)
73 (list ghc-hourglass ghc-asn1-types))
75 (list ghc-tasty ghc-tasty-quickcheck))
76 (home-page "https://github.com/vincenthz/hs-asn1")
77 (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
79 "This package provides a reader and writer for ASN1 data in raw form with
80 supports for high level forms of ASN1 (BER, and DER).")
81 (license license:bsd-3)))
83 (define-public ghc-asn1-parse
85 (name "ghc-asn1-parse")
89 (uri (string-append "https://hackage.haskell.org/package/"
90 "asn1-parse/asn1-parse-"
94 "17pk8y3nwv9b9i5j15qlmwi7fmq9ab2z4kfpjk2rvcrh9lsf27wg"))))
95 (build-system haskell-build-system)
97 (list ghc-asn1-types ghc-asn1-encoding))
98 (home-page "https://github.com/vincenthz/hs-asn1")
99 (synopsis "Simple monadic parser for ASN1 stream types")
101 "This package provides a simple monadic parser for ASN1 stream types,
102 when ASN1 pattern matching is not convenient.")
103 (license license:bsd-3)))
105 (define-public ghc-crypto-api
107 (name "ghc-crypto-api")
112 (uri (string-append "https://hackage.haskell.org/package/"
113 "crypto-api-" version "/"
114 "crypto-api-" version ".tar.gz"))
117 "19bsmkqkpnvh01b77pmyarx00fic15j4hvg4pzscrj4prskrx2i9"))))
118 (build-system haskell-build-system)
119 (inputs (list ghc-cereal ghc-tagged ghc-entropy))
120 (home-page "https://github.com/TomMD/crypto-api")
121 (synopsis "Provides generic interface for cryptographic operations
123 (description "This Haskell package provides a generic interface for
124 cryptographic operations (hashes, ciphers, randomness).
126 Maintainers of hash and cipher implementations are encouraged to add instances
127 for the classes defined in @code{Crypto.Classes}. @code{Crypto} users are
128 similarly encouraged to use the interfaces defined in the @code{Classes} module.
130 Any concepts or functions of general use to more than one cryptographic
131 algorithm (ex: padding) is within scope of this package.")
132 (license license:bsd-3)))
134 (define-public ghc-crypto-api-tests
136 (name "ghc-crypto-api-tests")
141 (uri (string-append "https://hackage.haskell.org/package/"
142 "crypto-api-tests-" version "/"
143 "crypto-api-tests-" version ".tar.gz"))
146 "0w3j43jdrlj28jryp18hc6q84nkl2yf4vs1hhgrsk7gb9kfyqjpl"))))
147 (build-system haskell-build-system)
148 (outputs '("out" "static" "doc"))
149 (inputs (list ghc-test-framework-quickcheck2
153 ghc-test-framework-hunit
156 (home-page "https://github.com/TomMD/crypto-api-tests")
157 (synopsis "Test framework and KATs for cryptographic operations for Haskell")
158 (description "This Haskell package provides a test framework for hash and
159 cipher operations using the crypto-api interface. Known answer tests (KATs)
160 for common cryptographic algorithms are included.")
161 (license license:bsd-3)))
163 (define-public ghc-cryptohash
165 (name "ghc-cryptohash")
171 "https://hackage.haskell.org/package/cryptohash/cryptohash-"
175 "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2"))))
176 (build-system haskell-build-system)
186 (home-page "https://github.com/vincenthz/hs-cryptohash")
187 (synopsis "Collection of cryptographic hashes in Haskell")
189 "A collection of crypto hashes, with a practical incremental and one-pass,
190 pure APIs, with performance close to the fastest implementations available in
191 other languages. The implementations are made in C with a haskell FFI wrapper
192 that hides the C implementation.")
193 (license license:bsd-3)))
195 (define-public ghc-cryptohash-md5
197 (name "ghc-cryptohash-md5")
198 (version "0.11.101.0")
202 (uri (string-append "https://hackage.haskell.org/package/"
203 "cryptohash-md5-" version "/"
204 "cryptohash-md5-" version ".tar.gz"))
207 "018g13hkmq5782i24b4518hcd926fl6x6fh5hd7b9wlxwc5dn21v"))))
208 (build-system haskell-build-system)
209 (native-inputs (list ghc-base16-bytestring ghc-puremd5 ghc-tasty
210 ghc-tasty-hunit ghc-tasty-quickcheck))
211 (home-page "https://github.com/hvr/cryptohash-md5")
212 (synopsis "MD5 implementation for Haskell")
213 (description "This Haskell package provides implementation of MD5.")
214 (license license:bsd-3)))
216 (define-public ghc-cryptohash-sha1
218 (name "ghc-cryptohash-sha1")
219 (version "0.11.100.1")
223 (uri (string-append "https://hackage.haskell.org/package/"
224 "cryptohash-sha1-" version "/"
225 "cryptohash-sha1-" version ".tar.gz"))
228 "1aqdxdhxhl9jldh951djpwxx8z7gzaqspxl7iwpl84i5ahrsyy9w"))))
229 (build-system haskell-build-system)
232 ("6" "10rpxrmqgwihmplczglwxf5q3l13z9j3kvi065z884y4dymmnkgc")
233 #:tests? #f)) ; tests require old version of ghc-hunit (0.9)
234 (native-inputs (list ghc-base16-bytestring ghc-sha ghc-tasty
235 ghc-tasty-quickcheck ghc-hunit))
236 (home-page "https://github.com/hvr/cryptohash-sha1")
237 (synopsis "SHA-1 implementation for Haskell")
238 (description "This Haskell package provides an incremental and one-pass,
239 pure API to the @uref{https://en.wikipedia.org/wiki/SHA-1, SHA-1 hash algorithm},
240 including @uref{https://en.wikipedia.org/wiki/HMAC, HMAC support}, with
241 performance close to the fastest implementations available in other languages.
243 The implementation is made in C with a haskell FFI wrapper that hides
244 the C implementation.")
245 (license license:bsd-3)))
247 (define-public ghc-cryptohash-sha256
249 (name "ghc-cryptohash-sha256")
250 (version "0.11.102.1")
254 (uri (string-append "https://hackage.haskell.org/package/"
255 "cryptohash-sha256-" version "/"
256 "cryptohash-sha256-" version ".tar.gz"))
259 "1xkb7iqplbw4fy1122p79xf1zcb7k44rl0wmfj1q06l7cdqxr9vk"))))
260 (build-system haskell-build-system)
263 ("1" "0v5ppc7r2lxbk49h1kwj4b5vyb1dw2fnppykvp5m9rm0p3vhlykr")
264 #:tests? #f)) ; TODO: tasty ==1.1.*
266 (list ghc-base16-bytestring ghc-sha ghc-tasty ghc-tasty-hunit
267 ghc-tasty-quickcheck))
268 (home-page "https://github.com/hvr/cryptohash-sha1")
269 (synopsis "SHA-256 implementation for Haskell")
270 (description "This Haskell package provides an incremental and
271 one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2,
272 SHA-256 cryptographic hash algorithm}, with performance close to the
273 fastest implementations available in other languages.
275 The implementation is made in C with a haskell FFI wrapper that hides
276 the C implementation.")
277 (license license:bsd-3)))
279 (define-public ghc-cryptonite
281 (name "ghc-cryptonite")
285 (uri (string-append "https://hackage.haskell.org/package/"
286 "cryptonite/cryptonite-"
290 "13xhp3hshb8x06bw37kp16c9jpjmgfn06nkj9drz745fv8f04fnq"))))
291 (build-system haskell-build-system)
292 ;; FIXME: tests are broken.
293 ;; See https://github.com/haskell-crypto/cryptonite/issues/260
294 (arguments '(#:tests? #f))
295 (outputs '("out" "static" "doc"))
297 (list ghc-basement ghc-memory ghc-byteable))
299 (list ghc-tasty ghc-tasty-quickcheck ghc-tasty-hunit ghc-tasty-kat))
300 (home-page "https://github.com/haskell-crypto/cryptonite")
301 (synopsis "Cryptography primitives")
303 "This package is a repository of cryptographic primitives for Haskell.
304 It supports a wide range of symmetric ciphers, cryptographic hash functions,
305 public key algorithms, key derivation numbers, cryptographic random number
306 generators, and more.")
307 (license license:bsd-3)))
309 (define-public ghc-digest
317 "https://hackage.haskell.org/package/digest/digest-"
322 "1l5383l5pvp018rj3vabrppnzcqrr2g0dvgvmsrbjdn02wzab5jm"))))
323 (build-system haskell-build-system)
325 `(#:extra-directories ("zlib")))
329 "https://hackage.haskell.org/package/digest")
331 "Various cryptographic hashes for bytestrings")
333 "This package provides efficient cryptographic hash implementations for
334 strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they
335 are implemented as FFI bindings to efficient code from zlib.")
336 (license license:bsd-3)))
338 (define-public ghc-entropy
345 (uri (string-append "https://hackage.haskell.org/package/"
346 "entropy-" version "/"
347 "entropy-" version ".tar.gz"))
349 (base32 "0qmzz0zgad13zl0kjrxz6cxg8ckn2w8saas2a2j72vbafpzmkixd"))))
350 (build-system haskell-build-system)
351 (home-page "https://github.com/TomMD/entropy")
352 (synopsis "Provides platform independent entropy source for Haskell")
353 (description "This Haskell package provides a platform independent method
354 to obtain cryptographically strong entropy.")
355 (license license:bsd-3)))
357 (define-public ghc-pem
363 (uri (string-append "https://hackage.haskell.org/package/"
364 "pem/pem-" version ".tar.gz"))
367 "1m7qjsxrd8m88cvkqmr8kscril500j2a9y0iynvksjyjkhdlq33p"))))
368 (build-system haskell-build-system)
370 (list ghc-basement ghc-memory))
372 (list ghc-test-framework ghc-test-framework-quickcheck2
373 ghc-test-framework-hunit ghc-hunit ghc-quickcheck))
374 (home-page "https://github.com/vincenthz/hs-pem")
375 (synopsis "Privacy Enhanced Mail (PEM) format reader and writer")
377 "This library provides readers and writers for the @dfn{Privacy Enhanced
378 Mail} (PEM) format.")
379 (license license:bsd-3)))
381 (define-public ghc-puremd5
388 (uri (string-append "https://hackage.haskell.org/package/"
389 "pureMD5-" version "/"
390 "pureMD5-" version ".tar.gz"))
393 "0qwkvxwi9wh6knn69rg2hvc8ngmv1if77kmpcnp0xqr0l30fwavq"))))
394 (build-system haskell-build-system)
395 (inputs (list ghc-cereal ghc-crypto-api ghc-tagged))
396 (native-inputs (list ghc-crypto-api-tests ghc-quickcheck
397 ghc-test-framework ghc-test-framework-quickcheck2
399 (home-page "https://github.com/TomMD/pureMD5")
400 (synopsis "Haskell implementation of the MD5 hash algorithm")
401 (description "This package provides a Haskell-only implementation of
402 the MD5 digest (hash) algorithm. This now supports the @code{crypto-api} class
404 (license license:bsd-3)))
406 (define-public ghc-sha
412 (uri (string-append "https://hackage.haskell.org/package/"
413 "SHA/SHA-" version ".tar.gz"))
416 "0i4b2wjisivdy72synal711ywhx05mfqfba5n65rk8qidggm1nbb"))))
417 (build-system haskell-build-system)
419 (list ghc-quickcheck ghc-test-framework
420 ghc-test-framework-quickcheck2))
421 (home-page "https://hackage.haskell.org/package/SHA")
422 (synopsis "SHA suite of message digest functions")
424 "This library implements the SHA suite of message digest functions,
425 according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the
426 SHA-based HMAC routines. The functions have been tested against most of the
427 NIST and RFC test vectors for the various functions. While some attention has
428 been paid to performance, these do not presently reach the speed of well-tuned
429 libraries, like OpenSSL.")
430 (license license:bsd-3)))
432 (define-public ghc-x509
438 (uri (string-append "https://hackage.haskell.org/package/"
439 "x509/x509-" version ".tar.gz"))
442 "1j67c35g8334jx7x32hh6awhr43dplp0qwal5gnlkmx09axzrc5i"))))
443 (build-system haskell-build-system)
453 (list ghc-tasty ghc-tasty-quickcheck))
454 (home-page "https://github.com/vincenthz/hs-certificate")
455 (synopsis "X509 reader and writer")
457 "This library provides functions to read and write X509 certificates.")
458 (license license:bsd-3)))
460 (define-public ghc-x509-store
462 (name "ghc-x509-store")
466 (uri (string-append "https://hackage.haskell.org/package/"
467 "x509-store/x509-store-"
471 "1y8yyr1i95jkllg8k0z54k5v4vachp848clc07m33xpxidn3b1lp"))))
472 (build-system haskell-build-system)
474 (list ghc-pem ghc-asn1-types ghc-asn1-encoding ghc-cryptonite
477 (list ghc-tasty ghc-tasty-hunit))
478 (home-page "https://github.com/vincenthz/hs-certificate")
479 (synopsis "X.509 collection accessing and storing methods")
481 "This package provides functions for accessing and storing X.509
482 collections, certificates, revocation lists, and exception lists.")
483 (license license:bsd-3)))
485 (define-public ghc-x509-validation
487 (name "ghc-x509-validation")
491 (uri (string-append "https://hackage.haskell.org/package/"
492 "x509-validation/x509-validation-"
496 "16yihzljql3z8w5rgdl95fv3hgk7yd86kbl9b3glllsark5j2hzr"))))
497 (build-system haskell-build-system)
502 ghc-data-default-class
510 (list ghc-tasty ghc-tasty-hunit))
511 (home-page "https://github.com/vincenthz/hs-certificate")
512 (synopsis "X.509 certificate and revocation list validation")
514 "This package provides functions for X.509 certificate and revocation
516 (license license:bsd-3)))
518 (define-public ghc-x509-system
520 (name "ghc-x509-system")
524 (uri (string-append "https://hackage.haskell.org/package/"
525 "x509-system/x509-system-"
529 "06a4m9c7vlr9nhp9gmqbb46arf0yj1dkdm4nip03hzy67spdmp20"))))
530 (build-system haskell-build-system)
532 (list ghc-pem ghc-x509 ghc-x509-store))
533 (home-page "https://github.com/vincenthz/hs-certificate")
534 (synopsis "Handle system X.509 accessors and storage")
536 "This package provides a library to handle system accessors and storage
537 for X.509 certificates.")
538 (license license:bsd-3)))
540 (define-public ghc-crypto-cipher-types
542 (name "ghc-crypto-cipher-types")
547 (uri (string-append "https://hackage.haskell.org/package/"
548 "crypto-cipher-types-" version "/"
549 "crypto-cipher-types-" version ".tar.gz"))
552 "03qa1i1kj07pfrxsi7fiaqnnd0vi94jd4jfswbmnm4gp1nvzcwr0"))))
553 (build-system haskell-build-system)
554 (inputs (list ghc-byteable ghc-securemem))
555 (home-page "https://github.com/vincenthz/hs-crypto-cipher")
556 (synopsis "Generic cryptography cipher types for Haskell")
557 (description "This Haskell package provides basic typeclasses and types
558 for symmetric ciphers.")
559 (license license:bsd-3)))
561 (define-public ghc-cipher-aes
563 (name "ghc-cipher-aes")
568 (uri (string-append "https://hackage.haskell.org/package/"
569 "cipher-aes-" version "/"
570 "cipher-aes-" version ".tar.gz"))
573 "05ahz6kjq0fl1w66gpiqy0vndli5yx1pbsbw9ni3viwqas4p3cfk"))))
574 (build-system haskell-build-system)
575 (inputs (list ghc-byteable ghc-securemem ghc-crypto-cipher-types))
576 (native-inputs (list ghc-quickcheck ghc-test-framework
577 ghc-test-framework-quickcheck2
578 ghc-crypto-cipher-tests))
579 (home-page "https://github.com/vincenthz/hs-cipher-aes")
580 (synopsis "AES cipher implementation with advanced mode of operations for
582 (description "This Haskell package provides AES cipher implementation.
584 The modes of operations available are ECB (Electronic code book), CBC (Cipher
585 block chaining), CTR (Counter), XTS (XEX with ciphertext stealing),
586 GCM (Galois Counter Mode).
588 The AES implementation uses AES-NI when available (on x86 and x86-64
589 architecture), but fallback gracefully to a software C implementation.
591 The software implementation uses S-Boxes, which might suffer for cache timing
592 issues. However do notes that most other known software implementations,
593 including very popular one (openssl, gnutls) also uses similar
594 implementation. If it matters for your case, you should make sure you have
595 AES-NI available, or you'll need to use a different implementation.")
596 (license license:bsd-3)))
598 (define-public ghc-crypto-random
600 (name "ghc-crypto-random")
605 (uri (string-append "https://hackage.haskell.org/package/"
606 "crypto-random-" version "/"
607 "crypto-random-" version ".tar.gz"))
610 "0139kbbb2h7vshf68y3fvjda29lhj7jjwl4vq78w4y8k8hc7l2hp"))))
611 (build-system haskell-build-system)
612 (inputs (list ghc-securemem ghc-vector))
613 (home-page "https://github.com/vincenthz/hs-crypto-random")
614 (synopsis "Simple cryptographic random related types for Haskell")
615 (description "Simple cryptographic random related types: a safe
616 abstraction for CPRNGs.")
617 (license license:bsd-3)))
619 (define-public ghc-cprng-aes
621 (name "ghc-cprng-aes")
626 (uri (string-append "https://hackage.haskell.org/package/"
627 "cprng-aes-" version "/"
628 "cprng-aes-" version ".tar.gz"))
631 "1wr15kbmk1g3l8a75n0iwbzqg24ixv78slwzwb2q6rlcvq0jlnb4"))))
632 (build-system haskell-build-system)
633 (inputs (list ghc-byteable ghc-crypto-random ghc-cipher-aes))
634 (home-page "https://github.com/vincenthz/hs-cprng-aes")
635 (synopsis "Crypto Pseudo Random Number Generator using AES in counter mode
637 (description "Simple crypto pseudo-random-number-generator with really
638 good randomness property.
640 Using ent, a randomness property maker on one 1Mb sample:
643 @item Entropy = 7.999837 bits per byte.
644 @item Optimum compression would reduce the size of this 1048576 byte file by 0
646 @item Chi square distribution for 1048576 samples is 237.02.
647 @item Arithmbetic mean value of data bytes is 127.3422 (127.5 = random).
648 @item Monte Carlo value for Pi is 3.143589568 (error 0.06 percent).
651 Compared to urandom with the same sampling:
654 @item Entropy = 7.999831 bits per byte.
655 @item Optimum compression would reduce the size of this 1048576 byte file by 0
657 @item Chi square distribution for 1048576 samples is 246.63.
658 @item Arithmetic mean value of data bytes is 127.6347 (127.5 = random).
659 @item Monte Carlo value for Pi is 3.132465868 (error 0.29 percent).
661 (license license:bsd-3)))
663 (define-public ghc-ed25519
671 "https://hackage.haskell.org/package/ed25519/ed25519-"
675 "0v8msqvgzimhs7p5ri25hrb1ni2wvisl5rmdxy89fc59py79b9fq"))))
676 (build-system haskell-build-system)
679 ("3" "1yidh86ymzwmp2b449pwim6vvfcs1qgkkncbixw1zmb7wj6v167v")
680 ;; We omit these test suites because they require old versions of
681 ;; packages and packages we do not have.
683 '("--flags=-test-hlint -test-doctests -test-properties")))
684 (home-page "http://thoughtpolice.github.com/hs-ed25519")
685 (synopsis "Ed25519 cryptographic signatures")
686 (description "This package provides a simple, fast, self-contained
687 copy of the Ed25519 public-key signature system with a clean interface.
688 It also includes support for detached signatures, and thorough
689 documentation on the design and implementation, including usage
691 (license license:expat)))
693 (define-public ghc-tls
699 (uri (string-append "https://hackage.haskell.org/package/"
700 "tls/tls-" version ".tar.gz"))
703 "0j1rxxq5lzs584nk19610mk7mmsqqkgfxw2qj74ibb1zsk7baj4a"))))
704 (build-system haskell-build-system)
707 ghc-data-default-class
719 (list ghc-tasty ghc-tasty-quickcheck ghc-quickcheck))
720 (home-page "https://github.com/vincenthz/hs-tls")
722 "TLS/SSL protocol native implementation (Server and Client)")
724 "Native Haskell TLS and SSL protocol implementation for server and client.
725 This provides a high-level implementation of a sensitive security protocol,
726 eliminating a common set of security issues through the use of the advanced
727 type system, high level constructions and common Haskell features. Currently
728 implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
729 Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
731 (license license:bsd-3)))
733 (define-public ghc-hsopenssl
735 (name "ghc-hsopenssl")
740 (uri (string-append "https://hackage.haskell.org/package/"
741 "HsOpenSSL/HsOpenSSL-" version ".tar.gz"))
744 "0ysdfl8ck3nzhx597fa13dqf31jq5gzwajlak6r91jajks9w0dl5"))))
745 (build-system haskell-build-system)
747 `(#:extra-directories ("openssl")))
749 (list ghc-network openssl))
750 (home-page "https://github.com/vshabanov/HsOpenSSL")
751 (synopsis "Partial OpenSSL binding for Haskell")
752 (description "HsOpenSSL is an OpenSSL binding for Haskell. It can
753 generate RSA and DSA keys, read and write PEM files, generate message
754 digests, sign and verify messages, encrypt and decrypt messages. It has
755 also some capabilities of creating SSL clients and servers. This
756 package is in production use by a number of Haskell based systems and
757 stable. You may also be interested in the tls package,
758 @uref{http://hackage.haskell.org/package/tls}, which is a pure Haskell
759 implementation of SSL.")
760 (license license:public-domain)))
762 (define-public ghc-openssl-streams
764 (name "ghc-openssl-streams")
769 (uri (string-append "https://hackage.haskell.org/package/"
770 "openssl-streams/openssl-streams-"
774 "10pnnpzgb5xr811kc9qdk7h2cgn6hk2yiyhnzz8f8p0fjzc0pwjm"))))
775 (build-system haskell-build-system)
777 (list ghc-hsopenssl ghc-io-streams ghc-network))
779 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
780 (home-page "https://hackage.haskell.org/package/openssl-streams")
781 (synopsis "OpenSSL network support for io-streams")
782 (description "This library contains io-streams routines for secure
783 networking using OpenSSL (by way of HsOpenSSL).")
784 (license license:bsd-3)))
786 (define-public ghc-cryptonite-conduit
788 (name "ghc-cryptonite-conduit")
793 (uri (string-append "https://hackage.haskell.org/package/"
794 "cryptonite-conduit/cryptonite-conduit-"
798 "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh"))))
799 (build-system haskell-build-system)
808 (list ghc-conduit-combinators ghc-tasty ghc-tasty-hunit
809 ghc-tasty-quickcheck))
812 ("1" "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz")))
813 (home-page "https://github.com/haskell-crypto/cryptonite-conduit")
814 (synopsis "Cryptonite bridge for conduit")
815 (description "This package provides conduit interfaces for some of
816 cryptonite's implementations of cryptographic primitives.")
817 (license license:bsd-3)))