File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 6161 } ;
6262
6363 sfcgal = pkgs . callPackage ./nix/ext/sfcgal/sfcgal.nix { } ;
64+ pg_regress = pkgs . callPackage ./nix/ext/pg_regress.nix { } ;
6465
6566 # Our list of PostgreSQL extensions which come from upstream Nixpkgs.
6667 # These are maintained upstream and can easily be used here just by
269270 #psql_16 = makePostgres "16";
270271 #psql_orioledb_16 = makeOrioleDbPostgres "16_23" postgresql_orioledb_16;
271272 sfcgal = sfcgal ;
273+ pg_regress = pg_regress ;
272274 pg_prove = pkgs . perlPackages . TAPParserSourceHandlerpgTAP ;
273275 # Start a version of the server.
274276 start-server =
Original file line number Diff line number Diff line change 1+ { lib
2+ , stdenv
3+ , postgresql
4+ } :
5+
6+ stdenv . mkDerivation {
7+ pname = "pg_regress" ;
8+ version = postgresql . version ;
9+
10+ phases = [ "installPhase" ] ;
11+
12+ installPhase = ''
13+ mkdir -p $out/bin
14+ cp ${ postgresql } /lib/pgxs/src/test/regress/pg_regress $out/bin/
15+ '' ;
16+
17+ meta = with lib ; {
18+ description = "Regression testing tool for PostgreSQL" ;
19+ homepage = "https://www.postgresql.org/" ;
20+ maintainers = with maintainers ; [ samrose ] ;
21+ platforms = postgresql . meta . platforms ;
22+ license = licenses . postgresql ;
23+ } ;
24+ }
You can’t perform that action at this time.
0 commit comments