Commit Graph

38 Commits

Author SHA1 Message Date
Sigmanificient
580127e471 postgresqlPackages.pg_auto_failover: update GitHub owner name 2026-04-30 03:19:22 +02:00
Diogo Correia
108733a2a2 postgresql18Packages: mark remaining extensions as broken
Those extensions don't support building with PostgreSQL 18, yet.

To make sure the broken status is updated on the next upgrade, they all
have version checks in the form of an evaluation warning, so that there
has be explicit action regarding its PG18 compatibility.
2025-08-09 00:05:22 +01:00
Wolfgang Walther
e1573ae30b postgresqlPackages: remove unused inputs
Thanks, deadnix.
2025-05-11 10:44:16 +02:00
Wolfgang Walther
052547291e postgresqlPackages: use finalAttrs pattern where possible 2025-04-12 21:10:55 +02:00
Wolfgang Walther
0ecb1549b4 postgresqlPackages.pg_auto_failover: 2.1 -> 2.2 2025-04-04 22:24:01 +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
2902969532 postgresqlPackages.pg_auto_failover: modernize 2025-03-18 18:16:43 +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
Wolfgang Walther
203af243af postgresql17Packages: mark remaining extensions as broken
Those extensions don't support building with PostgreSQL 17, yet.

To make sure they will show up as build failures after the next package
upgrade, they all have version checks for their own package version
included.
2024-10-27 08:35:47 +01:00
Wolfgang Walther
fa8a147338 postgresqlPackages: remove unused derivation arguments
Those had been replaced by the following a while ago:

  buildInputs = postgresql.buildInputs
2024-09-23 20:05:37 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Wolfgang Walther
5a57e16d64 postgresql.pkgs.pg_auto_failover: fix build on linux
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
2024-03-09 09:44:07 +01:00
Wolfgang Walther
a1896739f6 postgresql.pkgs: remove broken conditions for legacy versions
PostgreSQL older than v12 is not in nixpkgs anymore, so marking those as
still broken in that case doesn't make sense anymore.
2024-03-09 09:44:07 +01:00
Mario Rodas
4fbb794e87 postgresqlPackages.pg_auto_failover: 2.0 -> 2.1
Diff: https://github.com/citusdata/pg_auto_failover/compare/v2.0...v2.1

Changelog: https://github.com/citusdata/pg_auto_failover/blob/v2.1/CHANGELOG.md
2023-11-23 04:20:00 +00:00
Mario Rodas
bf960aa6bc postgresql11Packages.pg_auto_failover: fix build on Linux
ZHF: #230712
2023-05-13 04:20:00 +00:00
Mario Rodas
b8c4d2a721 postgresqlPackages.pg_auto_failover: 1.6.4 -> 2.0
https://github.com/citusdata/pg_auto_failover/releases/tag/v2.0
2022-10-06 04:20:00 +00:00
Mario Rodas
1e9b26194e postgresqlPackages.pg_auto_failover: 1.6.3 -> 1.6.4 (#168611)
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.6.4
2022-04-14 05:52:02 -05:00
Sergei Trofimovich
4752689cfb postgresqlPackages.pg_auto_failover: upstream fix for ncurses-6.3
Without the change the build fails as:

    watch.c:673:2: error: format not a string literal and no format arguments [-Werror=format-security]
      673 |  mvprintw(r, context->cols - strlen(help), help);
          |  ^~~~~~~~
2021-12-04 18:35:22 +00:00
Mario Rodas
574a1d605a postgresqlPackages.pg_auto_failover: 1.6.2 -> 1.6.3
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.6.3
2021-11-14 04:20:00 +00:00
Mario Rodas
68ed591187 postgresqlPackages.pg_auto_failover: 1.6.1 -> 1.6.2
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.6.2
2021-09-09 04:20:00 +00:00
Mario Rodas
71666a2c92 postgresqlPackages.pg_auto_failover: 1.5.2 -> 1.6.1
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.6.1
2021-07-08 04:20:00 +00:00
Mario Rodas
0d8f0cc8d4 postgresqlPackages.pg_auto_failover: 1.5.1 -> 1.5.2
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.5.2
2021-05-20 04:20:00 +00:00
Mario Rodas
78e624c7ad postgresqlPackages.pg_auto_failover: 1.4.2 -> 1.5.1
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.5.1
2021-03-25 04:20:00 +00:00
Mario Rodas
115e9de681 postgresqlPackages.pg_auto_failover: 1.4.1 -> 1.4.2
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.4.2
2021-02-04 04:20:00 +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
Mario Rodas
79b25549cf postgresqlPackages.pg_auto_failover: 1.4.0 -> 1.4.1
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.4.1
2020-12-03 04:20:00 +00:00
Mario Rodas
8e4616ce89 postgresqlPackages.pg_auto_failover: 1.3 -> 1.4.0
https://github.com/citusdata/pg_auto_failover/releases/tag/v1.4.0
2020-09-23 06:42:00 -05:00
Mario Rodas
53dd3921cd postgresqlPackages.pg_auto_failover: 1.2 -> 1.3
Changelog: https://github.com/citusdata/pg_auto_failover/releases/tag/v1.3
2020-05-05 04:20:00 -05:00
Mario Rodas
44f3de77d9 postgresqlPackages.pg_auto_failover: 1.0.6 -> 1.2 2020-03-18 04:20:00 -05:00
Mario Rodas
e86619f273 postgresqlPackages.pg_auto_failover: 1.0.5 -> 1.0.6 2020-02-18 04:20:00 -05:00
Mario Rodas
33a9a0f0f6 postgresqlPackages.pg_auto_failover: 1.0.4 -> 1.0.5 2019-11-17 22:22:22 -05:00
Mario Rodas
7c046d2b92 postgresql11Packages.pg_auto_failover: 1.0.3 -> 1.0.4 2019-09-13 04:20:00 -05:00
danbst
bd1fc9f9be postgresqlPackages: mark pg_auto_failover and pipelinedb broken for PG < 11
Marking packages broken isn't as fatal as throwing an exception. In my usecase,
I wanted to build all non-broken packages, that is:
```
nix-build -E 'with import ./.{}; with lib; flip filterAttrs postgresqlPackages (n: v: !v.meta.broken or false)'
```
2019-08-15 02:27:29 +03:00
Mario Rodas
3b43d99e70 postgresqlPackages.pg_auto_failover: 1.0.2 -> 1.0.3 2019-08-02 04:20:00 -05: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
Mario Rodas
e3156c8595 postgresqlPackages.pg_auto_failover: init at 1.0.2 2019-05-24 04:20:00 -05:00