parent
ea229a26a3
commit
fb19aac85d
@ -4,17 +4,22 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mc-${version}";
|
name = "mc-${version}";
|
||||||
version = "4.8.19";
|
version = "4.8.19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.midnight-commander.org/downloads/${name}.tar.xz";
|
url = "http://www.midnight-commander.org/downloads/${name}.tar.xz";
|
||||||
sha256 = "1pzjq4nfxl2aakxipdjs5hq9n14374ly1l00s40kd2djnnxmd7pb";
|
sha256 = "1pzjq4nfxl2aakxipdjs5hq9n14374ly1l00s40kd2djnnxmd7pb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig perl glib slang zip unzip file gettext libX11 libICE
|
buildInputs = [ pkgconfig perl glib slang zip unzip file gettext libX11 libICE
|
||||||
libssh2 openssl ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs gpm ];
|
libssh2 openssl ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs gpm ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-vfs-smb" ];
|
configureFlags = [ "--enable-vfs-smb" ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# remove unwanted build-dependency references
|
||||||
|
sed -i -e "s!PKG_CONFIG_PATH=''${PKG_CONFIG_PATH}!PKG_CONFIG_PATH=$(echo "$PKG_CONFIG_PATH" | sed -e 's/./0/g')!" $out/bin/mc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "File Manager and User Shell for the GNU Project";
|
description = "File Manager and User Shell for the GNU Project";
|
||||||
homepage = http://www.midnight-commander.org;
|
homepage = http://www.midnight-commander.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user