Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

postgresqlPackages.pg_net: init at 0.7.2

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+33
+31
pkgs/servers/sql/postgresql/ext/pg_net.nix
··· 1 + { lib, stdenv, fetchFromGitHub, curl, postgresql }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "pg_net"; 5 + version = "0.7.2"; 6 + 7 + buildInputs = [ curl postgresql ]; 8 + 9 + src = fetchFromGitHub { 10 + owner = "supabase"; 11 + repo = pname; 12 + rev = "refs/tags/v${version}"; 13 + hash = "sha256-9Ki3fyinHTYrfckxAY0fCTlzJd9l+n7QRUV7mIWrqmc="; 14 + }; 15 + 16 + installPhase = '' 17 + mkdir -p $out/{lib,share/postgresql/extension} 18 + 19 + cp *.so $out/lib 20 + cp sql/*.sql $out/share/postgresql/extension 21 + cp *.control $out/share/postgresql/extension 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "Async networking for Postgres"; 26 + homepage = "https://github.com/supabase/pg_net"; 27 + maintainers = with maintainers; [ thoughtpolice ]; 28 + platforms = postgresql.meta.platforms; 29 + license = licenses.postgresql; 30 + }; 31 + }
+2
pkgs/servers/sql/postgresql/packages.nix
··· 48 48 49 49 pg_topn = super.callPackage ./ext/pg_topn.nix { }; 50 50 51 + pg_net = super.callPackage ./ext/pg_net.nix { }; 52 + 51 53 pgtap = super.callPackage ./ext/pgtap.nix { }; 52 54 53 55 pipelinedb = super.callPackage ./ext/pipelinedb.nix { };