2008-03-30 17:42:49 +00:00
|
|
|
{ fetchurl, stdenv, tcpWrapper, e2fsprogs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nfs-utils-1.1.2";
|
2007-11-20 15:55:37 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2008-03-30 17:42:49 +00:00
|
|
|
url = "mirror://sourceforge/nfs/${name}.tar.gz";
|
|
|
|
sha256 = "0cs0kl18f4h8nkbnd7n3flw9krhkm3mx9sh7vz9dkvp46g0v228x";
|
2007-11-20 15:55:37 +00:00
|
|
|
};
|
|
|
|
|
2008-03-30 17:42:49 +00:00
|
|
|
patches = [ ./sbindir.patch ];
|
|
|
|
|
|
|
|
# Needs `libblkid' and `libcomerr' from `e2fsprogs'.
|
|
|
|
buildInputs = [ tcpWrapper e2fsprogs ];
|
|
|
|
|
|
|
|
# FIXME: Currently too lazy to build the dependencies needed for NFSv4.
|
|
|
|
configurePhase = ''./configure --prefix=$out \
|
|
|
|
--disable-gss --disable-nfsv4 \
|
|
|
|
--with-statedir=$out/var/lib/nfs'';
|
2007-11-20 15:55:37 +00:00
|
|
|
|
|
|
|
meta = {
|
2008-03-30 17:42:49 +00:00
|
|
|
description = "Linux user-space NFS utilities";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
This package contains various Linux user-space Network File
|
|
|
|
System (NFS) utilities, including RPC `mount' and `nfs'
|
|
|
|
daemons.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://nfs.sourceforge.net/;
|
|
|
|
license = "GPLv2";
|
2007-11-20 15:55:37 +00:00
|
|
|
};
|
|
|
|
}
|