Commit graph

2447 commits

Author SHA1 Message Date
Ivan Mincik 75e7b2b097
Merge pull request #300347 from marsam/update-pgrouting
postgresqlPackages.pgrouting: 3.6.1 -> 3.6.2
2024-03-31 14:24:44 +00:00
R. Ryantm b7c2c96026 postgresql12JitPackages.plpgsql_check: 2.7.4 -> 2.7.5 2024-03-31 02:12:10 +00:00
Mario Rodas ce8a906462 postgresqlPackages.pgrouting: 3.6.1 -> 3.6.2
Diff: https://github.com/pgRouting/pgrouting/compare/v3.6.1...v3.6.2

Changelog: https://github.com/pgRouting/pgrouting/releases/tag/v3.6.2
2024-03-30 04:20:00 +00:00
R. Ryantm 334b49ce2a postgresql13Packages.lantern: 0.2.1 -> 0.2.2 2024-03-27 13:43:45 +00:00
Mario Rodas 93883e16ec
Merge pull request #299094 from marsam/add-pg_roaringbitmap
postgresqlPackages.pg_roaringbitmap: init at 0.5.4
2024-03-26 18:12:39 -05:00
Mario Rodas e4b3f3f652
Merge pull request #298190 from jopejoe1/postgresql-libversion
postgresqlPackages.pg_libversion: init at 2.0.0
2024-03-26 00:06:39 -05:00
Nick Cao 60f5ab8a3e
postgresql: enable spinlock on riscv 2024-03-25 16:15:05 -04:00
Mario Rodas 2d8a9a0bf4 postgresqlPackages.pg_roaringbitmap: init at 0.5.4 2024-03-25 04:20:00 +00:00
Weijia Wang 7c7fb17b30
Merge pull request #297065 from r-ryantm/auto-update/monetdb
monetdb: 11.49.1 -> 11.49.5
2024-03-24 23:52:58 +01:00
Yt 86de7cd867
Merge pull request #296336 from marsam/refactor-cargo-pgrx
cargo-pgrx: refactor
2024-03-23 11:51:28 +00:00
jopejoe1 b7cdcb35cb postgresqlPackages.pg_libversion: init at 2.0.0 2024-03-22 21:26:54 +01:00
Maximilian Bosch 0cf4b07939
Merge pull request #297155 from Ma27/fix-pg_anonymizer-meta
postgresqlPackages.pg_anonymizer: fix meta
2024-03-22 17:00:02 +00:00
R. Ryantm 4ace79fb70 postgresql16JitPackages.pg_uuidv7: 1.4.1 -> 1.5.0 2024-03-22 01:43:07 +00:00
Maximilian Bosch 8ec284b8c4
postgresqlPackages.pg_anonymizer: fix meta
Previously the entire `meta` section from `pg-dump-anon` was copied
over including `mainProgram` which doesn't belong here. To avoid similar
issues, fields from the meta section of pg-dump-anon are copied over
explicitly.
2024-03-19 12:25:48 +01:00
Martin Weinelt 3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
Martin Weinelt afa65506cb
Merge pull request #297084 from stuebinm/trivial-meta-mainprograms
treewide: add meta.mainProgram to (almost) all packages with a single binary
2024-03-19 03:57:54 +01: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
R. Ryantm 03b336ac2d postgresql12JitPackages.pgvector: 0.6.1 -> 0.6.2 2024-03-19 00:30:25 +00:00
R. Ryantm 32c6d3176c monetdb: 11.49.1 -> 11.49.5 2024-03-19 00:24:04 +00:00
github-actions[bot] 7c0bd382c7
Merge master into staging-next 2024-03-19 00:02:09 +00:00
Aaron Jheng 55bf02190e cockroachdb: point to cockroachdb-bin 2024-03-18 17:19:16 -05:00
github-actions[bot] 819a14ad05
Merge master into staging-next 2024-03-18 06:01:21 +00:00
Mario Rodas 65f4f042f9
Merge pull request #296520 from r-ryantm/auto-update/dolt
dolt: 1.35.3 -> 1.35.4
2024-03-17 20:55:29 -05:00
github-actions[bot] 100b3bb178
Merge master into staging-next 2024-03-17 18:00:54 +00:00
Weijia Wang 46c6aca2d9
Merge pull request #293475 from r-ryantm/auto-update/rqlite
rqlite: 8.22.1 -> 8.23.0
2024-03-17 15:05:33 +01:00
github-actions[bot] c222aba0b8
Merge master into staging-next 2024-03-17 12:01:55 +00:00
R. Ryantm e57bc699d0 dolt: 1.35.3 -> 1.35.4 2024-03-16 22:35:49 +00:00
Wolfgang Walther 01444957ba
postgresql: explain use of fetchurl for alpine patches 2024-03-16 11:52:39 +01:00
Wolfgang Walther e6bfabf366
postgresql: rename enableSystemd to systemdSupport for consistency
We have gssSupport, jitSupport and pythonSupport - but enableSystemd?

Across nixpkgs there are currently three styles commonly used, about equally
often: withX, xSupport and enableX.

