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

27 lines
840 B
Nix
Raw Normal View History

2017-05-12 18:09:12 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
stdenv.mkDerivation rec {
2015-06-19 08:06:59 +03:00
name = "dosfstools-${version}";
2017-04-10 14:46:40 +03:00
version = "4.1";
src = fetchFromGitHub {
owner = "dosfstools";
repo = "dosfstools";
rev = "v${version}";
2017-04-10 14:46:40 +03:00
sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
};
2017-05-12 18:09:12 +03:00
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";
repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git;
homepage = https://www.daniel-baumann.ch/software/dosfstools/;
2017-05-12 18:09:12 +03:00
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
license = stdenv.lib.licenses.gpl3;
};
}