about summary refs log tree commit diff
path: root/pkgs/development/tools/database/pgagroal/default.nix
blob: e86e19f8f2e1c60f77e8c8e549df5d0811ff807a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchFromGitHub, cmake, docutils, libev, openssl, systemd }:

stdenv.mkDerivation rec {
  pname = "pgagroal";
  version = "1.5.1";

  src = fetchFromGitHub {
    owner = "agroal";
    repo = "pgagroal";
    rev = version;
    hash = "sha256-d6icEYlk0qnzmoP/mvSmTw16YfIYWc2WbY7sKguX7Ug=";
  };

  patches = [ ./do-not-search-libatomic.patch ];

  nativeBuildInputs = [ cmake docutils ];

  buildInputs = [ libev openssl systemd ];

  meta = with lib; {
    description = "High-performance connection pool for PostgreSQL";
    homepage = "https://agroal.github.io/pgagroal/";
    license = licenses.bsd3;
    maintainers = [ maintainers.marsam ];
    platforms = platforms.linux;
  };
}