2008-07-24 15:11:02 +02:00
|
|
|
{stdenv, fetchurl, utillinux}:
|
|
|
|
|
2008-01-28 20:31:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-03-19 13:32:44 +01:00
|
|
|
pname = "ntfs-3g";
|
2008-07-17 06:40:50 +02:00
|
|
|
version = "1.2712";
|
2008-03-19 13:32:44 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2007-09-01 20:15:19 +02:00
|
|
|
src = fetchurl {
|
2008-01-28 20:31:32 +01:00
|
|
|
url = "${meta.homepage}/${name}.tgz";
|
2008-07-17 06:40:50 +02:00
|
|
|
sha256 = "01rdx3mzp12pbi3q9l279z78w155fh5axaksxmm3xl9m9ljy4c9j";
|
2007-09-01 20:15:19 +02:00
|
|
|
};
|
2008-03-19 13:32:44 +01:00
|
|
|
|
2008-07-24 15:11:02 +02: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 13:32:44 +01:00
|
|
|
|
2008-07-24 15:11:02 +02:00
|
|
|
configureFlags = "--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
2007-09-01 20:15:19 +02:00
|
|
|
|
|
|
|
meta = {
|
2008-01-28 20:31:32 +01:00
|
|
|
homepage = http://www.ntfs-3g.org;
|
2008-07-24 15:11:02 +02:00
|
|
|
description = "FUSE-base NTFS driver with full write support";
|
2007-09-01 20:15:19 +02:00
|
|
|
};
|
|
|
|
}
|