From 90d1e1bb83f19b3d19675f7cc5c6080ea0dea7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 3 Mar 2012 16:06:27 +0000 Subject: [PATCH] Add UNFS3, a user-space NFSv3 server. svn path=/nixpkgs/trunk/; revision=32753 --- pkgs/servers/unfs3/default.nix | 33 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/servers/unfs3/default.nix diff --git a/pkgs/servers/unfs3/default.nix b/pkgs/servers/unfs3/default.nix new file mode 100644 index 000000000000..e59023c905e9 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c91dd64c970f..be365d3db355 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1460,6 +1460,8 @@ let unetbootin = callPackage ../tools/cd-dvd/unetbootin { }; + unfs3 = callPackage ../servers/unfs3 { }; + upx = callPackage ../tools/compression/upx { }; usbmuxd = callPackage ../tools/misc/usbmuxd {};