mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
090bc5b85e
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
25 lines
614 B
Nix
25 lines
614 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mtools-4.0.23";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/mtools/${name}.tar.bz2";
|
|
sha256 = "1qwfxzr964fasxlzhllahk8mzh7c82s808wvly95dsqsflkdp27i";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|