2024-06-20 14:57:18 +00:00
|
|
|
{
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "qdrant-web-ui";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "0.1.29";
|
2024-06-20 14:57:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qdrant";
|
|
|
|
repo = "qdrant-web-ui";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-06-24 18:47:55 +00:00
|
|
|
hash = "sha256-ni+78odD4PnkqlIzTpHsu16Lk6m9ql/Bq8Bm2qWxHj0=";
|
2024-06-20 14:57:18 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
npmDepsHash = "sha256-Lg4nNw6wKb5tBUPCIUbriExQs3LKsF0bCCY3S136Epk=";
|
2024-06-20 14:57:18 +00:00
|
|
|
|
|
|
|
npmBuildScript = "build-qdrant";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
cp -r dist $out
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Self-hosted web UI for Qdrant";
|
|
|
|
homepage = "https://github.com/qdrant/qdrant-web-ui";
|
|
|
|
changelog = "https://github.com/qdrant/qdrant-web-ui/releases/tag/v${version}";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ xzfc ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|