summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/diffoscope.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm
index 8d3256a640c..ddebd79a4b4 100644
--- a/gnu/packages/diffoscope.scm
+++ b/gnu/packages/diffoscope.scm
@@ -79,8 +79,7 @@
79(define-public diffoscope 79(define-public diffoscope
80 (package 80 (package
81 (name "diffoscope") 81 (name "diffoscope")
82 ;; Use git snapshot to fix tests using u-boot-tools 2026.01 82 (version "312")
83 (version "311-2-ge4ec97f7")
84 (source 83 (source
85 (origin 84 (origin
86 (method git-fetch) 85 (method git-fetch)
@@ -89,12 +88,20 @@
89 (commit version))) 88 (commit version)))
90 (file-name (git-file-name name version)) 89 (file-name (git-file-name name version))
91 (sha256 90 (sha256
92 (base32 "1nk8di19r5x5jwb2jh1m7mzj109z2a2axikysijz2hm7m30wjkq7")))) 91 (base32 "0955dgphw0ajssy1x33vlw090b37wcan0zvzqyvpnjfmzdbnwz92"))))
93 (build-system pyproject-build-system) 92 (build-system pyproject-build-system)
94 (arguments 93 (arguments
95 (list 94 (list
96 #:phases 95 #:phases
97 #~(modify-phases %standard-phases 96 #~(modify-phases %standard-phases
97 ;; Switch to use 7zip, as p7zip is now a deprecated package.
98 ;; Can be dropped when updating to 313:
99 ;; https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/a826a00830420b5d76cb451d0d308f35a9b3251e
100 (add-after 'unpack 'update-to-7zip
101 (lambda _
102 (substitute* "diffoscope/external_tools.py"
103 (("p7zip")
104 "7zip"))))
98 ;; These tests are broken because our `file` package has a 105 ;; These tests are broken because our `file` package has a
99 ;; bug in berkeley-db and wasm file type detection. 106 ;; bug in berkeley-db and wasm file type detection.
100 (add-after 'unpack 'remove-broken-file-type-detection-test 107 (add-after 'unpack 'remove-broken-file-type-detection-test
@@ -220,7 +227,7 @@
220 odt2txt 227 odt2txt
221 openssh 228 openssh
222 openssl 229 openssl
223 p7zip 230 7zip
224 perl 231 perl
225 pgpdump 232 pgpdump
226 poppler 233 poppler