2022-11-14 21:44:56 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, flex
|
|
|
|
, bison
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, libtirpc
|
|
|
|
}:
|
2012-03-03 16:06:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-23 16:07:31 +01:00
|
|
|
pname = "unfs3";
|
2022-11-14 21:44:56 +00:00
|
|
|
version = "0.10.0";
|
2012-03-03 16:06:27 +00:00
|
|
|
|
2022-11-14 21:44:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unfs3";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/${pname}-${version}";
|
|
|
|
hash = "sha256-5iAriIutBhwyZVS7AG2fnkrHOI7pNAKfYv062Cy0WXw=";
|
2012-03-03 16:06:27 +00:00
|
|
|
};
|
|
|
|
|
2022-11-14 21:44:56 +00:00
|
|
|
nativeBuildInputs = [ flex bison autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libtirpc ];
|
2012-03-03 16:06:27 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--disable-shared" ];
|
|
|
|
|
|
|
|
doCheck = false; # no test suite
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "User-space NFSv3 file system server";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' UNFS3 is a user-space implementation of the NFSv3 server
|
|
|
|
specification. It provides a daemon for the MOUNT and NFS
|
|
|
|
protocols, which are used by NFS clients for accessing files on the
|
|
|
|
server.
|
|
|
|
'';
|
|
|
|
|
2022-11-14 21:44:56 +00:00
|
|
|
# The old http://unfs3.sourceforge.net/ has a <meta>
|
|
|
|
# http-equiv="refresh" pointing here, so we can assume that
|
|
|
|
# whoever controls the old URL approves of the "unfs3" github
|
|
|
|
# account.
|
|
|
|
homepage = "https://unfs3.github.io/";
|
|
|
|
changelog = "https://raw.githubusercontent.com/unfs3/unfs3/unfs3-${version}/NEWS";
|
|
|
|
mainProgram = "unfsd";
|
2012-03-03 16:06:27 +00:00
|
|
|
|
2021-01-15 07:07:56 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.unix;
|
2015-01-13 21:33:24 +00:00
|
|
|
maintainers = [ ];
|
2012-03-03 16:06:27 +00:00
|
|
|
};
|
|
|
|
}
|