74669a825c
svn path=/nixpkgs/trunk/; revision=12871
26 lines
764 B
Nix
26 lines
764 B
Nix
{stdenv, fetchurl, utillinux}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ntfs-3g";
|
|
version = "1.2812";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/${name}.tgz";
|
|
sha256 = "1jvgv53glrxk883bixl2dl1fjydmprmw189yn6jqwjvfhnx6g1zy";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
configureFlags = "--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
|
|
|
meta = {
|
|
homepage = http://www.ntfs-3g.org;
|
|
description = "FUSE-base NTFS driver with full write support";
|
|
};
|
|
}
|