Unverified Commit 68aebddb authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

postgresqlPackages.pgvectorscale: 0.7.0 -> 0.9.0 (#458672)

parents c1651df4 30e982f4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17,4 +17,10 @@
    hash = "sha256-emNR7fXNVD9sY/Mdno7mwpH6l/7AD28cBUsFRn9je50=";
    cargoHash = "sha256-3eyBDWDoCzSU0tbab8qbjSnBkkN0oOgd7YbuyHLEHYw=";
  };

  cargo-pgrx_0_16_1 = {
    version = "0.16.1";
    hash = "sha256-AjoBr+/sEPdzbD0wLUNVm2syCySkGaFOFQ70TST1U9w=";
    cargoHash = "sha256-95DHq5GLnAqb3bbKwwaeBeKEmkfRh81ZTRaJ7L59DAg=";
  };
}
+598 −639

File changed.

Preview size limit exceeded, changes collapsed.

+7 −10
Original line number Diff line number Diff line
{
  buildPgrxExtension,
  cargo-pgrx_0_12_6,
  cargo-pgrx_0_16_1,
  postgresql,
  fetchFromGitHub,
  lib,
@@ -9,18 +9,18 @@

buildPgrxExtension (finalAttrs: {
  pname = "pgvectorscale";
  version = "0.7.0";
  version = "0.9.0";

  src = fetchFromGitHub {
    owner = "timescale";
    repo = "pgvectorscale";
    tag = finalAttrs.version;
    hash = "sha256-dy481k2SvyYXwwcsyLZSl3XlhSk9C5+4LfEfciB1DK4=";
    hash = "sha256-whGTJI73wifYkleC+aAbDV4nhwls3uFs1xKcB0zLDRo=";
  };

  doCheck = false;

  cargoHash = "sha256-CeRyDn9VhxfjWFJ1/Z/XvOUQOSnDoHHZAqgfYTeKU0o=";
  cargoHash = "sha256-uaRKUtsUdZPcrQLAixCiEphXQqdsRhi8nSfh9b3w0ao=";
  cargoPatches = [
    ./add-Cargo.lock.patch
  ];
@@ -31,7 +31,7 @@ buildPgrxExtension (finalAttrs: {
  ];

  inherit postgresql;
  cargo-pgrx = cargo-pgrx_0_12_6;
  cargo-pgrx = cargo-pgrx_0_16_1;

  passthru.tests.extension = postgresqlTestExtension {
    inherit (finalAttrs) finalPackage;
@@ -65,11 +65,8 @@ buildPgrxExtension (finalAttrs: {
  };

  meta = {
    # PostgreSQL 18 support issue upstream: https://github.com/timescale/pgvectorscale/issues/249
    # Check after next package update.
    broken =
      lib.warnIf (finalAttrs.version != "0.7.0") "Is postgresql18Packages.pgvectorscale still broken?"
        (lib.versionAtLeast postgresql.version "18");
    # Upstream removed support for PostgreSQL 13 on 0.9.0: https://github.com/timescale/pgvectorscale/releases/tag/0.9.0
    broken = lib.versionOlder postgresql.version "14";
    homepage = "https://github.com/timescale/pgvectorscale";
    teams = [ lib.teams.flyingcircus ];
    description = "Complement to pgvector for high performance, cost efficient vector search on large workloads";
+1 −0
Original line number Diff line number Diff line
@@ -5334,6 +5334,7 @@ with pkgs;
    cargo-pgrx_0_12_0_alpha_1
    cargo-pgrx_0_12_6
    cargo-pgrx_0_16_0
    cargo-pgrx_0_16_1
    cargo-pgrx
    ;