1{
2 curl,
3 fetchFromGitHub,
4 lib,
5 postgresql,
6 postgresqlBuildExtension,
7}:
8
9postgresqlBuildExtension (finalAttrs: {
10 pname = "pg_net";
11 version = "0.19.7";
12
13 src = fetchFromGitHub {
14 owner = "supabase";
15 repo = "pg_net";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-HQiFD8vhox7SmjJIDyVnnwt8DCENKABIZTMfTjGElwU=";
18 };
19
20 buildInputs = [ curl ];
21
22 meta = {
23 description = "Async networking for Postgres";
24 homepage = "https://github.com/supabase/pg_net";
25 changelog = "https://github.com/supabase/pg_net/releases/tag/v${finalAttrs.version}";
26 maintainers = with lib.maintainers; [ thoughtpolice ];
27 platforms = postgresql.meta.platforms;
28 license = lib.licenses.postgresql;
29 };
30})