diffoscope: 183 -> 185
ChangeLog: https://diffoscope.org/news/diffoscope-184-released/ ChangeLog: https://diffoscope.org/news/diffoscope-185-released/
This commit is contained in:
parent
6eae8a1160
commit
589e03f109
2 changed files with 21 additions and 2 deletions
|
@ -9,17 +9,22 @@
|
||||||
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "diffoscope";
|
pname = "diffoscope";
|
||||||
version = "183";
|
version = "185";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||||
sha256 = "sha256-XFFrRmCpE2UvZRCELfPaotLklyjLiCDWkyFWkISOHZM=";
|
sha256 = "sha256-Spw7/+vQ1jd3rMZ792du04di0zleRNp8LUEki1374O8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./ignore_links.patch
|
./ignore_links.patch
|
||||||
|
|
||||||
|
# due to https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/953a599c2b903298b038b34abf515cea69f4fc19
|
||||||
|
# the version detection of LLVM is broken and the comparison result is compared against
|
||||||
|
# the expected result from LLVM 10 (rather than 7 which is our default).
|
||||||
|
./fix-tests.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
14
pkgs/tools/misc/diffoscope/fix-tests.patch
Normal file
14
pkgs/tools/misc/diffoscope/fix-tests.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
diff --git a/tests/comparators/test_rlib.py b/tests/comparators/test_rlib.py
|
||||||
|
index 8d201ab..05960aa 100644
|
||||||
|
--- a/tests/comparators/test_rlib.py
|
||||||
|
+++ b/tests/comparators/test_rlib.py
|
||||||
|
@@ -81,9 +81,6 @@ def rlib_dis_expected_diff():
|
||||||
|
if actual_ver >= "7.0":
|
||||||
|
diff_file = "rlib_llvm_dis_expected_diff_7"
|
||||||
|
|
||||||
|
- if actual_ver >= "10.0":
|
||||||
|
- diff_file = "rlib_llvm_dis_expected_diff_10"
|
||||||
|
-
|
||||||
|
return get_data(diff_file)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue