Skip to content

Commit

Permalink
Merge: postgresql: 16.4 -> 17.0 (#345260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 authored Nov 14, 2024
2 parents 28bebcb + 841334f commit 2e21fa2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/ko/kore/package.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{ lib, stdenv, fetchFromGitHub, openssl, curl, postgresql, yajl }:
{ lib, stdenv, fetchFromGitHub, openssl, curl, postgresql_16, yajl }:


stdenv.mkDerivation rec {
pname = "kore";
# TODO: Check on next update whether postgresql 17 is supported.
version = "4.2.3";

src = fetchFromGitHub {
Expand All @@ -12,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-p0M2P02xwww5EnT28VnEtj5b+/jkPW3YkJMuK79vp4k=";
};

buildInputs = [ openssl curl postgresql yajl ];
buildInputs = [ openssl curl postgresql_16 yajl ];

makeFlags = [
"PREFIX=${placeholder "out"}"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/pg/pg-dump-anon/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitLab, buildGoModule, nixosTests, postgresql_17, makeWrapper }:
{ lib, fetchFromGitLab, buildGoModule, nixosTests, postgresql, makeWrapper }:

buildGoModule rec {
pname = "pg-dump-anon";
Expand All @@ -19,7 +19,7 @@ buildGoModule rec {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/pg_dump_anon \
--prefix PATH : ${lib.makeBinPath [ postgresql_17 ]}
--prefix PATH : ${lib.makeBinPath [ postgresql ]}
'';

meta = with lib; {
Expand Down
6 changes: 4 additions & 2 deletions pkgs/development/python-modules/asyncpg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@
pythonOlder,
pytest-xdist,
pytestCheckHook,
distro,
}:

buildPythonPackage rec {
pname = "asyncpg";
version = "0.29.0";
version = "0.30.0";
format = "setuptools";

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-0cSeH0T/+v2aVeGpsQFZCFnYgdY56ikiUW9dnFEtNU4=";
hash = "sha256-xVHpkoq2cHYC9EgRgX+CujxEbgGL/h06vsyLpfPqyFE=";
};

# sandboxing issues on aarch64-darwin, see https://github.com/NixOS/nixpkgs/issues/198495
Expand All @@ -34,6 +35,7 @@ buildPythonPackage rec {
postgresql
pytest-xdist
pytestCheckHook
distro
];

preCheck = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12156,8 +12156,8 @@ with pkgs;
postgresql_16_jit
postgresql_17_jit
;
postgresql = postgresql_16;
postgresql_jit = postgresql_16_jit;
postgresql = postgresql_17;
postgresql_jit = postgresql_17_jit;
postgresqlPackages = recurseIntoAttrs postgresql.pkgs;
postgresqlJitPackages = recurseIntoAttrs postgresql_jit.pkgs;
postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs;
Expand Down

0 comments on commit 2e21fa2

Please sign in to comment.