unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47519] [PATCH] gnu: Add galera.
@ 2021-03-31 10:40 david larsson
  2021-04-08 21:27 ` bug#47519: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: david larsson @ 2021-03-31 10:40 UTC (permalink / raw)
  To: 47519

[-- Attachment #1: Type: text/plain, Size: 2004 bytes --]

 From 6df0f4b43623689ba7e954174c775d37cc1f5f04 Mon Sep 17 00:00:00 2001
 From: methuselah-0 <david.larsson@selfhosted.xyz>
Date: Wed, 31 Mar 2021 12:38:50 +0200
Subject: [PATCH] gnu: Add galera.

* gnu/packages/databases.scm (galera): New variable.
---
  gnu/packages/databases.scm | 25 +++++++++++++++++++++++++
  1 file changed, 25 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 130e94d535..c76daf5e70 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -48,6 +48,7 @@
  ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
  ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
  ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -1002,6 +1003,30 @@ as a drop-in replacement of MySQL.")
  developed in C/C++ to MariaDB and MySQL databases.")
      (license license:lgpl2.1+)))

+(define-public galera
+  (package
+    (name "galera")
+    (version "26.4.7")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (commit "bac8171266cb982fe013ce496d78085438c6f23e")
+                    (url "https://github.com/codership/galera.git")
+                    (recursive? #t)))
+              (sha256
+               (base32 
"0h7s670pcasq8wzprhyxqfca2cghi62b8xz2kikb2a86wd453qil"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("check" ,check)
+       ("boost" ,boost)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://github.com/codership/galera/")
+    (synopsis "Extension to the MariaDB database server")
+    (description
+     "Galera is a wsrep-provider that is used with MariaDB for 
load-balancing and HA.")
+    (license license:gpl2)))
+
  ;; Don't forget to update the other postgresql packages when upgrading 
this one.
  (define-public postgresql-13
    (package
-- 
2.30.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-galera.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-galera.patch, Size: 1987 bytes --]

From 6df0f4b43623689ba7e954174c775d37cc1f5f04 Mon Sep 17 00:00:00 2001
From: methuselah-0 <david.larsson@selfhosted.xyz>
Date: Wed, 31 Mar 2021 12:38:50 +0200
Subject: [PATCH] gnu: Add galera.

* gnu/packages/databases.scm (galera): New variable.
---
 gnu/packages/databases.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 130e94d535..c76daf5e70 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1002,6 +1003,30 @@ as a drop-in replacement of MySQL.")
 developed in C/C++ to MariaDB and MySQL databases.")
     (license license:lgpl2.1+)))
 
+(define-public galera
+  (package
+    (name "galera")
+    (version "26.4.7")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (commit "bac8171266cb982fe013ce496d78085438c6f23e")
+                    (url "https://github.com/codership/galera.git")
+                    (recursive? #t)))
+              (sha256
+               (base32 "0h7s670pcasq8wzprhyxqfca2cghi62b8xz2kikb2a86wd453qil"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("check" ,check)
+       ("boost" ,boost)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://github.com/codership/galera/")
+    (synopsis "Extension to the MariaDB database server")
+    (description
+     "Galera is a wsrep-provider that is used with MariaDB for load-balancing and HA.")
+    (license license:gpl2)))
+
 ;; Don't forget to update the other postgresql packages when upgrading this one.
 (define-public postgresql-13
   (package
-- 
2.30.2


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

end of thread, other threads:[~2021-04-08 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 10:40 [bug#47519] [PATCH] gnu: Add galera david larsson
2021-04-08 21:27 ` bug#47519: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).