mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nfs-ganesha: apply nixfmt, src.sha256 -> hash
This commit is contained in:
parent
e5b88700ef
commit
5db859d4d0
@ -1,18 +1,38 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, sphinx
|
||||
, 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" "man" "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";
|
||||
@ -65,6 +85,10 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl3Plus;
|
||||
mainProgram = "ganesha.nfsd";
|
||||
outputsToInstall = [ "out" "man" "tools" ];
|
||||
outputsToInstall = [
|
||||
"out"
|
||||
"man"
|
||||
"tools"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user