12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
17 owner = "nfs-ganesha";
20 sha256 = "sha256-e4eF09xwX2Qf/y9YfOGy7p6yhDFnKGI5cnrQy3o8c98=";
28 substituteInPlace ntirpc/netconfig.h --replace "/etc/netconfig" "$out/etc/netconfig"
29 sed '1i#include <assert.h>' -i src/work_pool.c
32 nativeBuildInputs = [ cmake ];
42 # Library needs a netconfig to run.
43 # Steal the file from libtirpc
44 cp ${libtirpc}/etc/netconfig $out/etc/
48 description = "Transport-independent RPC (TI-RPC)";
49 homepage = "https://github.com/nfs-ganesha/ntirpc";
50 maintainers = [ maintainers.markuskowa ];
51 platforms = platforms.linux;
52 license = licenses.bsd3;