1 { lib, stdenv, fetchFromGitHub, openssl, curl, postgresql, yajl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-p0M2P02xwww5EnT28VnEtj5b+/jkPW3YkJMuK79vp4k=";
14 buildInputs = [ openssl curl postgresql yajl ];
17 "PREFIX=${placeholder "out"}"
30 # added to fix build w/gcc7 and clang5
31 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
32 + lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option";
34 enableParallelBuilding = true;
37 description = "An easy to use web application framework for C";
38 homepage = "https://kore.io";
39 license = licenses.isc;
40 platforms = platforms.all;
41 maintainers = with maintainers; [ johnmh ];