[PATCH 1/1] gnu: Add Borg backup program.
Leo Famulari
leo at famulari.name
Thu Sep 17 21:12:02 EDT 2015
* gnu/packages/backup.scm (borg): New variable.
---
gnu/packages/backup.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 84d27c0..5363bef 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -352,3 +352,40 @@ deduplication technique used makes Attic suitable for daily backups since only
changes are stored.")
(home-page "https://attic-backup.org/")
(license license:bsd-3)))
+
+(define-public borg
+ (package
+ (name "borg")
+ (version "0.25.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/b/borgbackup/"
+ "borgbackup-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q5dbrya6bwbbmhyg0yxj81h1frsbjdwqml3s8n30ff4f0z5p77q"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'build 'set-openssl-prefix
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "BORG_OPENSSL_PREFIX" (assoc-ref inputs "openssl"))
+ #t)))))
+ (inputs
+ `(("acl" ,acl)
+ ("lz4" ,lz4)
+ ("openssl" ,openssl)
+ ("python-llfuse" ,python-llfuse)
+ ("python-msgpack" ,python-msgpack)))
+ (synopsis "Deduplicated, encrypted, authenticated and compressed backups")
+ (description "Borg is a deduplicating backup program. Optionally, it
+supports compression and authenticated encryption. The main goal of Borg is to
+provide an efficient and secure way to backup data. The data deduplication
+technique used makes Borg suitable for daily backups since only changes are
+stored. The authenticated encryption technique makes it suitable for backups
+to not fully trusted targets.")
+ (home-page "https://borgbackup.github.io/borgbackup/")
+ (license license:bsd-3)))
--
2.4.3
More information about the Borgbackup
mailing list