2009-08-11 22:57:29 +02:00
|
|
|
{ fetchurl, stdenv, tcpWrapper, libuuid }:
|
2008-03-30 19:42:49 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-08-11 22:57:29 +02:00
|
|
|
name = "nfs-utils-1.2.0";
|
2007-11-20 16:55:37 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2009-08-11 22:57:29 +02:00
|
|
|
url = "mirror://sourceforge/nfs/${name}.tar.bz2";
|
|
|
|
sha256 = "1ld1f6wcm53pza3zy768y1y8xa01zq3bnjyy1j3z62yd7a5lcffb";
|
2007-11-20 16:55:37 +01:00
|
|
|
};
|
|
|
|
|
2009-08-11 22:57:29 +02:00
|
|
|
# Needs `libblkid' and `libcomerr' from `e2fsprogs' or `util-linux-ng'.
|
|
|
|
buildInputs = [ tcpWrapper libuuid ];
|
2008-03-30 19:42:49 +02:00
|
|
|
|
|
|
|
# FIXME: Currently too lazy to build the dependencies needed for NFSv4.
|
2009-08-11 22:57:29 +02:00
|
|
|
configureFlags = "--disable-gss --disable-nfsv4 --with-statedir=/var/lib/nfs";
|
|
|
|
|
|
|
|
preBuild =
|
|
|
|
''
|
|
|
|
makeFlags="sbindir=$out/sbin"
|
|
|
|
installFlags="statedir=$TMPDIR" # hack to make `make install' work
|
|
|
|
'';
|
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
|
|
|
};
|
|
|
|
}
|