forked from mirrors/nixpkgs
Merge pull request #234069 from jakub-pravda/questdb-package
This commit is contained in:
commit
42b97cadd8
|
@ -7109,6 +7109,12 @@
|
|||
github = "j4m3s-s";
|
||||
githubId = 9413812;
|
||||
};
|
||||
jacfal = {
|
||||
name = "Jakub Pravda";
|
||||
email = "me@jakubpravda.net";
|
||||
github = "jakub-pravda";
|
||||
githubId = 16310411;
|
||||
};
|
||||
jacg = {
|
||||
name = "Jacek Generowicz";
|
||||
email = "jacg@my-post-office.net";
|
||||
|
|
37
pkgs/servers/nosql/questdb/default.nix
Normal file
37
pkgs/servers/nosql/questdb/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ fetchurl, jdk17_headless, lib, makeWrapper, stdenv }:
|
||||
|
||||
let
|
||||
jre = jdk17_headless;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "questdb";
|
||||
version = "7.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/questdb/questdb/releases/download/${version}/questdb-${version}-no-jre-bin.tar.gz";
|
||||
sha256 = "lB3h8HRQaQwdTtxxjHNfYrDXY3UULSSrM74OCGgLoMc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/java
|
||||
cp questdb.sh $out/bin
|
||||
cp questdb.jar $out/share/java
|
||||
|
||||
ln -s $out/share/java/questdb.jar $out/bin
|
||||
wrapProgram $out/bin/questdb.sh --set JAVA_HOME "${jre}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "high-performance, open-source SQL database for applications in financial services, IoT, machine learning, DevOps and observability";
|
||||
homepage = "https://questdb.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.jacfal ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -26361,6 +26361,8 @@ with pkgs;
|
|||
|
||||
qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { };
|
||||
|
||||
questdb = callPackage ../servers/nosql/questdb { };
|
||||
|
||||
rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
|
||||
elixir = elixir_1_14;
|
||||
|
|
Loading…
Reference in a new issue