2017-09-26 08:26:22 -07:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libnfs";
|
2019-04-09 12:57:04 -07:00
|
|
|
version = "4.0.0";
|
2017-09-26 08:26:22 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahlberg";
|
|
|
|
repo = "libnfs";
|
|
|
|
rev = "libnfs-${version}";
|
2019-04-09 12:57:04 -07:00
|
|
|
sha256 = "0i27wd4zvhjz7620q043p4d4mkx8zv2yz9adm1byin47dynahyda";
|
2017-09-26 08:26:22 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2018-03-21 12:40:39 -07:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
|
|
|
|
|
2017-09-26 08:26:22 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "NFS client library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/sahlberg/libnfs";
|
2017-09-27 07:27:32 -07:00
|
|
|
license = with licenses; [ lgpl2 bsd2 gpl3 ];
|
2017-09-26 08:26:22 -07:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|