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

26 lines
627 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
2020-12-03 08:52:48 +01:00
pname = "mtools";
2021-08-15 15:49:22 +02:00
version = "4.0.35";
src = fetchurl {
2020-12-03 08:52:48 +01:00
url = "mirror://gnu/mtools/${pname}-${version}.tar.bz2";
2021-08-15 15:49:22 +02:00
sha256 = "sha256-NHaeFzdR0vDYkaCMdsgEJ+kpuO5DQ4AZuGZsw9ekR0k=";
};
2021-01-15 10:19:50 +01:00
patches = lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
2017-04-01 23:11:11 +02:00
# fails to find X on darwin
2021-01-15 10:19:50 +01:00
configureFlags = lib.optional stdenv.isDarwin "--without-x";
2017-04-01 23:11:11 +02:00
doCheck = true;
meta = with lib; {
homepage = "https://www.gnu.org/software/mtools/";
description = "Utilities to access MS-DOS disks";
2018-09-07 22:23:41 +02:00
platforms = platforms.unix;
license = licenses.gpl3;
};
}