mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
pgbouncer: use c-ares for name resolution (#66336)
According to pgbouncer README.md file c-ares is the prefered way to resolve names for pgbouncer 1.10+: https://github.com/pgbouncer/pgbouncer/blob/master/README.md#dns-lookup-support The previous method (evdns) did not support EDNS0 and SOA lookups.
This commit is contained in:
parent
80396cf18a
commit
1c392dfcf0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, openssl, libevent }:
|
{ stdenv, fetchurl, openssl, libevent, c-ares, pkg-config }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pgbouncer-${version}";
|
name = "pgbouncer-${version}";
|
||||||
@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1m8vsxyna5grs5p0vnxf3fxxnkk9aqjf3qmr2bbkpkhlzr11986q";
|
sha256 = "1m8vsxyna5grs5p0vnxf3fxxnkk9aqjf3qmr2bbkpkhlzr11986q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libevent openssl ];
|
buildInputs = [ libevent openssl c-ares pkg-config ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://pgbouncer.github.io;
|
homepage = https://pgbouncer.github.io;
|
||||||
description = "Lightweight connection pooler for PostgreSQL";
|
description = "Lightweight connection pooler for PostgreSQL";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user