forked from mirrors/nixpkgs
Merge pull request #106158 from sternenseemann/kore-4.0.0
kore: 3.3.1 → 4.0.1
This commit is contained in:
commit
9e135af77b
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue