mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
5b79f27f5c
svn path=/nixpkgs/trunk/; revision=24617
28 lines
808 B
Nix
28 lines
808 B
Nix
{stdenv, fetchurl, utillinux}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ntfs-3g";
|
|
version = "2010.10.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://tuxera.com/opensource/${name}.tgz";
|
|
sha256 = "0wcyks4nvi1kck8i2dgwfsy5zxhil0v0xam8zbg1p592xbqygiqp";
|
|
};
|
|
|
|
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 = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
|
|
|
meta = {
|
|
homepage = http://www.tuxera.com/community/;
|
|
description = "FUSE-base NTFS driver with full write support";
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
};
|
|
}
|