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