nixpkgs/pkgs/tools/filesystems/mtools/default.nix

27 lines
757 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2014-02-24 20:32:13 +00:00
name = "mtools-4.0.18";
src = fetchurl {
url = "mirror://gnu/mtools/${name}.tar.bz2";
2014-02-24 20:32:13 +00:00
sha256 = "119gdfnsxc6hzicnsf718k0fxgy2q14pxn7557rc96aki20czsar";
};
2017-04-01 22:11:11 +01: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";
doCheck = true;
meta = {
homepage = http://www.gnu.org/software/mtools/;
description = "Utilities to access MS-DOS disks";
platforms = stdenv.lib.platforms.unix;
2013-08-16 22:44:33 +01:00
maintainers = [ ];
};
}