summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-05-29 16:35:12 -0500
committerEric Bavier <bavier@member.fsf.org>2014-05-30 12:36:27 -0500
commit2d762953ba25fd2515df65cf9ad8fb1fb5876d73 (patch)
tree016ceea1d4889983eb31aaecb3a9c8705f33cde5 /gnu
parent411fc81d6382c23afcd1492d61f1ddb3001b63f0 (diff)
gnu: Add hdup.
* gnu/packages/backup.scm (hdup): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/backup.scm43
1 files changed, 42 insertions, 1 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 574bb11816f..1013737b4a5 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -20,11 +20,18 @@
20 #:use-module (guix packages) 20 #:use-module (guix packages)
21 #:use-module (guix licenses) 21 #:use-module (guix licenses)
22 #:use-module (guix download) 22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
23 #:use-module (guix build-system python) 24 #:use-module (guix build-system python)
24 #:use-module (gnu packages) 25 #:use-module (gnu packages)
25 #:use-module (gnu packages python) 26 #:use-module (gnu packages base)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages glib)
26 #:use-module (gnu packages gnupg) 29 #:use-module (gnu packages gnupg)
30 #:use-module (gnu packages mcrypt)
31 #:use-module (gnu packages python)
32 #:use-module (gnu packages pkg-config)
27 #:use-module (gnu packages rsync) 33 #:use-module (gnu packages rsync)
34 #:use-module (gnu packages ssh)
28 #:use-module (srfi srfi-1)) 35 #:use-module (srfi srfi-1))
29 36
30(define-public duplicity 37(define-public duplicity
@@ -69,3 +76,37 @@ parts of files that have changed since the last backup. Because duplicity
69uses GnuPG to encrypt and/or sign these archives, they will be safe from 76uses GnuPG to encrypt and/or sign these archives, they will be safe from
70spying and/or modification by the server.") 77spying and/or modification by the server.")
71 (license gpl2+))) 78 (license gpl2+)))
79
80(define-public hdup
81 (package
82 (name "hdup")
83 (version "2.0.14")
84 (source
85 (origin
86 (method url-fetch)
87 ;; Source tarballs are not versioned
88 (uri "http://archive.miek.nl/projects/hdup2/hdup.tar.bz2")
89 (sha256
90 (base32
91 "02bnczg01cyhajmm4rhbnc0ja0dd9ikv9fwv28asxh1rlx9yr0b7"))))
92 (build-system gnu-build-system)
93 (native-inputs `(("pkg-config" ,pkg-config)))
94 (inputs
95 `(("glib" ,glib)
96 ("tar" ,tar)
97 ("lzop" ,lzop)
98 ("mcrypt" ,mcrypt)
99 ("openssh" ,openssh)
100 ("gnupg" ,gnupg-1)))
101 (arguments
102 `(#:configure-flags
103 `(,(string-append "--sbindir=" (assoc-ref %outputs "out") "/bin"))
104 #:tests? #f))
105 (home-page "http://archive.miek.nl/projects/hdup/index.html")
106 (synopsis "Simple incremental backup tool")
107 (description
108 "Hdup2 is a backup utilty, its aim is to make backup really simple. The
109backup scheduling is done by means of a cron job. It supports an
110include/exclude mechanism, remote backups, encrypted backups and split
111backups (called chunks) to allow easy burning to CD/DVD.")
112 (license gpl2)))