3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/mini-httpd/default.nix
Thomas Gerbet a722d04617 mini-httpd: fix the build
Moved back to C++14 where dynamic exception specifications are
deprecated but still present.

ZHF: #172160
2022-05-11 11:46:21 +02:00

26 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 ];
};
}