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) | |
7c80a8b6 LC |
23 | #:use-module (guix build-system gnu) |
24 | #:use-module ((gnu packages compression) #:select (lzip))) | |
034cb8e7 NK |
25 | |
26 | (define-public ddrescue | |
27 | (package | |
28 | (name "ddrescue") | |
7c80a8b6 | 29 | (version "1.17") |
034cb8e7 NK |
30 | (source |
31 | (origin | |
32 | (method url-fetch) | |
33 | (uri (string-append "mirror://gnu/ddrescue/ddrescue-" | |
7c80a8b6 | 34 | version ".tar.lz")) |
034cb8e7 NK |
35 | (sha256 |
36 | (base32 | |
7c80a8b6 | 37 | "0bvmsbzli2j4czwkabzs978n1y6vx31axh02kpgcf7033cc6rydy")))) |
034cb8e7 | 38 | (build-system gnu-build-system) |
7c80a8b6 | 39 | (home-page "http://www.gnu.org/software/ddrescue/ddrescue.html") |
f50d2669 | 40 | (synopsis "Data recovery utility") |
7c80a8b6 | 41 | (native-inputs `(("lzip" ,lzip))) |
034cb8e7 | 42 | (description |
a22dc0c4 LC |
43 | "Ddrescue is a fully automated data recovery tool. It copies data from |
44 | one file to another, working to rescue data in case of read errors. The | |
45 | program also includes a tool for manipulating its log- files, which are used | |
46 | to recover data more efficiently by only reading the necessary blocks.") | |
4a44e743 | 47 | (license gpl3+))) |