Merge pull request #124797 from NixOS/backport-124790-to-release-21.05
[Backport release-21.05] diffoscope: 175 -> 176
This commit is contained in:
commit
eff32c3626
@ -16,11 +16,11 @@ let
|
|||||||
in
|
in
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "diffoscope";
|
pname = "diffoscope";
|
||||||
version = "175";
|
version = "176";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||||
sha256 = "sha256-ofRu5bD+kymdXdViPxfGD/2cf7lUvnEQfYAqog5GIIk=";
|
sha256 = "sha256-Hr3GNgpvKCLs+HA8QLOewh5nz9npZr5MZ65wRrat7l0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
@ -35,10 +35,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
# When generating manpage, use the installed version
|
# When generating manpage, use the installed version
|
||||||
substituteInPlace doc/Makefile --replace "../bin" "$out/bin"
|
substituteInPlace doc/Makefile --replace "../bin" "$out/bin"
|
||||||
|
|
||||||
# https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/258
|
|
||||||
substituteInPlace tests/data/mp3_expected_diff \
|
|
||||||
--replace " Stream" "Stream"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ docutils help2man installShellFiles ];
|
nativeBuildInputs = [ docutils help2man installShellFiles ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user