Subject: [PATCH v2] gnu: heimdall: Update to 2.2.1.

From: Herman Rimm <[email-masked]>
Date: Mon, 26 May 2025 18:52:34 +0200

* gnu/packages/flashing-tools.scm (heimdall): Update to 2.2.1.
[source]: Fetch from https://git.sr.ht/~grimler/Heimdall.
[arguments]: Set #:qtbase.
[inputs]: Remove qtbase-5.  Upgrade qtwayland-5 to qtwayland.
[native-inputs]: Add pkg-config.

Change-Id: I2b99926626b553f9f5ef50e62ae559174f9873ab
---
 gnu/packages/flashing-tools.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index e99a38ec2d7..2ea3fcdd1f6 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -344,19 +344,20 @@ (define-public rkflashtool
 (define-public heimdall
   (package
     (name "heimdall")
-    (version "1.4.2")
+    (version "2.2.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://gitlab.com/BenjaminDobell/Heimdall.git")
+                     (url "https://git.sr.ht/~grimler/Heimdall")
                      (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1ygn4snvcmi98rgldgxf5hwm7zzi1zcsihfvm6awf9s6mpcjzbqz"))))
+                "08sxn48jljrcily77g8yj89rhzwk0gjrz9lkglgrwl587x6q7sf7"))))
     (build-system qt-build-system)
     (arguments
      `(#:build-type "Release"
+       #:qtbase ,qtbase
        #:tests? #f                      ; no tests
        #:phases
        (modify-phases %standard-phases
@@ -377,7 +378,8 @@ (define-public heimdall
                (install-file "libpit/libpit.a" lib)
                #t))))))
     (inputs
-     (list libusb qtbase-5 qtwayland-5 zlib))
+     (list libusb qtwayland zlib))
+    (native-inputs (list pkg-config))
     (home-page "https://glassechidna.com.au/heimdall/")
     (synopsis "Flash firmware onto Samsung mobile devices")
     (description "@command{heimdall} is a tool suite used to flash firmware (aka

base-commit: 127f232d1dce05bb843d28bf9501fd2b7c2e64de
-- 
2.47.1