fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / mi / miniHttpd / package.nix
blob2c161583cf7dee8cf82520bfd1bd124ee3b452ce
2   lib,
3   stdenv,
4   fetchurl,
5   boost,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "mini-httpd";
10   version = "1.7";
12   src = fetchurl {
13     url = "https://download-mirror.savannah.gnu.org/releases/mini-httpd/${pname}-${version}.tar.gz";
14     sha256 = "0jggmlaywjfbdljzv5hyiz49plnxh0har2bnc9dq4xmj1pmjgs49";
15   };
17   buildInputs = [ boost ];
19   enableParallelBuilding = true;
21   env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
23   meta = {
24     homepage = "http://mini-httpd.nongnu.org/";
25     description = "minimalistic high-performance web server";
26     mainProgram = "httpd";
27     license = lib.licenses.gpl3;
28     platforms = lib.platforms.linux;
29     maintainers = [ lib.maintainers.peti ];
30   };