2010-10-19 10:09:10 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2010-08-06 23:36:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-24 21:32:13 +01:00
|
|
|
name = "mtools-4.0.18";
|
2010-08-06 23:36:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
2014-02-24 21:32:13 +01:00
|
|
|
sha256 = "119gdfnsxc6hzicnsf718k0fxgy2q14pxn7557rc96aki20czsar";
|
2010-08-06 23:36:54 +02:00
|
|
|
};
|
|
|
|
|
2017-04-01 23:11:11 +02:00
|
|
|
# Prevents errors such as "mainloop.c:89:15: error: expected ')'"
|
|
|
|
# Upstream issue https://lists.gnu.org/archive/html/info-mtools/2014-02/msg00000.html
|
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
|
|
|
|
|
|
|
|
# fails to find X on darwin
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--without-x";
|
|
|
|
|
2010-10-19 10:09:10 +02:00
|
|
|
doCheck = true;
|
2010-08-06 23:36:54 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/mtools/;
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Utilities to access MS-DOS disks";
|
2017-04-01 23:11:11 +02:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.darwin;
|
2013-08-16 23:44:33 +02:00
|
|
|
maintainers = [ ];
|
2010-08-06 23:36:54 +02:00
|
|
|
};
|
|
|
|
}
|