Subject: [PATCH] gnu: heimdall: Update to 2.2.1.
From: Herman Rimm <[email-masked]>
To: [email-masked]
Date: Sat, 24 May 2025 15:18:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

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

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index e99a38ec2d7..ea112b3ffab 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -344,16 +344,16 @@ (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"
@@ -377,7 +377,8 @@ (define-public heimdall
                (install-file "libpit/libpit.a" lib)
                #t))))))
     (inputs
-     (list libusb qtbase-5 qtwayland-5 zlib))
+     (list libusb qtbase 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: 0c799ea004129c487a0aa8573d2e3e0839c84b2f
-- 
2.47.1