* Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems. Previously they were all over the place. svn path=/nixpkgs/trunk/; revision=18809
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
{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";
|
||||
};
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{stdenv, fetchurl, libuuid}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ntfsprogs-2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/linux-ntfs/${name}.tar.bz2";
|
||||
sha256 = "ad36e19706c7303b10aa0a9bf2c2dd0309b91cd0171f1c9eb361d94a85017432";
|
||||
};
|
||||
|
||||
buildInputs = [libuuid];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
substituteInPlace ntfsprogs/Makefile.in --replace /sbin $out/sbin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Utilities for the NTFS filesystem";
|
||||
homepage = http://sourceforge.net/projects/linux-ntfs;
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user