2007-09-01 18:15:19 +00:00
|
|
|
args: with args;
|
2008-01-28 19:31:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2008-03-19 12:32:44 +00:00
|
|
|
pname = "ntfs-3g";
|
2008-07-17 04:40:50 +00:00
|
|
|
version = "1.2712";
|
2008-03-19 12:32:44 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2007-09-01 18:15:19 +00:00
|
|
|
src = fetchurl {
|
2008-01-28 19:31:32 +00:00
|
|
|
url = "${meta.homepage}/${name}.tgz";
|
2008-07-17 04:40:50 +00:00
|
|
|
sha256 = "01rdx3mzp12pbi3q9l279z78w155fh5axaksxmm3xl9m9ljy4c9j";
|
2007-09-01 18:15:19 +00:00
|
|
|
};
|
2008-03-19 12:32:44 +00:00
|
|
|
|
2008-03-19 13:08:11 +00:00
|
|
|
buildInputs = [fuse pkgconfig utillinux];
|
|
|
|
|
|
|
|
preConfigure="
|
|
|
|
sed -e 's:/sbin:@sbindir@:' -i src/Makefile.in
|
|
|
|
sed -e 's:/bin/mount:${utillinux}/bin/mount:' -i libfuse-lite/mount_util.c
|
|
|
|
sed -e 's:/bin/umount:${utillinux}/bin/umount:' -i libfuse-lite/mount_util.c
|
|
|
|
";
|
2008-03-19 12:32:44 +00:00
|
|
|
|
2007-09-12 21:32:16 +00:00
|
|
|
configureFlags="--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix}";
|
2007-09-01 18:15:19 +00:00
|
|
|
|
|
|
|
meta = {
|
2008-01-28 19:31:32 +00:00
|
|
|
homepage = http://www.ntfs-3g.org;
|
2007-09-12 21:32:16 +00:00
|
|
|
description = "FUSE-base ntfs driver with full write support";
|
2007-09-01 18:15:19 +00:00
|
|
|
};
|
|
|
|
}
|