summary refs log tree commit diff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-06-21 07:33:35 -0700
committerLudovic Courtès <ludo@gnu.org>2023-10-21 00:27:25 +0200
commitfb35aba10841b5d8f802cebebc8c4810698190a2 (patch)
treeaee38d7e88611ad89ab050e1fffb9114281aa75d
parente011961f99e3cab8ff1972de2b4659e972bb00a0 (diff)
downloadguix-fb35aba10841b5d8f802cebebc8c4810698190a2.tar.gz
gnu: Add tigerbeetle.
* gnu/packages/zig-xyz.scm (tigerbeetle): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/zig-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index fd42c21638..f85fde343e 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2022 Maya Tomasek <maya.tomasek@disroot.org>
+;;; Copyright © 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,11 +22,36 @@
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system zig)
   #:use-module (guix gexp)
   #:use-module (gnu packages)
   #:use-module (gnu packages zig)
   #:use-module (gnu packages python))
 
+(define-public tigerbeetle
+  (package
+    (name "tigerbeetle")
+    (version "0.13.35")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tigerbeetledb/tigerbeetle")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x8msknvq8s6vnlczq5fxmaiqvig2sbcv60c3x8zbgr28dsqpmll"))))
+    (build-system zig-build-system)
+    (arguments
+     (list
+      #:zig zig-0.9
+      #:zig-release-type "safe"))
+    (synopsis "Distributed financial accounting database")
+    (description "TigerBeetle is a financial accounting database designed for
+mission-critical safety and performance for financial services.")
+    (home-page "https://github.com/tigerbeetledb/tigerbeetle")
+    (license license:asl2.0)))
+
 (define-public zig-zls
   (package
     (name "zig-zls")