2010-10-19 09:09:10 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2010-08-06 22:36:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-22 17:45:44 +00:00
|
|
|
name = "mtools-4.0.24";
|
2010-08-06 22:36:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
2020-03-22 17:45:44 +00:00
|
|
|
sha256 = "1f9g7g8zspp8nvg1nz869il9pvxpdpchqd0vxfc89y8rjbda5x14";
|
2010-08-06 22:36:54 +01:00
|
|
|
};
|
|
|
|
|
2018-11-24 21:34:57 +00:00
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
|
2017-04-01 22:11:11 +01:00
|
|
|
|
|
|
|
# fails to find X on darwin
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--without-x";
|
|
|
|
|
2010-10-19 09:09:10 +01:00
|
|
|
doCheck = true;
|
2010-08-06 22:36:54 +01:00
|
|
|
|
2018-09-07 21:23:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-22 17:45:44 +00:00
|
|
|
homepage = "https://www.gnu.org/software/mtools/";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Utilities to access MS-DOS disks";
|
2018-09-07 21:23:41 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl3;
|
2010-08-06 22:36:54 +01:00
|
|
|
};
|
|
|
|
}
|