1 { lib, stdenv, fetchFromGitHub, autoconf, automake, cmake, libtool, openssl, zlib }:
3 stdenv.mkDerivation rec {
4 pname = "aerospike-server";
7 src = fetchFromGitHub {
9 repo = "aerospike-server";
11 hash = "sha256-QifZDjmveokTkEIkMF1ozcR5x4mW/JWuSzD+rtU4B1c=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ autoconf automake cmake libtool ];
16 buildInputs = [ openssl zlib ];
18 dontUseCmakeConfigure = true;
21 patchShebangs build/gen_version
22 substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
27 cp target/Linux-x86_64/bin/asd $out/bin/asd
31 description = "Flash-optimized, in-memory, NoSQL database";
33 homepage = "https://aerospike.com/";
34 license = licenses.agpl3Only;
35 platforms = [ "x86_64-linux" ];
36 maintainers = with maintainers; [ kalbasit ];