forked from mirrors/nixpkgs
Merge pull request #284340 from LeSuisse/aerospike-7.0.0.3
aerospike: 4.2.0.4 -> 7.0.0.3
This commit is contained in:
commit
c60cba7a3c
|
@ -1,32 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, openssl, zlib }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, cmake, libtool, openssl, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aerospike-server";
|
||||
version = "4.2.0.4";
|
||||
version = "7.0.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aerospike";
|
||||
repo = "aerospike-server";
|
||||
rev = version;
|
||||
sha256 = "1vqi3xir4l57v62q1ns3713vajxffs6crss8fpvbcs57p7ygx3s7";
|
||||
hash = "sha256-qyVfoOnWIUY1np58HtpVrKNsgiXlvdgffyMGjk+G5qI=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool ];
|
||||
nativeBuildInputs = [ autoconf automake cmake libtool ];
|
||||
buildInputs = [ openssl zlib ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs build/gen_version
|
||||
substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
|
||||
|
||||
# drop blanket -Werror
|
||||
substituteInPlace make_in/Makefile.in --replace '-Werror' ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/udf
|
||||
cp target/Linux-x86_64/bin/asd $out/bin/asd
|
||||
cp -dpR modules/lua-core/src $out/share/udf/lua
|
||||
mkdir -p $out/bin
|
||||
cp target/Linux-x86_64/bin/asd $out/bin/asd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -35,6 +33,5 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.agpl3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ kalbasit ];
|
||||
knownVulnerabilities = [ "CVE-2020-13151" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue