From 784740aee0657a556f44fc465405a4f28401ffe0 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Tue, 21 Jan 2020 18:13:53 +0300 Subject: [PATCH] mc: 4.8.23 -> 4.8.24 --- pkgs/tools/misc/mc/default.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix index 168afc7efed..42e155fcaf2 100644 --- a/pkgs/tools/misc/mc/default.nix +++ b/pkgs/tools/misc/mc/default.nix @@ -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;