From 5db859d4d00a08281c4e7f0a0880962532758501 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 10 Oct 2024 21:36:56 +0200 Subject: [PATCH] nfs-ganesha: apply nixfmt, src.sha256 -> hash --- pkgs/servers/nfs-ganesha/default.nix | 38 +++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/nfs-ganesha/default.nix b/pkgs/servers/nfs-ganesha/default.nix index 5531a2f1b583..53a5601c5171 100644 --- a/pkgs/servers/nfs-ganesha/default.nix +++ b/pkgs/servers/nfs-ganesha/default.nix @@ -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" + ]; }; }