Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 28 lines 657 B view raw
1{ lib, stdenv, fetchfossil, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "althttpd"; 5 version = "unstable-2022-08-12"; 6 7 src = fetchfossil { 8 url = "https://sqlite.org/althttpd/"; 9 rev = "823a1d985d4bacaa"; 10 sha256 = "sha256-yfVsOfqtHw9ftnK5B4RWeRR/ygfsTEDm7fFSaVxsCas="; 11 }; 12 13 buildInputs = [ openssl ]; 14 15 makeFlags = [ "CC:=$(CC)" ]; 16 17 installPhase = '' 18 install -Dm755 -t $out/bin althttpd 19 ''; 20 21 meta = with lib; { 22 description = "The Althttpd webserver"; 23 homepage = "https://sqlite.org/althttpd/"; 24 license = licenses.publicDomain; 25 maintainers = with maintainers; [ siraben ]; 26 platforms = platforms.all; 27 }; 28}