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