1 { lib, stdenv, fetchFromGitHub, mailcap, openssl }:
5 version = "1.21-unstable-2021-02-24";
7 src = fetchFromGitHub {
10 rev = "228affae0774251c6925372d465eb4e648327879";
11 hash = "sha256-uTo9f66cOKSsIGLUj1E/ywMXT1peekb93UlFBrfkpN0=";
14 buildInputs = [ openssl ];
17 "mimefile=${placeholder "out"}/etc/mime.types"
18 "prefix=${placeholder "out"}"
23 install -Dm444 -t $out/etc ${mailcap}/etc/mime.types
27 description = "HTTP server for purely static content";
28 homepage = "http://linux.bytesex.org/misc/webfs.html";
29 license = licenses.gpl2Plus;
30 platforms = platforms.all;
31 maintainers = with maintainers; [ zimbatm ];
32 mainProgram = "webfsd";