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:)) |
013ce67b | 26 | #:use-module (gnu packages) |
1ffa7090 LC |
27 | #:use-module (gnu packages nettle) |
28 | #:use-module (gnu packages guile) | |
29 | #:use-module (gnu packages perl) | |
a1db0975 LC |
30 | #:use-module (gnu packages which) |
31 | #:use-module (gnu packages pkg-config)) | |
7543f865 LC |
32 | |
33 | (define-public libtasn1 | |
34 | (package | |
35 | (name "libtasn1") | |
825d0ebc | 36 | (version "3.3") |
7543f865 LC |
37 | (source |
38 | (origin | |
39 | (method url-fetch) | |
40 | (uri (string-append "mirror://gnu/libtasn1/libtasn1-" | |
41 | version ".tar.gz")) | |
42 | (sha256 | |
43 | (base32 | |
825d0ebc | 44 | "1h1sz5py8zlg4yczybr6wa925pyadvjcxrdmhilwaqqgs4n2lrcj")))) |
7543f865 LC |
45 | (build-system gnu-build-system) |
46 | (home-page "http://www.gnu.org/software/libtasn1/") | |
f50d2669 | 47 | (synopsis "ASN.1 library") |
7543f865 | 48 | (description |
a22dc0c4 LC |
49 | "Libtasn1 is a library implementing the ASN.1 notation. It is used for |
50 | transmitting machine-neutral encodings of data objects in computer | |
51 | networking, allowing for formal validation of data according to some | |
52 | specifications.") | |
4a44e743 | 53 | (license lgpl2.0+))) |
7543f865 LC |
54 | |
55 | (define-public gnutls | |
56 | (package | |
57 | (name "gnutls") | |
0cb9b456 | 58 | (version "3.2.4") |
d7d408d5 LC |
59 | (source (origin |
60 | (method url-fetch) | |
61 | (uri | |
62 | ;; Note: Releases are no longer on ftp.gnu.org since the | |
63 | ;; schism (after version 3.1.5). | |
a1db0975 | 64 | (string-append "mirror://gnupg/gnutls/v3.2/gnutls-" |
d7d408d5 LC |
65 | version ".tar.xz")) |
66 | (sha256 | |
67 | (base32 | |
0cb9b456 | 68 | "0zvhzy87v9dfxfvmg1pl951kw55rp647cqdza8942fxq7spp158i")))) |
7543f865 | 69 | (build-system gnu-build-system) |
a1db0975 LC |
70 | (native-inputs |
71 | `(("pkg-config" ,pkg-config))) | |
7543f865 LC |
72 | (inputs |
73 | `(("guile" ,guile-2.0) | |
4a44e743 | 74 | ("zlib" ,guix:zlib) |
0cb9b456 | 75 | ("perl" ,perl))) |
7543f865 LC |
76 | (propagated-inputs |
77 | `(("libtasn1" ,libtasn1) | |
fa39cc0d LC |
78 | ("nettle" ,nettle) |
79 | ("which" ,which))) | |
7543f865 | 80 | (home-page "http://www.gnu.org/software/gnutls/") |
f50d2669 | 81 | (synopsis "Transport layer security library") |
7543f865 | 82 | (description |
a22dc0c4 LC |
83 | "GnuTLS is a secure communications library implementing the SSL, TLS |
84 | and DTLS protocols. It is provided in the form of a C library to the | |
85 | protocols, as well as to parse and write X.5009, PKCS 12, OpenPGP and other | |
86 | required structures.") | |
4a44e743 | 87 | (license lgpl2.1+))) |