2010-10-19 10:09:10 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2010-08-06 23:36:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 11:40:06 +01:00
|
|
|
name = "mtools-4.0.23";
|
2010-08-06 23:36:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
2018-12-25 11:40:06 +01:00
|
|
|
sha256 = "1qwfxzr964fasxlzhllahk8mzh7c82s808wvly95dsqsflkdp27i";
|
2010-08-06 23:36:54 +02:00
|
|
|
};
|
|
|
|
|
2018-11-24 22:34:57 +01:00
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
|
2017-04-01 23:11:11 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2018-09-07 22:23:41 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-11-24 22:34:57 +01:00
|
|
|
homepage = https://www.gnu.org/software/mtools/;
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Utilities to access MS-DOS disks";
|
2018-09-07 22:23:41 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl3;
|
2010-08-06 23:36:54 +02:00
|
|
|
};
|
|
|
|
}
|