3
0
Fork 0
forked from mirrors/nixpkgs

postgresqlPackages.pgvector: 0.2.7 -> 0.3.0

This commit is contained in:
Mario Rodas 2022-10-22 04:20:00 +00:00
parent aa17c92861
commit 484f1f8330

View file

@ -1,24 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, postgresql }:
{ lib, stdenv, fetchFromGitHub, postgresql }:
stdenv.mkDerivation rec {
pname = "pgvector";
version = "0.2.7";
version = "0.3.0";
src = fetchFromGitHub {
owner = "pgvector";
repo = "pgvector";
rev = "v${version}";
sha256 = "sha256-kIgdr3+KC11Qxk1uBTmcN4dDaLIhfo/Fs898boESsBc=";
sha256 = "sha256-oKEh0Pmhue9GyBbxHrc/xWSLmUfAzCoQU6jYdJCEgm4=";
};
patches = [
# Added support for Postgres 15. Remove with the next release.
(fetchpatch {
url = "https://github.com/pgvector/pgvector/commit/c9c6b96eede7d78758ca7ca5db98bf8b24021d0f.patch";
sha256 = "sha256-hgCpGtuYmqo4Ttlpn4FBskbNdZmM1wJeMQBJZ7H923g=";
})
];
buildInputs = [ postgresql ];
installPhase = ''