mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kore";
|
pname = "kore";
|
||||||
version = "3.3.1";
|
version = "4.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jorisvink";
|
owner = "jorisvink";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "${version}-release";
|
rev = version;
|
||||||
sha256 = "0jlvry9p1f7284cscfsg04ngbaq038yx3nz815jcr5s3d2jzps3h";
|
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
|
# added to fix build w/gcc7 and clang5
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
||||||
|
Loading…
Reference in New Issue
Block a user