From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [v3 3/3] gnu: Add attic. Date: Tue, 1 Sep 2015 17:33:53 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWtAu-00069l-C9 for guix-devel@gnu.org; Tue, 01 Sep 2015 17:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWtAq-0002nE-1o for guix-devel@gnu.org; Tue, 01 Sep 2015 17:33:04 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:60468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWtAp-0002n0-Vm for guix-devel@gnu.org; Tue, 01 Sep 2015 17:33:00 -0400 Received: from localhost.localdomain (c-68-80-228-116.hsd1.pa.comcast.net [68.80.228.116]) by mail.messagingengine.com (Postfix) with ESMTPA id 37509C00028 for ; Tue, 1 Sep 2015 17:32:59 -0400 (EDT) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/backup.scm (attic): New variable. --- Changes in v3: - Fix commit message. Changes in v2: - Fix indentation. gnu/packages/backup.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 3c703ec..b1b30a0 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015 Eric Bavier ;;; Copyright © 2014 Ian Denhardt +;;; Copyright © 2015 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages acl) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages dejagnu) @@ -35,11 +37,11 @@ #:use-module (gnu packages mcrypt) #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) - #:use-module (gnu packages python) - #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages rsync) #:use-module (gnu packages ssh) + #:use-module (gnu packages tls) #:use-module (gnu packages xml)) (define-public duplicity @@ -316,3 +318,35 @@ rsync. Thus you can use rdiff-backup and ssh to securely back a hard drive up to a remote location, and only the differences will be transmitted. Finally, rdiff-backup is easy to use and settings have sensible defaults.") (license license:gpl2+))) + +(define-public attic + (package + (name "attic") + (version "0.16") + (source (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/A/Attic/Attic-" + version ".tar.gz")) + (sha256 + (base32 "0b5skd36r4c0915lwpkqg5hxm49gls9pprs1b7hc40910wlcsl36")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before + 'build 'set-openssl-prefix + (lambda* (#:key inputs #:allow-other-keys) + (setenv "ATTIC_OPENSSL_PREFIX" (assoc-ref inputs "openssl")) + #t))))) + (inputs `(("acl" ,acl) + ("openssl" ,openssl) + ("python-llfuse" ,python-llfuse) + ("python-msgpack" ,python-msgpack))) + (synopsis "Deduplicating backup program") + (description "Attic is a deduplicating backup program. The main goal of +Attic is to provide an efficient and secure way to backup data. The data +deduplication technique used makes Attic suitable for daily backups since only +changes are stored.") + (home-page "https://attic-backup.org/") + (license license:bsd-3))) -- 2.4.3