2007-09-01 20:15:19 +02:00
|
|
|
args: with args;
|
2008-01-28 20:31:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-03-19 13:32:44 +01:00
|
|
|
pname = "ntfs-3g";
|
2008-07-06 18:55:29 +02:00
|
|
|
version = "1.2531";
|
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-06 18:55:29 +02:00
|
|
|
sha256 = "e5d834f0be7efdedc36e45808554dafcb53f70b2fa2d511df5b9ae23e6807bbe";
|
2007-09-01 20:15:19 +02:00
|
|
|
};
|
2008-03-19 13:32:44 +01:00
|
|
|
|
2008-03-19 14:08:11 +01: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 13:32:44 +01:00
|
|
|
|
2007-09-12 23:32:16 +02:00
|
|
|
configureFlags="--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix}";
|
2007-09-01 20:15:19 +02:00
|
|
|
|
|
|
|
meta = {
|
2008-01-28 20:31:32 +01:00
|
|
|
homepage = http://www.ntfs-3g.org;
|
2007-09-12 23:32:16 +02:00
|
|
|
description = "FUSE-base ntfs driver with full write support";
|
2007-09-01 20:15:19 +02:00
|
|
|
};
|
|
|
|
}
|