all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [v2 0/3] Add Attic backup program
@ 2015-09-01 21:25 Leo Famulari
  2015-09-01 21:25 ` [v2 1/3] * gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Leo Famulari @ 2015-09-01 21:25 UTC (permalink / raw)
  To: guix-devel

This revised patchset adds the Attic [1] backup program and its dependencies.

Your comments are requested!

[1] https://attic-backup.org/

Leo Famulari (3):
  * gnu/packages/python.scm (python-llfuse, python2-llfuse): New
    variables.
  * gnu/packages/python.scm (python-msgpack, python2-msgpack): New
    variables.
  * gnu/packages/backup.scm (attic): New variable.

 gnu/packages/backup.scm | 38 ++++++++++++++++++++++++++++++++--
 gnu/packages/python.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 2 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [v2 1/3] * gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables.
  2015-09-01 21:25 [v2 0/3] Add Attic backup program Leo Famulari
@ 2015-09-01 21:25 ` Leo Famulari
  2015-09-01 21:25 ` [v2 2/3] * gnu/packages/python.scm (python-msgpack, python2-msgpack): " Leo Famulari
  2015-09-01 21:25 ` [v2 3/3] * gnu/packages/backup.scm (attic): New variable Leo Famulari
  2 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2015-09-01 21:25 UTC (permalink / raw)
  To: guix-devel

---
Changes in v2:
  - Move llfuse.scm into python.scm. Rename to python-llfuse, python2-llfuse.
  - Update to new upstream version
  - Correct license field.
  - Make description more generic.
 gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 75f285f..7846c7b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,7 @@
                           isc psfl public-domain x11-style))
   #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:)
   #:use-module (gnu packages)
+  #:use-module (gnu packages attr)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages fontutils)
@@ -45,6 +47,7 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages libffi)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages networking)
@@ -4652,3 +4655,31 @@ or create documents in LilyPond format.  A command line program ly is also
 provided that can be used to do various manipulations with LilyPond files.")
     (home-page "https://pypi.python.org/pypi/python-ly")
     (license gpl2+)))
+
+(define-public python-llfuse
+  (package
+   (name "python-llfuse")
+   (version "0.41")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append
+                  "https://bitbucket.org/nikratio/python-llfuse/downloads/"
+                  "llfuse-" version ".tar.bz2"))
+            (sha256
+             (base32 "0yzy8ixpmxk00kdq6lx5vvwbs0n6s59qnja5q0js2ahbqyxiz2hb"))))
+   (build-system python-build-system)
+   (inputs `(("fuse" ,fuse)
+             ("attr" ,attr)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("python-setuptools" ,python-setuptools)))
+   (synopsis "Python bindings for FUSE")
+   (description "Python-LLFUSE is a set of Python bindings for the low level
+FUSE API.")
+   (home-page "https://bitbucket.org/nikratio/python-llfuse/")
+   ;; "Python-LLFUSE includes underscore.js, which is MIT (expat) licensed. The
+   ;; rest of the package is licensed LGPL2.0 or later."
+   (license (list license:expat lgpl2.0+))))
+
+(define-public python2-llfuse
+  (package-with-python2 python-llfuse))
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [v2 2/3] * gnu/packages/python.scm (python-msgpack, python2-msgpack): New variables.
  2015-09-01 21:25 [v2 0/3] Add Attic backup program Leo Famulari
  2015-09-01 21:25 ` [v2 1/3] * gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables Leo Famulari
@ 2015-09-01 21:25 ` Leo Famulari
  2015-09-01 21:25 ` [v2 3/3] * gnu/packages/backup.scm (attic): New variable Leo Famulari
  2 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2015-09-01 21:25 UTC (permalink / raw)
  To: guix-devel

---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7846c7b..54523b4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4683,3 +4683,27 @@ FUSE API.")
 
 (define-public python2-llfuse
   (package-with-python2 python-llfuse))
+
+(define-public python-msgpack
+  (package
+   (name "python-msgpack")
+   (version "0.4.6")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append
+                  "https://pypi.python.org/packages/source/m/msgpack-python/"
+                  "msgpack-python-" version ".tar.gz"))
+            (sha256
+             (base32 "1527c76b6fn4zzkgfq5xvhh7x9a9686g7fjiz717rw5vklf5ik5z"))))
+   (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+   (synopsis "MessagePack (de)serializer")
+   (description "MessagePack is a fast, compact binary serialization format,
+suitable for similar data to JSON.  This package provides CPython bindings for
+reading and writing MessagePack data.")
+   (home-page "https://pypi.python.org/pypi/msgpack-python/")
+   (license asl2.0)))
+
+(define-public python2-msgpack
+  (package-with-python2 python-msgpack))
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [v2 3/3] * gnu/packages/backup.scm (attic): New variable.
  2015-09-01 21:25 [v2 0/3] Add Attic backup program Leo Famulari
  2015-09-01 21:25 ` [v2 1/3] * gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables Leo Famulari
  2015-09-01 21:25 ` [v2 2/3] * gnu/packages/python.scm (python-msgpack, python2-msgpack): " Leo Famulari
@ 2015-09-01 21:25 ` Leo Famulari
  2 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2015-09-01 21:25 UTC (permalink / raw)
  To: guix-devel

---
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 <bavier@member.fsf.org>
 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
+;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-01 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 21:25 [v2 0/3] Add Attic backup program Leo Famulari
2015-09-01 21:25 ` [v2 1/3] * gnu/packages/python.scm (python-llfuse, python2-llfuse): New variables Leo Famulari
2015-09-01 21:25 ` [v2 2/3] * gnu/packages/python.scm (python-msgpack, python2-msgpack): " Leo Famulari
2015-09-01 21:25 ` [v2 3/3] * gnu/packages/backup.scm (attic): New variable Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.