3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nfs-ganesha/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
920 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2020-07-09 22:27:39 +01:00
, krb5, xfsprogs, jemalloc, dbus, libcap
, ntirpc, liburcu, bison, flex, nfs-utils
} :
stdenv.mkDerivation rec {
pname = "nfs-ganesha";
2022-09-23 00:03:14 +01:00
version = "4.0.8";
2020-07-09 22:27:39 +01:00
src = fetchFromGitHub {
owner = "nfs-ganesha";
repo = "nfs-ganesha";
rev = "V${version}";
2022-09-23 00:03:14 +01:00
sha256 = "sha256-03zrEWwPQi7ED6Yr3HgzQyOtqJjjnUj5nChgGV6v0zk=";
2020-07-09 22:27:39 +01:00
};
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; {
2020-07-09 22:27:39 +01:00
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;
};
}