Mario Rodas 2024-02-23 04:20:00 +00:00
parent edf0020d04
commit d5845a9cb8

View File

@ -1,27 +1,29 @@
{ lib, stdenv, fetchFromGitHub, cmake, docutils, libev, openssl, systemd }:
{ lib, stdenv, fetchFromGitHub, cjson, cmake, docutils, libev, openssl, systemd }:
stdenv.mkDerivation rec {
pname = "pgagroal";
version = "1.5.1";
version = "1.6.0";
src = fetchFromGitHub {
owner = "agroal";
repo = "pgagroal";
rev = version;
hash = "sha256-d6icEYlk0qnzmoP/mvSmTw16YfIYWc2WbY7sKguX7Ug=";
hash = "sha256-bgJvGJ35RdFopW88o+H1DLpG70anP197y6xrpRRrxUA=";
};
patches = [ ./do-not-search-libatomic.patch ];
nativeBuildInputs = [ cmake docutils ];
buildInputs = [ libev openssl systemd ];
buildInputs = [ cjson libev openssl ]
++ lib.optionals stdenv.isLinux [ systemd ];
meta = with lib; {
description = "High-performance connection pool for PostgreSQL";
homepage = "https://agroal.github.io/pgagroal/";
changelog = "https://github.com/agroal/pgagroal/releases/tag/${version}";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}