2008-07-24 13:11:02 +00:00
|
|
|
{stdenv, fetchurl, utillinux}:
|
|
|
|
|
2008-01-28 19:31:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2008-03-19 12:32:44 +00:00
|
|
|
pname = "ntfs-3g";
|
2010-11-07 23:20:02 +00:00
|
|
|
version = "2010.10.2";
|
2008-03-19 12:32:44 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2007-09-01 18:15:19 +00:00
|
|
|
src = fetchurl {
|
2010-11-07 23:20:02 +00:00
|
|
|
url = "http://tuxera.com/opensource/${name}.tgz";
|
|
|
|
sha256 = "0wcyks4nvi1kck8i2dgwfsy5zxhil0v0xam8zbg1p592xbqygiqp";
|
2007-09-01 18:15:19 +00:00
|
|
|
};
|
2008-03-19 12:32:44 +00:00
|
|
|
|
2008-07-24 13:11:02 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/Makefile.in --replace /sbin '@sbindir@'
|
|
|
|
substituteInPlace libfuse-lite/mount_util.c \
|
|
|
|
--replace /bin/mount ${utillinux}/bin/mount \
|
|
|
|
--replace /bin/umount ${utillinux}/bin/umount
|
|
|
|
'';
|
2008-03-19 12:32:44 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
2007-09-01 18:15:19 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-11-07 23:20:02 +00:00
|
|
|
homepage = http://www.tuxera.com/community/;
|
2008-07-24 13:11:02 +00:00
|
|
|
description = "FUSE-base NTFS driver with full write support";
|
2010-11-07 23:20:02 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2007-09-01 18:15:19 +00:00
|
|
|
};
|
|
|
|
}
|