You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
3.1 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages gnutls)
  19. #:use-module (guix licenses)
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module ((gnu packages compression)
  24. #:renamer (symbol-prefix-proc 'guix:))
  25. #:use-module (gnu packages)
  26. #:use-module (gnu packages nettle)
  27. #:use-module (gnu packages guile)
  28. #:use-module (gnu packages perl)
  29. #:use-module (gnu packages which)
  30. #:use-module (gnu packages pkg-config))
  31. (define-public libtasn1
  32. (package
  33. (name "libtasn1")
  34. (version "3.3")
  35. (source
  36. (origin
  37. (method url-fetch)
  38. (uri (string-append "mirror://gnu/libtasn1/libtasn1-"
  39. version ".tar.gz"))
  40. (sha256
  41. (base32
  42. "1h1sz5py8zlg4yczybr6wa925pyadvjcxrdmhilwaqqgs4n2lrcj"))))
  43. (build-system gnu-build-system)
  44. (home-page "http://www.gnu.org/software/libtasn1/")
  45. (synopsis "ASN.1 library")
  46. (description
  47. "Libtasn1 is a library implementing the ASN.1 notation. It is used for
  48. transmitting machine-neutral encodings of data objects in computer
  49. networking, allowing for formal validation of data according to some
  50. specifications.")
  51. (license lgpl2.0+)))
  52. (define-public gnutls
  53. (package
  54. (name "gnutls")
  55. (version "3.2.4")
  56. (source (origin
  57. (method url-fetch)
  58. (uri
  59. ;; Note: Releases are no longer on ftp.gnu.org since the
  60. ;; schism (after version 3.1.5).
  61. (string-append "mirror://gnupg/gnutls/v3.2/gnutls-"
  62. version ".tar.xz"))
  63. (sha256
  64. (base32
  65. "0zvhzy87v9dfxfvmg1pl951kw55rp647cqdza8942fxq7spp158i"))))
  66. (build-system gnu-build-system)
  67. (native-inputs
  68. `(("pkg-config" ,pkg-config)))
  69. (inputs
  70. `(("guile" ,guile-2.0)
  71. ("zlib" ,guix:zlib)
  72. ("perl" ,perl)))
  73. (propagated-inputs
  74. `(("libtasn1" ,libtasn1)
  75. ("nettle" ,nettle)
  76. ("which" ,which)))
  77. (home-page "http://www.gnu.org/software/gnutls/")
  78. (synopsis "Transport layer security library")
  79. (description
  80. "GnuTLS is a secure communications library implementing the SSL, TLS
  81. and DTLS protocols. It is provided in the form of a C library to the
  82. protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other
  83. required structures.")
  84. (license lgpl2.1+)))