kore: 3.3.1 → 4.0.1

This commit is contained in:
sternenseemann 2020-09-09 21:43:26 +02:00
parent 6c94fd93bc
commit 48c9cc1659

View file

@ -1,19 +1,31 @@
{ stdenv, fetchFromGitHub, openssl }:
{ stdenv, fetchFromGitHub, openssl, curl, postgresql, yajl }:
stdenv.mkDerivation rec {
pname = "kore";
version = "3.3.1";
version = "4.0.1";
src = fetchFromGitHub {
owner = "jorisvink";
repo = pname;
rev = "${version}-release";
sha256 = "0jlvry9p1f7284cscfsg04ngbaq038yx3nz815jcr5s3d2jzps3h";
rev = version;
sha256 = "0186lih30zps2d4600ikafbgsml269jzpcszdggzzkdw8p628qw9";
};
buildInputs = [ openssl ];
buildInputs = [ openssl curl postgresql yajl ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
makeFlags = [
"PREFIX=${placeholder "out"}"
"ACME=1"
"CURL=1"
"TASKS=1"
"PGSQL=1"
"JSONRPC=1"
"DEBUG=1"
];
preBuild = ''
make platform.h
'';
# added to fix build w/gcc7 and clang5
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"