Commit Graph

25 Commits

Author SHA1 Message Date
Stefan Frijters
eeda6cc401 postgresqlPackages.pgtap: use __structuredAttrs instead of passAsFile 2026-05-01 13:38:45 +02:00
R. Ryantm
4b6965adbf postgresqlPackages.pgtap: 1.3.3 -> 1.3.4 2025-10-11 15:45:09 +00:00
WilliButz
356d4fc91c treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
Wolfgang Walther
065fefd975 postgresqlTestHook: shutdown on failure
Previously, the user of postgresqlTestHook would have needed to set
failureHook accordingly. However, this was not a clean solution, because
postgresqlStop would also run for configure or build failures, before
the server was even started. This gave odd errors from a failed shutdown
in the log.

Now postgresqlStop is only called when it makes sense - and whenever
postgresqlTestHook is used.
2025-05-11 10:44:20 +02:00
Wolfgang Walther
72b8186ff7 postgresqlPackages: rename buildPostgresqlExtension to postgresqlBuildExtension
This is for consistency with postgresqlTestExtension and
postgresqlTestHook. Everything that is passed via postgresql's
generic.nix "packages scope" now is prefixed with "postgresql".
2025-03-18 18:17:24 +01:00
Wolfgang Walther
b2daf5353c postgresqlPackages.pgtap: modernize 2025-03-18 18:17:05 +01:00
Wolfgang Walther
7ab409bb28 postgresqlPackages: enable strictDeps 2025-02-01 19:48:27 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
e24121ec20 postgresqlPackages: replace custom installPhase with buildPostgresqlExtension helper 2024-10-29 09:55:20 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
0c979c7daf postgresql16JitPackages.pgtap: 1.3.2 -> 1.3.3 2024-04-09 01:39:31 +00:00
Mario Rodas
872bf9222a postgresqlPackages.pgtap: 1.3.1 -> 1.3.2
Diff: https://github.com/theory/pgtap/compare/v1.3.1...v1.3.2
2024-02-04 16:20:00 -05:00
Mario Rodas
fc92e8a689 postgresqlPackages.pgtap: 1.3.0 -> 1.3.1
Diff: https://github.com/theory/pgtap/compare/v1.3.0...v1.3.1
2023-12-24 04:20:00 +00:00
Mario Rodas
af11da2bae Revert "postgresql16Packages.pgtap: 1.3.0 -> 1.3.1"
This reverts commit 6f9e07dd45.
2023-12-16 13:42:57 -05:00
Mario Rodas
6f9e07dd45 postgresql16Packages.pgtap: 1.3.0 -> 1.3.1
Diff: https://github.com/theory/pgtap/compare/v1.3.0...v1.3.1
2023-09-22 04:20:00 +00:00
R. Ryantm
6d956e4410 postgresql11JitPackages.pgtap: 1.2.0 -> 1.3.0 2023-09-09 20:34:47 +00:00
R. Ryantm
83e078ecb3 postgresql11Packages.pgtap: 1.1.0 -> 1.2.0 2021-12-08 00:24:28 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
db74029e3e treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas
fe0eb2a9a7 postgresqlPackages.pgtap: 1.0.0 -> 1.1.0 2019-11-25 18:00:00 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Erlend Hamberg
80aadbec60 Install postgresql extensions under $out/share/postgresql
This fixes extensions after #62271 moved files from `$out/share` to
`$out/share/postgresql`.
2019-07-01 16:24:44 +02:00
R. RyanTM
65898a4ddb postgresqlPackages.pgtap: 0.99.0 -> 1.0.0 (#57360)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgtap/versions
2019-03-13 00:58:12 +02:00
Austin Seipp
8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00