Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
fa39cc0d | 2 | ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> |
7543f865 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
7543f865 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7543f865 LC |
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 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
7543f865 LC |
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 | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
7543f865 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages gnutls) |
4a44e743 | 20 | #:use-module (guix licenses) |
7543f865 LC |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu) | |
1ffa7090 | 24 | #:use-module ((gnu packages compression) |
4a44e743 | 25 | #:renamer (symbol-prefix-proc 'guix:)) |
1ffa7090 LC |
26 | #:use-module (gnu packages nettle) |
27 | #:use-module (gnu packages guile) | |
28 | #:use-module (gnu packages perl) | |
29 | #:use-module (gnu packages which)) | |
7543f865 LC |
30 | |
31 | (define-public libtasn1 | |
32 | (package | |
33 | (name "libtasn1") | |
a2745393 | 34 | (version "3.2") |
7543f865 LC |
35 | (source |
36 | (origin | |
37 | (method url-fetch) | |
38 | (uri (string-append "mirror://gnu/libtasn1/libtasn1-" | |
39 | version ".tar.gz")) | |
40 | (sha256 | |
41 | (base32 | |
a2745393 | 42 | "0gvgndypwicchf7m660zh7jdgmkfj9g9xavpcc08pyd0120y0bk7")))) |
7543f865 LC |
43 | (build-system gnu-build-system) |
44 | (home-page "http://www.gnu.org/software/libtasn1/") | |
45 | (synopsis "GNU Libtasn1, an ASN.1 library") | |
46 | (description | |
47 | "Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some | |
48 | other packages. The goal of this implementation is to be highly | |
49 | portable, and only require an ANSI C89 platform.") | |
4a44e743 | 50 | (license lgpl2.0+))) |
7543f865 LC |
51 | |
52 | (define-public gnutls | |
53 | (package | |
54 | (name "gnutls") | |
ea7127b9 | 55 | (version "3.1.9.1") |
d7d408d5 LC |
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.1/gnutls-" | |
62 | version ".tar.xz")) | |
63 | (sha256 | |
64 | (base32 | |
ea7127b9 | 65 | "0gkwhz7sypfy39jfj2yzrngbxq5j9l9smqc89mqlqsh25spc8009")))) |
7543f865 LC |
66 | (build-system gnu-build-system) |
67 | (inputs | |
68 | `(("guile" ,guile-2.0) | |
4a44e743 | 69 | ("zlib" ,guix:zlib) |
7543f865 LC |
70 | ("perl" ,perl))) |
71 | (propagated-inputs | |
72 | `(("libtasn1" ,libtasn1) | |
fa39cc0d LC |
73 | ("nettle" ,nettle) |
74 | ("which" ,which))) | |
7543f865 | 75 | (home-page "http://www.gnu.org/software/gnutls/") |
c3d98cad | 76 | (synopsis "The GNU Transport Layer Security Library") |
7543f865 LC |
77 | (description |
78 | "GnuTLS is a project that aims to develop a library which provides | |
79 | a secure layer, over a reliable transport layer. Currently the GnuTLS | |
80 | library implements the proposed standards by the IETF's TLS working | |
81 | group. | |
82 | ||
83 | Quoting from the TLS protocol specification: | |
84 | ||
85 | \"The TLS protocol provides communications privacy over the | |
86 | Internet. The protocol allows client/server applications to communicate | |
87 | in a way that is designed to prevent eavesdropping, tampering, or | |
88 | message forgery.\"") | |
4a44e743 | 89 | (license lgpl2.1+))) |