2015-01-26 04:24:15 +01:00
|
|
|
{ stdenv, fetchurl, scons }:
|
|
|
|
|
|
|
|
let version = "1.1.1"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "exfat-utils-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
sha256 = "0ck2snhlhp965bb9a4y1g2lpl979sw1yznm79wbavyv174458i66";
|
|
|
|
url = "https://docs.google.com/uc?export=download&id=0B7CLI-REKbE3UzNtSkRvdHBpdjQ";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Free exFAT file system utilities";
|
|
|
|
longDescription = ''
|
|
|
|
Full-featured exFAT file system implementation for GNU/Linux and other
|
|
|
|
Unix-like systems.
|
|
|
|
'';
|
|
|
|
homepage = https://code.google.com/p/exfat;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2015-01-26 04:24:15 +01:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
|
2015-06-17 19:36:06 +02:00
|
|
|
nativeBuildInputs = [ scons ];
|
2015-01-26 04:24:15 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
export CCFLAGS="-std=c99"
|
|
|
|
mkdir -pv $out/sbin
|
|
|
|
scons DESTDIR=$out/sbin install
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ":";
|
|
|
|
}
|