Commit | Line | Data |
---|---|---|
e3c5f293 AE |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> | |
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 cryptsetup) | |
b5b73a82 | 20 | #:use-module ((guix licenses) #:prefix license:) |
e3c5f293 AE |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu) | |
24 | #:use-module (gnu packages) | |
25 | #:use-module (gnu packages gnupg) | |
e3c5f293 AE |
26 | #:use-module (gnu packages popt) |
27 | #:use-module (gnu packages python) | |
28 | #:use-module (gnu packages linux)) | |
29 | ||
30 | (define-public cryptsetup | |
31 | (package | |
32 | (name "cryptsetup") | |
33 | (version "1.6.1") | |
34 | (source (origin | |
35 | (method url-fetch) | |
36 | (uri (string-append "http://cryptsetup.googlecode.com/files/cryptsetup-" | |
37 | version ".tar.bz2")) | |
38 | (sha256 | |
39 | (base32 | |
40 | "170lalkhh2fa316d12i6r7jprm0yss3c949d91069sq37ik6xwxs")))) | |
41 | (build-system gnu-build-system) | |
42 | (inputs | |
43 | `(("libgcrypt" ,libgcrypt) | |
44 | ("lvm2" ,lvm2) | |
c4c4cc05 JD |
45 | ("util-linux" ,util-linux) |
46 | ("popt" ,popt))) | |
47 | (native-inputs | |
48 | `(("python" ,python-wrapper))) | |
35b9e423 | 49 | (synopsis "Hard disk encryption tool") |
e3c5f293 AE |
50 | (description |
51 | "LUKS (Linux Unified Key Setup)/Cryptsetup provides a standard on-disk | |
52 | encryption format, which does not only facilitate compatibility among | |
53 | distributions, but which also provides secure management of multiple user | |
35b9e423 | 54 | passwords. In contrast to existing solutions, LUKS stores all setup necessary |
e3c5f293 AE |
55 | setup information in the partition header, enabling the users to transport |
56 | or migrate their data seamlessly.") | |
57 | (license license:gpl2) | |
58 | (home-page "http://code.google.com/p/cryptsetup/"))) |