mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
1a64758585
svn path=/nixpkgs/trunk/; revision=11367
34 lines
911 B
Nix
34 lines
911 B
Nix
{ fetchurl, stdenv, tcpWrapper, e2fsprogs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nfs-utils-1.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/nfs/${name}.tar.gz";
|
|
sha256 = "0cs0kl18f4h8nkbnd7n3flw9krhkm3mx9sh7vz9dkvp46g0v228x";
|
|
};
|
|
|
|
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'';
|
|
|
|
meta = {
|
|
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";
|
|
};
|
|
}
|