[bug#42261,2/4] gnu: Add ganeti-instance-guix.
diff mbox series

Message ID 20200708101118.3579-2-marius@gnu.org
State New
Headers show
Series
  • Add Ganeti
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Marius Bakke July 8, 2020, 10:11 a.m. UTC
* gnu/packages/virtualization.scm (ganeti-instance-guix): New public variable.
---
 gnu/packages/virtualization.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 3ef9b8470a..3e3e8e3505 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -727,6 +727,33 @@  to provide fast and simple recovery after physical failures, using
 commodity hardware.")
     (license license:bsd-2)))
 
+(define-public ganeti-instance-guix
+  (package
+    (name "ganeti-instance-guix")
+    (version "0.3.1")
+    (home-page "https://github.com/mbakke/ganeti-instance-guix")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mbakke/ganeti-instance-guix"
+                                  "/releases/download/" version
+                                  "/ganeti-instance-guix-" version ".tar.lz"))
+              (sha256
+               (base32
+                "0zvy143k7hp63nc5njbn2cvdhfcmsvqsaj0q2jzax8bibag2s2a8"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--localstatedir=/var")))
+    (native-inputs
+     `(("lzip" ,lzip)))
+    (inputs
+     `(("util-linux" ,util-linux)
+       ("qemu-img" ,qemu-minimal)))
+    (synopsis "Guix OS integration for Ganeti")
+    (description
+     "This package provides a guest OS definition for Ganeti that can
+create virtual machines using Guix and an optional configuration file.")
+    (license license:gpl3+)))
+
 (define-public libosinfo
   (package
     (name "libosinfo")