1 { lib, stdenv, fetchurl, libxcrypt }:
3 stdenv.mkDerivation rec {
8 url = "https://acme.com/software/thttpd/${pname}-${version}.tar.gz";
9 sha256 = "15x3h4b49wgfywn82i3wwbf38mdns94mbi4ma9xiwsrjv93rzh4r";
13 sed -i -e 's/getline/getlineX/' extras/htpasswd.c
14 sed -i -e 's/chmod 2755/chmod 755/' extras/Makefile.in
22 mkdir -p "$out/man/man1"
23 sed -i -e 's/-o bin -g bin *//' Makefile
24 sed -i -e '/chgrp/d' extras/Makefile
28 description = "Tiny/turbo/throttling HTTP server";
29 homepage = "http://www.acme.com/software/thttpd/";
30 license = lib.licenses.bsd2;
31 platforms = lib.platforms.linux;