mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-11 22:17:17 +00:00
nfs-ganesha: 5.9 -> 6.0 (#338272)
This commit is contained in:
commit
18051a0d7a
@ -4,15 +4,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ntirpc";
|
pname = "ntirpc";
|
||||||
version = "5.8";
|
version = "6.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nfs-ganesha";
|
owner = "nfs-ganesha";
|
||||||
repo = "ntirpc";
|
repo = "ntirpc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-t9InlnlwVts9mlrH8sHaaTYSrjJKlkFlGs1YCmZzjdE=";
|
sha256 = "sha256-Txtc0Oyt/WfZiMe26uMzx3HFq/YaeU6cYfjPQwh0uQg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace ntirpc/netconfig.h --replace "/etc/netconfig" "$out/etc/netconfig"
|
substituteInPlace ntirpc/netconfig.h --replace "/etc/netconfig" "$out/etc/netconfig"
|
||||||
sed '1i#include <assert.h>' -i src/work_pool.c
|
sed '1i#include <assert.h>' -i src/work_pool.c
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nfs-ganesha";
|
pname = "nfs-ganesha";
|
||||||
version = "5.9";
|
version = "6.0";
|
||||||
outputs = [ "out" "tools" ];
|
outputs = [ "out" "tools" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nfs-ganesha";
|
owner = "nfs-ganesha";
|
||||||
repo = "nfs-ganesha";
|
repo = "nfs-ganesha";
|
||||||
rev = "V${version}";
|
rev = "V${version}";
|
||||||
sha256 = "sha256-YFQcqRZenJUdTnlYM7gPnIxU47dytSHk5ALdbpSf5Ms=";
|
sha256 = "sha256-tT8m4X2OgANreTljqAYcCN0HTu++boFBmzyha7XGo8Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "cd src";
|
preConfigure = "cd src";
|
||||||
|
Loading…
Reference in New Issue
Block a user