diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/dosfstools/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/filesystems/dosfstools/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/dosfstools/default.nix b/nixpkgs/pkgs/tools/filesystems/dosfstools/default.nix new file mode 100644 index 000000000000..369d2e74f301 --- /dev/null +++ b/nixpkgs/pkgs/tools/filesystems/dosfstools/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }: + +stdenv.mkDerivation rec { + pname = "dosfstools"; + version = "4.1"; + + src = fetchFromGitHub { + owner = "dosfstools"; + repo = "dosfstools"; + rev = "v${version}"; + sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ] + ++ stdenv.lib.optional stdenv.isDarwin libiconv; + + configureFlags = [ "--enable-compat-symlinks" ]; + + meta = { + description = "Utilities for creating and checking FAT and VFAT file systems"; + homepage = https://github.com/dosfstools/dosfstools; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; + license = stdenv.lib.licenses.gpl3; + }; +} |