mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
Merge pull request #291041 from marsam/update-pgagroal
pgagroal: 1.5.1 -> 1.6.0
This commit is contained in:
commit
badc23b597
29
pkgs/by-name/pg/pgagroal/package.nix
Normal file
29
pkgs/by-name/pg/pgagroal/package.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cjson, cmake, docutils, libev, openssl, systemd }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pgagroal";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "agroal";
|
||||
repo = "pgagroal";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-bgJvGJ35RdFopW88o+H1DLpG70anP197y6xrpRRrxUA=";
|
||||
};
|
||||
|
||||
patches = [ ./do-not-search-libatomic.patch ];
|
||||
|
||||
nativeBuildInputs = [ cmake docutils ];
|
||||
|
||||
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/${finalAttrs.version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
@ -1,27 +0,0 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -11987,8 +11987,6 @@ with pkgs;
|
||||
|
||||
pg_top = callPackage ../tools/misc/pg_top { };
|
||||
|
||||
pgagroal = callPackage ../development/tools/database/pgagroal { };
|
||||
|
||||
pgcenter = callPackage ../tools/misc/pgcenter { };
|
||||
|
||||
pgmetrics = callPackage ../tools/misc/pgmetrics { };
|
||||
|
Loading…
Reference in New Issue
Block a user