Let's at least use one consistent style in this package.
2024-03-15 21:11:10 +01:00
Wolfgang Walther d7ae1c5143
postgresql: refactor to remove doInstallCheck = false
This is the default anyway.
2024-03-15 21:11:09 +01:00
Wolfgang Walther 4b6bce5c31
postgresql: refactor to remove "this" argument
This was proposed by abbradar in #150801, but left out of the follow up PR
#221851 by Ma27 to reduce the size of the diff. Compared to the initial
proposal this includes the callPackage call in the recursion, which avoids
breaking the withJIT/withoutJIT helpers.

In terms of nixpkgs, this is a pure refactor, no derivations change. However,
this makes downstream expressions like the following possible:

  (postgresql.override { jitSupport = true; }).pkgs.postgis

This would have not worked before without passing another "this" argument,
which is error prone as can be seen in this example:

  https://github.com/PostgREST/postgrest/pull/3222/files
2024-03-15 21:11:09 +01:00
Wolfgang Walther 14b3ea2789
postgresql: refactor to pass jitSupport/llvm via scope instead of passthru
This makes it less error-prone to use the llvm package in extensions, because
it will always match the package used by the postgresql derivation itself.

Previously, you could've accidentally used llvm instead of postgresql.llvm
with a different result.
2024-03-15 21:11:09 +01:00
github-actions[bot] 00729a3d21
Merge master into staging-next 2024-03-15 18:01:19 +00:00
Wolfgang Walther b301c01e31
postgresql: refactor to move musl patches into versioned .nix files
This makes it obvious that the required argument muslPatches must be passed when
creating a new version file.

Pure refactor, not changing any derivations.
2024-03-15 18:51:02 +01:00
Wolfgang Walther 82e6c4a609
postgresql: refactor to remove psqlSchema argument
The passthru attribute is still set, but automatically created from
the major version number. Fewer moving parts decrease the chance
for mistakes.
2024-03-15 18:51:02 +01:00
Wolfgang Walther a92a323a1d
postgresql: refactor to remove passthru's readline attribute
This seems to have been introduced 20 years ago in 5863d4f - but
seems to have been a copy&paste mistake from the beginning.
AFAICT, it's not used anywhere.
2024-03-15 18:51:02 +01:00
Wolfgang Walther 62635c9643
postgresql: refactor mkPackages in default.nix
Refactors some low hanging fruit in default.nix to make it easier to add new
versions later on.

Pure refactor, not changing any derivations.

This change makes it easier to add new versions in default.nix without messing
up - and also prevents us from adding version-specific arguments in default.nix
by accident in the future. Those should be put in the versioned .nix files
instead.
2024-03-15 18:51:02 +01:00
Wolfgang Walther 1d9f2bd726
postgresql: refactor to split up default.nix (2/2)
The recommended [1] structure for a package regarding versioning is to have each
version in a separate file. This commit just mechanically copies code around
without any changes.

Pure refactor, not changing any derivations.

[1]: pkgs/README.md
2024-03-15 18:51:02 +01:00
Wolfgang Walther 9af8c0a3b7
postgresql: refactor to split up default.nix (1/2)
This just renames default.nix to generic.nix, because the biggest chunk
of code should move that way in the next commit. This gives us a much
better diff for the next commit and makes rebasing **much** easier in
case of changes. This commit does not stand on its own and needs to go
in with the next commit (2/2).
2024-03-15 18:51:02 +01:00
Wolfgang Walther 4c8e7af941
postgresql: refactor to remove useless references to "self"
No need to reference self here, because llvmPackages / stdenv' are available
in that scope anyway. Pure refactor, derivations don't change.
2024-03-15 18:51:02 +01:00
Wolfgang Walther 719034f6f6
postgresql: refactor to move packages.nix to ext/default.nix (2/2)
This aligns more with the commonly used style in nixpkgs.
2024-03-15 18:51:01 +01:00
Wolfgang Walther 9ef7195e08
postgresql: refactor to move packages.nix to ext/default.nix (1/2)
This commit is split up into two commits to allow git to detect renames,
make rebasing easier and allow a working entry in .git-blame-ignore-revs.

To allow bisecting we allow evaluation on every commit by moving the extensions
into ext/ext/ first and back to ext/ with the next commit.
2024-03-15 18:50:20 +01:00
Wolfgang Walther 01463448be
postgresql: refactor to move locale-binary-path.patch into patches/
Seems to have been put in the wrong place.
2024-03-15 18:50:19 +01:00
R. Ryantm dddd27dc94 postgresqlJitPackages.plpgsql_check: 2.7.3 -> 2.7.4 2024-03-15 13:32:48 +00:00
github-actions[bot] 4aac48ff7f
Merge master into staging-next 2024-03-15 06:01:09 +00:00
Mario Rodas 72d1bae406 postgresqlPackages.pgvecto-rs: use cargo-pgrx_0_11_2 from top-level 2024-03-15 04:20:00 +00:00
Mario Rodas 6025943fa2 postgresqlPackages.timescaledb_toolkit: use cargo-pgrx_0_10_2 from top-level 2024-03-15 04:20:00 +00:00
Mario Rodas e6aefe20a1
Merge pull request #292533 from flyingcircusio/init-postgresql-anonymizer
postgresqlPackages.anonymizer: init at 1.3.1; add me & osnyx to flyingcircus team
2024-03-14 20:53:36 -05:00
R. Ryantm d5346f1f1f rqlite: 8.22.1 -> 8.23.0 2024-03-14 15:22:12 +00:00
Maximilian Bosch b4f8ebd295
postgresqlPackages.anonymizer: update description
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2024-03-14 09:50:46 +01:00