mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nfs-ganesha: build man pages (#347791)
This commit is contained in:
commit
60158f917b
@ -1,18 +1,38 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, krb5, xfsprogs, jemalloc, dbus, libcap
|
||||
, ntirpc, liburcu, bison, flex, nfs-utils, acl
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
sphinx,
|
||||
krb5,
|
||||
xfsprogs,
|
||||
jemalloc,
|
||||
dbus,
|
||||
libcap,
|
||||
ntirpc,
|
||||
liburcu,
|
||||
bison,
|
||||
flex,
|
||||
nfs-utils,
|
||||
acl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nfs-ganesha";
|
||||
version = "6.1";
|
||||
outputs = [ "out" "tools" ];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
"tools"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nfs-ganesha";
|
||||
repo = "nfs-ganesha";
|
||||
rev = "V${version}";
|
||||
sha256 = "sha256-XQpbQ7NXVGVbm99d1ZEh1ckR5fd81xwZw8HorXHaeBk=";
|
||||
hash = "sha256-XQpbQ7NXVGVbm99d1ZEh1ckR5fd81xwZw8HorXHaeBk=";
|
||||
};
|
||||
|
||||
preConfigure = "cd src";
|
||||
@ -23,6 +43,7 @@ stdenv.mkDerivation rec {
|
||||
"-DENABLE_VFS_POSIX_ACL=ON"
|
||||
"-DUSE_ACL_MAPPING=ON"
|
||||
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON"
|
||||
"-DUSE_MAN_PAGE=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -30,6 +51,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
bison
|
||||
flex
|
||||
sphinx
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -63,6 +85,10 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl3Plus;
|
||||
mainProgram = "ganesha.nfsd";
|
||||
outputsToInstall = [ "out" "tools" ];
|
||||
outputsToInstall = [
|
||||
"out"
|
||||
"man"
|
||||
"tools"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user