gnu: python: Replace input python by python-wrapper.
[jackhill/guix/guix.git] / gnu / packages / cryptsetup.scm
CommitLineData
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)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages gnupg)
27 #:use-module (gnu packages lvm)
28 #:use-module (gnu packages popt)
29 #:use-module (gnu packages python)
30 #:use-module (gnu packages linux))
31
32(define-public cryptsetup
33 (package
34 (name "cryptsetup")
35 (version "1.6.1")
36 (source (origin
37 (method url-fetch)
38 (uri (string-append "http://cryptsetup.googlecode.com/files/cryptsetup-"
39 version ".tar.bz2"))
40 (sha256
41 (base32
42 "170lalkhh2fa316d12i6r7jprm0yss3c949d91069sq37ik6xwxs"))))
43 (build-system gnu-build-system)
44 (inputs
45 `(("libgcrypt" ,libgcrypt)
46 ("lvm2" ,lvm2)
47 ("popt" ,popt)
ee3e314b 48 ("python" ,python-wrapper)
e3c5f293
AE
49 ("util-linux" ,util-linux)))
50 (synopsis "hard disk encryption tool")
51 (description
52 "LUKS (Linux Unified Key Setup)/Cryptsetup provides a standard on-disk
53encryption format, which does not only facilitate compatibility among
54distributions, but which also provides secure management of multiple user
55passwords. In contrast to existing solutions, LUKS stores all setup necessary
56setup information in the partition header, enabling the users to transport
57or migrate their data seamlessly.")
58 (license license:gpl2)
59 (home-page "http://code.google.com/p/cryptsetup/")))