3
0
Fork 0
forked from mirrors/nixpkgs

diffoscope: fix build, 178 -> 179

ChangeLog: https://diffoscope.org/news/diffoscope-179-released/

Also fixed the build by disabling a failing test because of
`file-v5.40`[1][2].

[1] Upstream bug: https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/271
[2] Similar to: 3f906acae3
This commit is contained in:
Maximilian Bosch 2021-07-31 18:05:27 +02:00
parent 0a505c3682
commit e17c7def69
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -9,11 +9,11 @@
# 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 = "178"; version = "179";
src = fetchurl { src = fetchurl {
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
sha256 = "sha256-uJbTQshf7vRd6EyaaV0itJVrMc/6o+pPXhtUgrjFnzM="; sha256 = "sha256-SIFLWlmENuhgwG0YbIDTWG6uCHEfuoc0IMVz4cp5NX4=";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -66,6 +66,10 @@ python3Packages.buildPythonApplication rec {
"test_diff_meta" "test_diff_meta"
"test_diff_meta2" "test_diff_meta2"
"test_obj_no_differences" "test_obj_no_differences"
# Failing because of file-v5.40 has a slightly different output.
# Upstream issue: https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/271
"test_text_proper_indentation"
]; ];
meta = with lib; { meta = with lib; {