2008-07-24 14:11:02 +01: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";
|
2009-04-07 17:03:30 +01:00
|
|
|
version = "2009.4.4";
|
2008-03-19 12:32:44 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2007-09-01 19:15:19 +01:00
|
|
|
src = fetchurl {
|
2008-01-28 19:31:32 +00:00
|
|
|
url = "${meta.homepage}/${name}.tgz";
|
2009-04-07 17:03:30 +01:00
|
|
|
sha256 = "03qdbv0c6gfssmb2s0zzqhwp447n2hgr2qjvc0p527slj2z9xlxw";
|
2007-09-01 19:15:19 +01:00
|
|
|
};
|
2008-03-19 12:32:44 +00:00
|
|
|
|
2008-07-24 14:11:02 +01: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-22 00:18:09 +01:00
|
|
|
configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
2007-09-01 19:15:19 +01:00
|
|
|
|
|
|
|
meta = {
|
2008-01-28 19:31:32 +00:00
|
|
|
homepage = http://www.ntfs-3g.org;
|
2008-07-24 14:11:02 +01:00
|
|
|
description = "FUSE-base NTFS driver with full write support";
|
2007-09-01 19:15:19 +01:00
|
|
|
};
|
|
|
|
}
|