From fc3f57c380846dc4ed09bce5590ac8c312cd72f6 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 10 Jul 2025 19:58:39 +0800 Subject: [PATCH] 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 5b86f60e7bedae7a35dd7aab922d210701cb727e..fa9d88b30c0598fe5b6cf94fa333ea9b4510fe10 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -180,19 +180,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/")