12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-DHXUhAAOmPSt4aVp93I1y69of+MEboXJBZH50mzQTm8=";
23 cargoHash = "sha256-QqwUEbWKSUuxzYjWpVpQuKZDiNib1gM2eZJ4y7XIzXY=";
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
26 darwin.apple_sdk.frameworks.Security
30 # requires network access
35 updateScript = nix-update-script { };
36 tests.version = testers.testVersion { package = pgcat; };
40 homepage = "https://github.com/postgresml/pgcat";
41 description = "PostgreSQL pooler with sharding, load balancing and failover support";
42 changelog = "https://github.com/postgresml/pgcat/releases";
43 license = with licenses; [ mit ];
44 platforms = platforms.unix;
45 maintainers = with maintainers; [ cathalmullan ];
46 mainProgram = "pgcat";