@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libnfs-${version}";
5+ version = "2.0.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "sahlberg";
9+ repo = "libnfs";
10+ rev = "libnfs-${version}";
11+ sha256 = "1xd1xb09jxwmx7hblv0f9gxv7i1glk3nbj2vyq50zpi158lnf2mb";
12+ };
13+
14+ nativeBuildInputs = [ autoreconfHook ];
15+
16+ enableParallelBuilding = true;
17+
18+ meta = with stdenv.lib; {
19+ description = "NFS client library";
20+ homepage = https://github.com/sahlberg/libnfs;
21+ license = with licenses; [ lgpl2 bsd gpl3];
22+ maintainers = with maintainers; [ peterhoeg ];
23+ platforms = platforms.unix;
24+ };
25+}