Merge pull request #211973 from trofi/mc-update

mc: 4.8.28 -> 4.8.29
This commit is contained in:
Sergei Trofimovich 2023-01-23 08:46:29 +00:00 committed by GitHub
commit f999d5520d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) [