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 61
61
} ;
62
62
63
63
sfcgal = pkgs . callPackage ./nix/ext/sfcgal/sfcgal.nix { } ;
64
+ pg_regress = pkgs . callPackage ./nix/ext/pg_regress.nix { } ;
64
65
65
66
# Our list of PostgreSQL extensions which come from upstream Nixpkgs.
66
67
# These are maintained upstream and can easily be used here just by
269
270
#psql_16 = makePostgres "16";
270
271
#psql_orioledb_16 = makeOrioleDbPostgres "16_23" postgresql_orioledb_16;
271
272
sfcgal = sfcgal ;
273
+ pg_regress = pg_regress ;
272
274
pg_prove = pkgs . perlPackages . TAPParserSourceHandlerpgTAP ;
273
275
# Start a version of the server.
274
276
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