guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 17b5ad0d417335f253de020896d8aeb57960e8ea
Author: Zheng Junjie <[email protected]>
AuthorDate: Thu Jul 10 19:58:39 2025 +0800

    gnu: dfu-programmer: Update to 1.1.0.
    
    * gnu/packages/flashing-tools.scm (dfu-programmer): Update to 1.1.0.
    [source]: Switch to git-fetch.
    [native-inputs]: Add autoconf and automake.
    
    Change-Id: Ib8cd7c1734fa36def23ccdba669b285871182f51
---
 gnu/packages/flashing-tools.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 2ea3fcdd1f..8751ef372a 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -179,19 +179,20 @@ technique.")
 (define-public dfu-programmer
   (package
     (name "dfu-programmer")
-    (version "0.7.2")
+    (version "1.1.0")
     (source
      (origin
-      (method url-fetch)
-      (uri (string-append "mirror://sourceforge/dfu-programmer/dfu-programmer/"
-                          version "/dfu-programmer-" version ".tar.gz"))
-      (sha256
-       (base32
-        "15gr99y1z9vbvhrkd25zqhnzhg6zjmaam3vfjzf2mazd39mx7d0x"))
-      (patches (search-patches "dfu-programmer-fix-libusb.patch"))))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/dfu-programmer/dfu-programmer";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1y9ayl97qdy36bmlcf5vrg85jn72pgx7blgxd1albk79r87q2632"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list pkg-config))
+     (list autoconf automake pkg-config))
     (inputs
      (list libusb))
     (home-page "https://dfu-programmer.github.io/";)

Reply via email to