about summary refs log tree commit diff
path: root/pkgs/servers/unfs3/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/unfs3/default.nix')
-rw-r--r--pkgs/servers/unfs3/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/servers/unfs3/default.nix b/pkgs/servers/unfs3/default.nix
new file mode 100644
index 0000000000000..e59023c905e94
--- /dev/null
+++ b/pkgs/servers/unfs3/default.nix
@@ -0,0 +1,33 @@
+{ fetchurl, stdenv, flex, bison }:
+
+stdenv.mkDerivation rec {
+  name = "unfs3-0.9.22";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/unfs3/${name}.tar.gz";
+    sha256 = "076zkyqkn56q0a8n3h65n1a68fknk4hrrp6mbhajq5s1wp5248j8";
+  };
+
+  buildNativeInputs = [ flex bison ];
+
+  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.
+      '';
+
+    homepage = http://unfs3.sourceforge.net/;
+
+    license = "BSD";                              # 3-clause BSD
+    platforms = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+  };
+}