mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
aee3689349
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mtools/versions
27 lines
769 B
Nix
27 lines
769 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mtools-4.0.19";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
|
sha256 = "1pqhv5l4fqj1d3698vajkccz65xqxs3991wpylbw7hm1kqcrgh8v";
|
|
};
|
|
|
|
# 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 = with stdenv.lib; {
|
|
homepage = http://www.gnu.org/software/mtools/;
|
|
description = "Utilities to access MS-DOS disks";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|