Merge pull request #123614 from marsam/update-pgvector
postgresqlPackages.pgvector: 0.1.2 -> 0.1.4
This commit is contained in:
commit
62b840ba3f
|
@ -2,20 +2,20 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pgvector";
|
pname = "pgvector";
|
||||||
version = "0.1.2";
|
version = "0.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ankane";
|
owner = "ankane";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1vq672ghhv0azpzgfb7azb36kbjyz9ypcly7r16lrryvjgp5lcjs";
|
sha256 = "022f56rhvzq5f6clihxg5c8kyvjp1byjipha1ni6yiqzh3wvqccq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ postgresql ];
|
buildInputs = [ postgresql ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D -t $out/lib vector.so
|
install -D -t $out/lib vector.so
|
||||||
install -D -t $out/share/postgresql/extension vector-*.sql
|
install -D -t $out/share/postgresql/extension sql/vector-*.sql
|
||||||
install -D -t $out/share/postgresql/extension vector.control
|
install -D -t $out/share/postgresql/extension vector.control
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue