nixpkgs/pkgs/tools/misc/mc/default.nix

29 lines
1 KiB
Nix
Raw Normal View History

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