diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
commit | c726012afe1dbd13da7ab15381e3de2867bc8af5 (patch) | |
tree | 123888653c98ee60761109c9b3c59f706695b064 /pkgs/tools/filesystems/ntfs-3g | |
parent | 064aae6461971ed76ff4ed5bc8e043840592c04a (diff) |
* Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems. Previously they were all over the place. svn path=/nixpkgs/trunk/; revision=18809
Diffstat (limited to 'pkgs/tools/filesystems/ntfs-3g')
-rw-r--r-- | pkgs/tools/filesystems/ntfs-3g/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/ntfs-3g/default.nix b/pkgs/tools/filesystems/ntfs-3g/default.nix new file mode 100644 index 0000000000000..511a4e1eadf47 --- /dev/null +++ b/pkgs/tools/filesystems/ntfs-3g/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, utillinux}: + +stdenv.mkDerivation rec { + pname = "ntfs-3g"; + version = "2009.4.4"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "${meta.homepage}/${name}.tgz"; + sha256 = "03qdbv0c6gfssmb2s0zzqhwp447n2hgr2qjvc0p527slj2z9xlxw"; + }; + + 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.ntfs-3g.org; + description = "FUSE-base NTFS driver with full write support"; + }; +} |