mc: 4.8.23 -> 4.8.24

This commit is contained in:
Izorkin 2020-01-21 18:13:53 +03:00
parent 82e27330cb
commit 784740aee0

View file

@ -19,13 +19,23 @@
stdenv.mkDerivation rec {
pname = "mc";
version = "4.8.23";
version = "4.8.24";
src = fetchurl {
url = "http://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz";
sha256 = "077z7phzq3m1sxyz7li77lyzv4rjmmh3wp2vy86pnc4387kpqzyx";
url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz";
sha256 = "0ikd2yql44p7nagmb08dmjqdwadclnvgr7ri9pmzc2s5f301r7w5";
};
preConfigure = ''
for f in \
./configure \
./config/ltmain.sh \
./m4/libtool.m4 \
; do
substituteInPlace $f --replace /usr/bin/file ${file}/bin/file
done
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
@ -58,8 +68,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "File Manager and User Shell for the GNU Project";
downloadPage = "http://www.midnight-commander.org/downloads/";
homepage = "http://www.midnight-commander.org";
downloadPage = "https://www.midnight-commander.org/downloads/";
homepage = https://www.midnight-commander.org;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sander ];
platforms = with platforms; linux ++ darwin;