mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
19e3c65e13
See https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00010.html for release information
25 lines
616 B
Nix
25 lines
616 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mtools-4.0.24";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
|
sha256 = "1f9g7g8zspp8nvg1nz869il9pvxpdpchqd0vxfc89y8rjbda5x14";
|
|
};
|
|
|
|
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 = with stdenv.lib; {
|
|
homepage = "https://www.gnu.org/software/mtools/";
|
|
description = "Utilities to access MS-DOS disks";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|