1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
4 ;;; This file is part of GNU Guix.
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.
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.
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/>.
19 (define-module (gnu packages gnupg)
20 #:use-module (guix licenses)
21 #:use-module (gnu packages pth)
22 #:use-module (gnu packages readline)
23 #:use-module ((gnu packages compression)
24 #:renamer (symbol-prefix-proc 'guix:))
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix build-system gnu))
29 (define-public libgpg-error
36 (uri (string-append "mirror://gnupg/libgpg-error/libgpg-error-"
40 "0cal3jdnzdailr13qcy74grfbplbghkgr3qwk6qjjp4bass2j1jj"))))
41 (build-system gnu-build-system)
42 (home-page "http://gnupg.org")
44 "Libgpg-error, a small library that defines common error values for all GnuPG components")
46 "Libgpg-error is a small library that defines common error values
47 for all GnuPG components. Among these are GPG, GPGSM, GPGME,
48 GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard
49 Daemon and possibly more in the future.")
52 (define-public libgcrypt
59 (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
63 "1ykkh7dm0gyndz7bbpvn3agijj8xb2h02m02f42hm504c18zqqjb"))))
64 (build-system gnu-build-system)
66 `(("libgpg-error" ,libgpg-error)))
67 (home-page "http://gnupg.org/")
69 "GNU Libgcrypt, a general-pupose cryptographic library")
71 "GNU Libgcrypt is a general purpose cryptographic library based on
72 the code from GnuPG. It provides functions for all
73 cryptographic building blocks: symmetric ciphers, hash
74 algorithms, MACs, public key algorithms, large integer
75 functions, random numbers and a lot of supporting functions.")
78 (define-public libassuan
85 (uri (string-append "mirror://gnupg/libassuan/libassuan-"
89 "06xckkvxxlx7cj77803m8x58gxksap4k8yhspc5cqsy7fhinimds"))))
90 (build-system gnu-build-system)
92 `(("libgpg-error" ,libgpg-error) ("pth" ,pth)))
93 (home-page "http://gnupg.org")
95 "Libassuan, the IPC library used by GnuPG and related software")
97 "Libassuan is a small library implementing the so-called Assuan
98 protocol. This protocol is used for IPC between most newer
99 GnuPG components. Both, server and client side functions are
103 (define-public libksba
111 "mirror://gnupg/libksba/libksba-"
115 "0jwk7hm3x3g4hd7l12z3d79dy7359x7lc88dq6z7q0ixn1jwxbq9"))))
116 (build-system gnu-build-system)
118 `(("libgpg-error" ,libgpg-error)))
119 (home-page "http://www.gnupg.org")
121 "Libksba is a CMS and X.509 access library under development")
123 "KSBA (pronounced Kasbah) is a library to make X.509 certificates
124 as well as the CMS easily accessible by other applications. Both
125 specifications are building blocks of S/MIME and TLS.")
135 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
139 "08n636sfffs5qvg9ppiprvsh00q0dmdw425psg3m3nssja53m8pg"))))
140 (build-system gnu-build-system)
142 `(;; TODO: Add missing optional deps.
144 ;; ("libusb" ,libusb)
145 ;; ("openldap" ,openldap)
147 ("bzip2" ,guix:bzip2)
148 ("libassuan" ,libassuan)
149 ("libgcrypt" ,libgcrypt)
152 ("libgpg-error" ,libgpg-error)
154 ("readline" ,readline)))
155 (home-page "http://gnupg.org/")
157 "GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard")
159 "GnuPG is the GNU project's complete and free implementation of
160 the OpenPGP standard as defined by RFC4880. GnuPG allows to
161 encrypt and sign your data and communication, features a
162 versatile key managment system as well as access modules for all
163 kind of public key directories. GnuPG, also known as GPG, is a
164 command line tool with features for easy integration with other
165 applications. A wealth of frontend applications and libraries
166 are available. Version 2 of GnuPG also provides support for