2017-09-26 17:26:22 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libnfs-${version}";
|
2018-07-04 07:54:00 +02:00
|
|
|
version = "3.0.0";
|
2017-09-26 17:26:22 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahlberg";
|
|
|
|
repo = "libnfs";
|
|
|
|
rev = "libnfs-${version}";
|
2018-07-04 07:54:00 +02:00
|
|
|
sha256 = "115p55y2cbs92z5lmcnjx1v29lwinpgq4sha9v1kq1vd8674h404";
|
2017-09-26 17:26:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2018-03-21 20:40:39 +01:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
|
|
|
|
|
2017-09-26 17:26:22 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "NFS client library";
|
|
|
|
homepage = https://github.com/sahlberg/libnfs;
|
2017-09-27 16:27:32 +02:00
|
|
|
license = with licenses; [ lgpl2 bsd2 gpl3 ];
|
2017-09-26 17:26:22 +02:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|