1 { lib, stdenv, fetchFromGitHub, openssl, curl, postgresql, yajl }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-p0M2P02xwww5EnT28VnEtj5b+/jkPW3YkJMuK79vp4k=";
15 buildInputs = [ openssl curl postgresql yajl ];
18 "PREFIX=${placeholder "out"}"
31 env.NIX_CFLAGS_COMPILE = toString ([
32 "-Wno-error=deprecated-declarations"
33 ] ++ lib.optionals stdenv.cc.isGNU [
34 "-Wno-error=pointer-compare"
35 "-Wno-error=discarded-qualifiers"
36 ] ++ lib.optionals stdenv.cc.isClang [
37 "-Wno-error=incompatible-pointer-types-discards-qualifiers"
40 enableParallelBuilding = true;
43 description = "An easy to use web application framework for C";
44 homepage = "https://kore.io";
45 license = licenses.isc;
46 platforms = platforms.all;
47 maintainers = with maintainers; [ johnmh ];