2011-08-01 03:24:14 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gpm, file, e2fsprogs
|
2016-08-30 01:38:51 -07:00
|
|
|
, libX11, libICE, perl, zip, unzip, gettext, slang, libssh2, openssl}:
|
2008-01-23 01:58:07 -08:00
|
|
|
|
2008-01-28 11:49:59 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2016-07-13 03:43:17 -07:00
|
|
|
name = "mc-${version}";
|
2016-10-04 01:04:33 -07:00
|
|
|
version = "4.8.18";
|
2011-08-01 03:24:14 -07:00
|
|
|
|
2008-01-23 01:58:07 -08:00
|
|
|
src = fetchurl {
|
2016-10-04 01:04:33 -07:00
|
|
|
url = "http://www.midnight-commander.org/downloads/${name}.tar.xz";
|
|
|
|
sha256 = "1kmysm1x7smxs9k483nin6bx1rx0av8xrqjx9yf73hc7r4anhqzp";
|
2008-01-23 01:58:07 -08:00
|
|
|
};
|
2009-09-16 10:08:33 -07:00
|
|
|
|
2016-11-20 11:27:29 -08:00
|
|
|
buildInputs = [ pkgconfig perl glib slang zip unzip file gettext libX11 libICE
|
|
|
|
libssh2 openssl ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs gpm ];
|
2016-08-30 01:38:51 -07:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-vfs-smb" ];
|
2009-09-16 10:08:33 -07:00
|
|
|
|
2008-01-28 11:49:59 -08:00
|
|
|
meta = {
|
2008-02-05 01:34:39 -08:00
|
|
|
description = "File Manager and User Shell for the GNU Project";
|
2011-08-01 03:24:14 -07:00
|
|
|
homepage = http://www.midnight-commander.org;
|
2016-10-04 01:04:33 -07:00
|
|
|
downloadPage = "http://www.midnight-commander.org/downloads/";
|
2014-04-03 00:30:47 -07:00
|
|
|
repositories.git = git://github.com/MidnightCommander/mc.git;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-08-01 03:24:14 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2016-11-20 11:27:29 -08:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2016-10-04 01:04:33 -07:00
|
|
|
updateWalker = true;
|
2008-01-28 11:49:59 -08:00
|
|
|
};
|
2008-01-23 01:58:07 -08:00
|
|
|
}
|