Commit | Line | Data |
---|---|---|
80b77646 DT |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2014 David Thompson <davet@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 | ||
19 | (define-module (gnu packages crypto) | |
20 | #:use-module (gnu packages) | |
21 | #:use-module (guix licenses) | |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system gnu)) | |
25 | ||
26 | (define-public libsodium | |
27 | (package | |
28 | (name "libsodium") | |
fddb6409 | 29 | (version "1.0.0") |
80b77646 DT |
30 | (source (origin |
31 | (method url-fetch) | |
32 | (uri (string-append | |
33 | "http://download.libsodium.org/libsodium/releases/libsodium-" | |
34 | version ".tar.gz")) | |
35 | (sha256 | |
36 | (base32 | |
fddb6409 | 37 | "19f9vf0shfp4rc4l791r6xjg06z4i8psj1zkjkm3z5b640yzxlff")))) |
80b77646 DT |
38 | (build-system gnu-build-system) |
39 | (synopsis "Portable NaCl-based crypto library") | |
40 | (description | |
35b9e423 | 41 | "Sodium is a new easy-to-use high-speed software library for network |
80b77646 DT |
42 | communication, encryption, decryption, signatures, etc.") |
43 | (license isc) | |
fddb6409 | 44 | (home-page "http://libsodium.org"))) |