at 17.09-beta 26 lines 787 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "mtools-4.0.18"; 5 6 src = fetchurl { 7 url = "mirror://gnu/mtools/${name}.tar.bz2"; 8 sha256 = "119gdfnsxc6hzicnsf718k0fxgy2q14pxn7557rc96aki20czsar"; 9 }; 10 11 # Prevents errors such as "mainloop.c:89:15: error: expected ')'" 12 # Upstream issue https://lists.gnu.org/archive/html/info-mtools/2014-02/msg00000.html 13 patches = stdenv.lib.optional stdenv.isDarwin ./UNUSED-darwin.patch; 14 15 # fails to find X on darwin 16 configureFlags = stdenv.lib.optional stdenv.isDarwin "--without-x"; 17 18 doCheck = true; 19 20 meta = { 21 homepage = http://www.gnu.org/software/mtools/; 22 description = "Utilities to access MS-DOS disks"; 23 platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.darwin; 24 maintainers = [ ]; 25 }; 26}