My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/nfs-ganesha/default.nix

46 lines
919 B

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, krb5, xfsprogs, jemalloc, dbus, libcap
, ntirpc, liburcu, bison, flex, nfs-utils
} :
stdenv.mkDerivation rec {
pname = "nfs-ganesha";
version = "4.0";
src = fetchFromGitHub {
owner = "nfs-ganesha";
repo = "nfs-ganesha";
rev = "V${version}";
sha256 = "1zv7aprmydyjs53xnn1h1s6xxb22pic7va23459zq0nfnhmsgd26";
};
preConfigure = "cd src";
cmakeFlags = [ "-DUSE_SYSTEM_NTIRPC=ON" ];
nativeBuildInputs = [
cmake
pkg-config
bison
flex
];
buildInputs = [
krb5
xfsprogs
jemalloc
dbus.lib
libcap
ntirpc
liburcu
nfs-utils
];
meta = with lib; {
description = "NFS server that runs in user space";
homepage = "https://github.com/nfs-ganesha/nfs-ganesha/wiki";
maintainers = [ maintainers.markuskowa ];
platforms = platforms.linux;
license = licenses.lgpl3Plus;
};
}