nixpkgs/pkgs/development/libraries/libnfs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
732 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2017-09-26 16:26:22 +01:00
stdenv.mkDerivation rec {
pname = "libnfs";
version = "4.0.0";
2017-09-26 16:26:22 +01:00
src = fetchFromGitHub {
owner = "sahlberg";
repo = "libnfs";
rev = "libnfs-${version}";
sha256 = "0i27wd4zvhjz7620q043p4d4mkx8zv2yz9adm1byin47dynahyda";
2017-09-26 16:26:22 +01:00
};
nativeBuildInputs = [ autoreconfHook ];
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;
meta = with lib; {
2017-09-26 16:26:22 +01:00
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;
};
}