summaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2017-12-05 08:19:21 +0100
committerLeo Famulari <leo@famulari.name>2017-12-08 13:59:12 -0500
commitf46a3523de7e4816a340e48eaba68f11361beec8 (patch)
treee57ea14b79697f893ee906ff716a8a501eb81463 /gnu/packages/virtualization.scm
parent0ea2364f56b590fd59183d8783c5b03910725d89 (diff)
downloadpatches-f46a3523de7e4816a340e48eaba68f11361beec8.tar
patches-f46a3523de7e4816a340e48eaba68f11361beec8.tar.gz
gnu: Add qmpbackup.
* gnu/packages/virtualization.scm (qmpbackup): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r--gnu/packages/virtualization.scm24
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index d9fae08b25..85563dde6f 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -62,7 +62,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix download)
- #:use-module ((guix licenses) #:select (gpl2 gpl2+ lgpl2.1 lgpl2.1+))
+ #:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ lgpl2.1 lgpl2.1+))
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
@@ -687,3 +687,25 @@ mainly implemented in user space.")
;; The project is licensed under GPLv2; files in the lib/ directory are
;; LGPLv2.1.
(license (list gpl2 lgpl2.1))))
+
+(define-public qmpbackup
+ (package
+ (name "qmpbackup")
+ (version "0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/abbbi/qmpbackup/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "10k9mnb1yrg4gw1rvz4kw4dxc4aajl8gnjrpm3axqkg63qmxj3qn"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (home-page "https://github.com/abbbi/qmpbackup")
+ (synopsis "Backup and restore QEMU machines")
+ (description "qmpbackup is designed to create and restore full and
+incremental backups of running QEMU virtual machines via QMP, the QEMU
+Machine Protocol.")
+ (license gpl3+)))