nixpkgs-suyu/pkgs/servers/http/mini-httpd/default.nix

27 lines
715 B
Nix
Raw Normal View History

{ stdenv, fetchurl, boost }:
2013-02-09 22:50:50 +01:00
stdenv.mkDerivation rec {
2013-03-28 13:56:22 +01:00
name = "mini-httpd-1.4";
src = fetchurl {
2013-02-09 22:50:50 +01:00
url = "mirror://savannah/mini-httpd/${name}.tar.gz";
2013-03-28 13:56:22 +01:00
sha256 = "1i46klkx2ca1cgmlilajkx8gf7b7d7c2sj58llxfllh184pb6cpd";
};
buildInputs = [ boost ];
2013-02-09 22:50:50 +01:00
enableParallelBuilding = true;
2015-09-04 20:21:37 +02:00
# Fixes compat with boost 1.59
# Please attempt removing when updating
CPPFLAGS = "-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED";
meta = {
homepage = "http://mini-httpd.nongnu.org/";
description = "a minimalistic high-performance web server";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}