2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2017-09-26 16:26:22 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libnfs";
|
2022-02-12 10:51:20 +00:00
|
|
|
version = "5.0.1";
|
2017-09-26 16:26:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahlberg";
|
|
|
|
repo = "libnfs";
|
|
|
|
rev = "libnfs-${version}";
|
2022-02-12 10:51:20 +00:00
|
|
|
sha256 = "sha256-5jyY7hqEhBPiQ8pNd+mRTEc4brht4ID7PoV7O2RFNQA=";
|
2017-09-26 16:26:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
|
2018-03-21 19:40:39 +00:00
|
|
|
|
2017-09-26 16:26:22 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-09-26 16:26:22 +01:00
|
|
|
description = "NFS client library";
|
2020-04-01 02:11:51 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|