6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-dcNoGU08tu950PlwSghoZwGSaSbP8NJ5qhWUi3bAtZY=";
17 enableParallelBuilding = true;
21 install -Dm555 -t $out/bin darkhttpd
22 install -Dm444 -t $out/share/doc/${pname} README.md
23 head -n 18 darkhttpd.c > $out/share/doc/${pname}/LICENSE
28 description = "Small and secure static webserver";
29 mainProgram = "darkhttpd";
30 homepage = "https://unix4lyfe.org/darkhttpd/";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ bobvanderlinden ];
33 platforms = platforms.all;