Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
8f86331a | 2 | ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org> |
034cb8e7 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
034cb8e7 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
034cb8e7 NK |
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 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
034cb8e7 NK |
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 | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
034cb8e7 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages ddrescue) |
4a44e743 | 20 | #:use-module (guix licenses) |
034cb8e7 NK |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu)) | |
24 | ||
25 | (define-public ddrescue | |
26 | (package | |
27 | (name "ddrescue") | |
28 | (version "1.16") | |
29 | (source | |
30 | (origin | |
31 | (method url-fetch) | |
32 | (uri (string-append "mirror://gnu/ddrescue/ddrescue-" | |
33 | version ".tar.gz")) | |
34 | (sha256 | |
35 | (base32 | |
36 | "1rixya7p8c4jrn4p0flf6h5dqwybrilf3hrj4r7x41h3zgjz5cvn")))) | |
37 | (build-system gnu-build-system) | |
38 | (home-page | |
39 | "http://www.gnu.org/software/ddrescue/ddrescue.html") | |
8f86331a | 40 | (synopsis "GNU Ddrescue, a data recovery tool") |
034cb8e7 | 41 | (description |
8f86331a NK |
42 | "GNU Ddrescue is a data recovery tool. It copies data from one |
43 | file or block device (e.g., hard disk, CD-ROM) to another, trying hard to | |
034cb8e7 NK |
44 | rescue data in case of read errors. |
45 | ||
8f86331a | 46 | The basic operation of Ddrescue is fully automatic. That is, you don't |
034cb8e7 NK |
47 | have to wait for an error, stop the program, read the log, run it in |
48 | reverse mode, etc. | |
49 | ||
8f86331a NK |
50 | If you use the logfile feature of Ddrescue, the data is rescued very |
51 | efficiently (only the needed blocks are read). Also, you can interrupt | |
034cb8e7 NK |
52 | the rescue at any time and resume it later at the same point. |
53 | ||
54 | Automatic merging of backups: If you have two or more damaged copies of | |
8f86331a NK |
55 | a file and run Ddrescue on all of them, one at a time, with the same |
56 | output file, you will probably obtain a complete and error-free file.") | |
4a44e743 | 57 | (license gpl3+))) |