Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoconf,
|
|
automake,
|
|
cmake,
|
|
libtool,
|
|
openssl,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aerospike-server";
|
|
version = "8.0.0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aerospike";
|
|
repo = "aerospike-server";
|
|
rev = version;
|
|
hash = "sha256-RZqlU6vF8w/w8YZRmDV1x/X6tMQ+I1HEwx2WA3zS7mc=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
cmake
|
|
libtool
|
|
];
|
|
buildInputs = [
|
|
openssl
|
|
zlib
|
|
];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
preBuild = ''
|
|
patchShebangs build/gen_version
|
|
substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp target/Linux-x86_64/bin/asd $out/bin/asd
|
|
'';
|
|
|
|
meta = {
|
|
description = "Flash-optimized, in-memory, NoSQL database";
|
|
mainProgram = "asd";
|
|
homepage = "https://aerospike.com/";
|
|
license = lib.licenses.agpl3Only;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with lib.maintainers; [ kalbasit ];
|
|
};
|
|
}
|