2017-05-12 16:09:12 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
|
2009-02-08 16:28:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-06-19 06:06:59 +01:00
|
|
|
name = "dosfstools-${version}";
|
2017-04-10 12:46:40 +01:00
|
|
|
version = "4.1";
|
2010-08-06 19:49:16 +01:00
|
|
|
|
2016-05-12 09:23:13 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dosfstools";
|
|
|
|
repo = "dosfstools";
|
|
|
|
rev = "v${version}";
|
2017-04-10 12:46:40 +01:00
|
|
|
sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
|
2010-08-06 19:49:16 +01:00
|
|
|
};
|
|
|
|
|
2017-05-12 16:09:12 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
2010-08-06 19:49:16 +01:00
|
|
|
|
2017-04-11 02:45:33 +01:00
|
|
|
configureFlags = [ "--enable-compat-symlinks" ];
|
|
|
|
|
2016-05-12 09:23:13 +01:00
|
|
|
meta = {
|
2010-08-06 19:49:16 +01:00
|
|
|
description = "Utilities for creating and checking FAT and VFAT file systems";
|
2016-05-12 09:23:13 +01:00
|
|
|
repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git;
|
2010-08-06 19:49:16 +01:00
|
|
|
homepage = http://www.daniel-baumann.ch/software/dosfstools/;
|
2017-05-12 16:09:12 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2010-08-06 19:49:16 +01:00
|
|
|
};
|
2009-02-08 16:28:12 +00:00
|
|
|
}
|