depot/third_party/nixpkgs/pkgs/servers/http/mini-httpd/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

25 lines
646 B
Nix

{ lib, stdenv, fetchurl, boost }:
stdenv.mkDerivation rec {
pname = "mini-httpd";
version = "1.7";
src = fetchurl {
url = "https://download-mirror.savannah.gnu.org/releases/mini-httpd/${pname}-${version}.tar.gz";
sha256 = "0jggmlaywjfbdljzv5hyiz49plnxh0har2bnc9dq4xmj1pmjgs49";
};
buildInputs = [ boost ];
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
meta = {
homepage = "http://mini-httpd.nongnu.org/";
description = "minimalistic high-performance web server";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.peti ];
};
}