You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
2.3 KiB

  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. (define-module (gnu packages cryptsetup)
  19. #:use-module ((guix licenses)
  20. #:renamer (symbol-prefix-proc 'license:))
  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)
  26. #:use-module (gnu packages lvm)
  27. #:use-module (gnu packages popt)
  28. #:use-module (gnu packages python)
  29. #:use-module (gnu packages linux))
  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)
  45. ("popt" ,popt)
  46. ("python" ,python-wrapper)
  47. ("util-linux" ,util-linux)))
  48. (synopsis "hard disk encryption tool")
  49. (description
  50. "LUKS (Linux Unified Key Setup)/Cryptsetup provides a standard on-disk
  51. encryption format, which does not only facilitate compatibility among
  52. distributions, but which also provides secure management of multiple user
  53. passwords. In contrast to existing solutions, LUKS stores all setup necessary
  54. setup information in the partition header, enabling the users to transport
  55. or migrate their data seamlessly.")
  56. (license license:gpl2)
  57. (home-page "http://code.google.com/p/cryptsetup/")))