Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchFromGitHub 2, lib 3, stdenv 4, flex 5, bison 6, autoreconfHook 7, pkg-config 8, libtirpc 9}: 10 11stdenv.mkDerivation rec { 12 pname = "unfs3"; 13 version = "0.10.0"; 14 15 src = fetchFromGitHub { 16 owner = "unfs3"; 17 repo = pname; 18 rev = "refs/tags/${pname}-${version}"; 19 hash = "sha256-5iAriIutBhwyZVS7AG2fnkrHOI7pNAKfYv062Cy0WXw="; 20 }; 21 22 nativeBuildInputs = [ flex bison autoreconfHook pkg-config ]; 23 24 buildInputs = [ libtirpc ]; 25 26 configureFlags = [ "--disable-shared" ]; 27 28 doCheck = false; # no test suite 29 30 meta = { 31 description = "User-space NFSv3 file system server"; 32 33 longDescription = 34 '' UNFS3 is a user-space implementation of the NFSv3 server 35 specification. It provides a daemon for the MOUNT and NFS 36 protocols, which are used by NFS clients for accessing files on the 37 server. 38 ''; 39 40 # The old http://unfs3.sourceforge.net/ has a <meta> 41 # http-equiv="refresh" pointing here, so we can assume that 42 # whoever controls the old URL approves of the "unfs3" github 43 # account. 44 homepage = "https://unfs3.github.io/"; 45 changelog = "https://raw.githubusercontent.com/unfs3/unfs3/unfs3-${version}/NEWS"; 46 mainProgram = "unfsd"; 47 48 license = lib.licenses.bsd3; 49 platforms = lib.platforms.unix; 50 maintainers = [ ]; 51 }; 52}