2017-05-12 08:09:12 -07:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
|
2009-02-08 08:28:12 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "dosfstools";
|
2017-04-10 04:46:40 -07:00
|
|
|
version = "4.1";
|
2010-08-06 11:49:16 -07:00
|
|
|
|
2016-05-12 01:23:13 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dosfstools";
|
|
|
|
repo = "dosfstools";
|
|
|
|
rev = "v${version}";
|
2017-04-10 04:46:40 -07:00
|
|
|
sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
|
2010-08-06 11:49:16 -07:00
|
|
|
};
|
|
|
|
|
2017-05-12 08:09:12 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
2010-08-06 11:49:16 -07:00
|
|
|
|
2017-04-10 18:45:33 -07:00
|
|
|
configureFlags = [ "--enable-compat-symlinks" ];
|
|
|
|
|
2016-05-12 01:23:13 -07:00
|
|
|
meta = {
|
2010-08-06 11:49:16 -07:00
|
|
|
description = "Utilities for creating and checking FAT and VFAT file systems";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/dosfstools/dosfstools";
|
2017-05-12 08:09:12 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2018-08-05 07:34:12 -07:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2010-08-06 11:49:16 -07:00
|
|
|
};
|
2009-02-08 08:28:12 -08:00
|
|
|
}
|