2008-03-30 19:42:49 +02:00
|
|
|
{ fetchurl, stdenv, tcpWrapper, e2fsprogs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nfs-utils-1.1.2";
|
2007-11-20 16:55:37 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2008-03-30 19:42:49 +02:00
|
|
|
url = "mirror://sourceforge/nfs/${name}.tar.gz";
|
|
|
|
sha256 = "0cs0kl18f4h8nkbnd7n3flw9krhkm3mx9sh7vz9dkvp46g0v228x";
|
2007-11-20 16:55:37 +01:00
|
|
|
};
|
|
|
|
|
2008-03-30 19:42:49 +02: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 16:55:37 +01:00
|
|
|
|
|
|
|
meta = {
|
2008-03-30 19:42:49 +02: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 16:55:37 +01:00
|
|
|
};
|
|
|
|
}
|