Skip to content

Commit 65c9561

Browse files
samroseencima
authored andcommitted
feat: restore build-essential dep, but in nginx
1 parent 4813855 commit 65c9561

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

nix/pgbouncer.nix

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -43,49 +43,4 @@ stdenv.mkDerivation rec {
4343
maintainers = with maintainers; [ _1000101 ];
4444
platforms = platforms.all;
4545
};
46-
}{
47-
lib,
48-
stdenv,
49-
fetchurl,
50-
openssl,
51-
libevent,
52-
c-ares,
53-
pkg-config,
54-
systemd,
55-
nixosTests,
56-
}:
57-
58-
stdenv.mkDerivation rec {
59-
pname = "pgbouncer";
60-
version = "1.24.1";
61-
62-
src = fetchurl {
63-
url = "https://www.pgbouncer.org/downloads/files/${version}/${pname}-${version}.tar.gz";
64-
hash = "sha256-2nKjq6EwcodtBVo+WN1Kukpd5O1hSOcwMxhSRVmP0+A=";
65-
};
66-
67-
nativeBuildInputs = [ pkg-config ];
68-
buildInputs = [
69-
libevent
70-
openssl
71-
c-ares
72-
] ++ lib.optional stdenv.hostPlatform.isLinux systemd;
73-
enableParallelBuilding = true;
74-
configureFlags = lib.optional stdenv.hostPlatform.isLinux "--with-systemd";
75-
76-
passthru.tests = {
77-
pgbouncer = nixosTests.pgbouncer;
78-
};
79-
80-
meta = with lib; {
81-
homepage = "https://www.pgbouncer.org/";
82-
mainProgram = "pgbouncer";
83-
description = "Lightweight connection pooler for PostgreSQL";
84-
changelog = "https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_${
85-
replaceStrings [ "." ] [ "_" ] version
86-
}";
87-
license = licenses.isc;
88-
maintainers = with maintainers; [ _1000101 ];
89-
platforms = platforms.all;
90-
};
91-
}
46+
}

0 commit comments

Comments
 (0)