base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / pg / pgagroal / package.nix
blob2b89773af833d06a6c7a4bed14e4cacd11646f19
1 { lib, stdenv, fetchFromGitHub, cjson, cmake, docutils, libev, openssl, systemd }:
3 stdenv.mkDerivation (finalAttrs: {
4   pname = "pgagroal";
5   version = "1.6.0";
7   src = fetchFromGitHub {
8     owner = "agroal";
9     repo = "pgagroal";
10     rev = finalAttrs.version;
11     hash = "sha256-bgJvGJ35RdFopW88o+H1DLpG70anP197y6xrpRRrxUA=";
12   };
14   patches = [ ./do-not-search-libatomic.patch ];
16   nativeBuildInputs = [ cmake docutils ];
18   buildInputs = [ cjson libev openssl ]
19     ++ lib.optionals stdenv.hostPlatform.isLinux [ systemd ];
21   meta = with lib; {
22     description = "High-performance connection pool for PostgreSQL";
23     homepage = "https://agroal.github.io/pgagroal/";
24     changelog = "https://github.com/agroal/pgagroal/releases/tag/${finalAttrs.version}";
25     license = licenses.bsd3;
26     maintainers = [ ];
27     platforms = platforms.unix;
28   };