mc: 4.8.28 -> 4.8.29

Changes: http://www.midnight-commander.org/wiki/NEWS-4.8.29
This commit is contained in:
Sergei Trofimovich 2023-01-21 18:28:29 +00:00
parent cf7519e5c8
commit 54626a9b52

View File

@ -16,7 +16,6 @@
, libssh2
, openssl
, coreutils
, autoreconfHook
, autoSignDarwinBinariesHook
# updater only
@ -25,23 +24,14 @@
stdenv.mkDerivation rec {
pname = "mc";
version = "4.8.28";
version = "4.8.29";
src = fetchurl {
url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz";
sha256 = "sha256-6ZTZvppxcumsSkrWIQeSH2qjEuZosFbf5bi867r1OAM=";
sha256 = "sha256-AdijuU9YGAzKW/FyV7UHjR/W/SeptcDpcOx2dUlUCtQ=";
};
patches = [
# Add support for PERL_FOR_BUILD to fix cross-compilation:
# https://midnight-commander.org/ticket/4399
(fetchurl {
url = "https://midnight-commander.org/raw-attachment/ticket/4399/0001-configure.ac-introduce-PERL_FOR_BUILD.patch";
hash = "sha256-i4cbg/pner+yPfgmP04DEIvpNDlM9YDca1TNBdhWhwI=";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook unzip ]
nativeBuildInputs = [ pkg-config unzip ]
# The preFixup hook rewrites the binary, which invaliates the code
# signature. Add the fixup hook to sign the output.
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [