Subject: [PATCH v2] gnu: artanis: update to 1.0.0.

From: Andy Tai <[email-masked]>
Date: Tue, 3 Dec 2024 22:33:47 -0800

* gnu/packages/guile-xyz.scm (artanis): update to 1.0.0.
[source]: Remove code removing non-existent old directories.
[arguments]<#:configure-flags>: Add aarch64 specific flag.

Change-Id: I27b38eaff75cda008ae7de3eceb84dc5b7bf01aa
---
 gnu/packages/guile-xyz.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index a21289d368..13b1f48e49 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -149,22 +149,19 @@ (define-module (gnu packages guile-xyz)
 (define-public artanis
   (package
     (name "artanis")
-    (version "0.6")
+    (version "1.0.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/artanis/artanis-"
                                   version ".tar.gz"))
               (sha256
                (base32
-                "1y4mf8vv2fwjg4z8c4d7an5rxi96sh7krk0djnafm2l66i97cj3m"))
+                "05sigqvm04x0r1gwpwrxjffb3i13bss3ff24frr477zqm54wv5d8"))
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  ;; Unbundle guile-redis and guile-json
                   (delete-file-recursively "artanis/third-party/json.scm")
-                  (delete-file-recursively "artanis/third-party/json")
                   (delete-file-recursively "artanis/third-party/redis.scm")
-                  (delete-file-recursively "artanis/third-party/redis")
                   (substitute* '("artanis/artanis.scm"
                                  "artanis/lpc.scm"
                                  "artanis/oht.scm"
@@ -201,7 +198,9 @@ (define-public artanis
            pkg-config
            util-linux))                           ;for the `script' command
     (arguments
-     `(#:modules (((guix build guile-build-system)
+     `(#:configure-flags
+       '( ,@(if (target-aarch64?) '("--build=aarch64-unknown-linux-gnu") '()))
+       #:modules (((guix build guile-build-system)
                    #:select (target-guile-effective-version))
                   ,@%default-gnu-modules)
        #:imported-modules ((guix build guile-build-system)

base-commit: 2c700af42cbb17859a7d80807fef2000cab7f8ad
-- 
2.46.0